[28-Oct-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:34:48 Europe/Berlin] Session role: not set
[28-Oct-2025 11:34:48 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:34:52 Europe/Berlin] Error 2: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in /home/twpurnyc/public_html/teacher/create-assignment.php on line 175
[28-Oct-2025 11:38:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:38:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:38:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:38:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:38:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:38:10 Europe/Berlin] Session role: not set
[28-Oct-2025 11:38:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:38:41 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 11:38:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:38:41 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:38:41 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:38:41 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:38:41 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:38:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:38:41 Europe/Berlin] Session role: not set
[28-Oct-2025 11:38:41 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 10:38:46 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 11:50:10 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 11:50:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:50:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:50:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:50:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 11:50:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761643119
    [session_started_at] => 2025-10-28 10:18:39
    [login_redirect_count] => 0
)

[28-Oct-2025 11:50:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:50:10 Europe/Berlin] Session role: not set
[28-Oct-2025 11:50:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 10:50:10 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 11:16:59 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
)

[28-Oct-2025 11:16:59 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
)

[28-Oct-2025 11:16:59 UTC] Fetching videos for teacher_id: 14
[28-Oct-2025 11:16:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Oct-2025 11:16:59 UTC] Found 1 videos for teacher 14
[28-Oct-2025 11:16:59 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[28-Oct-2025 12:17:05 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 12:17:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
)

[28-Oct-2025 12:17:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:17:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
)

[28-Oct-2025 12:17:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:17:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
)

[28-Oct-2025 12:17:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:17:05 Europe/Berlin] Session role: not set
[28-Oct-2025 12:17:05 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:17:06 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 12:17:57 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 12:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:17:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:17:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:17:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:17:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:17:57 Europe/Berlin] Session role: not set
[28-Oct-2025 12:17:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:17:58 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 12:18:31 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 12:18:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:18:31 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:18:31 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:18:31 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:18:31 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:18:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:18:31 Europe/Berlin] Session role: not set
[28-Oct-2025 12:18:31 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:18:32 UTC] isLoggedIn check result: true
[28-Oct-2025 11:18:32 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:18:32 UTC] isLoggedIn check result: true
[28-Oct-2025 11:18:32 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:18:32 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:18:32 UTC] Session role: not set
[28-Oct-2025 11:18:32 UTC] Session user_role: teacher
[28-Oct-2025 11:18:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:18:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 12:19:17 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 12:19:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:17 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:19:17 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:17 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:19:17 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:19:17 Europe/Berlin] Session role: not set
[28-Oct-2025 12:19:17 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:19:17 UTC] isLoggedIn check result: true
[28-Oct-2025 11:19:17 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:19:17 UTC] isLoggedIn check result: true
[28-Oct-2025 11:19:17 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:19:17 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:19:17 UTC] Session role: not set
[28-Oct-2025 11:19:17 UTC] Session user_role: teacher
[28-Oct-2025 11:19:17 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:19:17 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 12:19:20 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[28-Oct-2025 12:19:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:19:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:19:20 Europe/Berlin] Session role: not set
[28-Oct-2025 12:19:20 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:19:20 UTC] isLoggedIn check result: true
[28-Oct-2025 11:19:20 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:19:20 UTC] isLoggedIn check result: true
[28-Oct-2025 11:19:20 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:19:20 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:19:20 UTC] Session role: not set
[28-Oct-2025 11:19:20 UTC] Session user_role: teacher
[28-Oct-2025 12:20:04 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 12:20:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:20:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:20:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:20:04 Europe/Berlin] Session role: not set
[28-Oct-2025 12:20:04 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:20:04 UTC] isLoggedIn check result: true
[28-Oct-2025 11:20:04 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:20:04 UTC] isLoggedIn check result: true
[28-Oct-2025 11:20:04 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:20:04 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:20:04 UTC] Session role: not set
[28-Oct-2025 11:20:04 UTC] Session user_role: teacher
[28-Oct-2025 11:20:04 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:20:04 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 12:20:07 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[28-Oct-2025 12:20:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:20:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:20:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:20:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:20:07 Europe/Berlin] Session role: not set
[28-Oct-2025 12:20:07 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:20:07 UTC] isLoggedIn check result: true
[28-Oct-2025 11:20:07 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:20:07 UTC] isLoggedIn check result: true
[28-Oct-2025 11:20:07 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:20:07 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:20:07 UTC] Session role: not set
[28-Oct-2025 11:20:07 UTC] Session user_role: teacher
[28-Oct-2025 12:22:25 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[28-Oct-2025 12:22:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:22:25 Europe/Berlin] Session role: not set
[28-Oct-2025 12:22:25 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:22:25 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:25 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:25 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:25 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:25 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:22:25 UTC] Session role: not set
[28-Oct-2025 11:22:25 UTC] Session user_role: teacher
[28-Oct-2025 12:22:27 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 12:22:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:22:27 Europe/Berlin] Session role: not set
[28-Oct-2025 12:22:27 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:22:28 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:28 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:28 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:22:28 UTC] Session role: not set
[28-Oct-2025 11:22:28 UTC] Session user_role: teacher
[28-Oct-2025 11:22:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:22:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:22:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 12:22:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 12:22:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 12:22:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 12:22:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 12:22:42 Europe/Berlin] Session role: not set
[28-Oct-2025 12:22:42 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 11:22:42 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:42 UTC] isLoggedIn check result: true
[28-Oct-2025 11:22:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761650219
    [session_started_at] => 2025-10-28 12:16:59
    [login_redirect_count] => 0
)

[28-Oct-2025 11:22:42 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 11:22:42 UTC] Session role: not set
[28-Oct-2025 11:22:42 UTC] Session user_role: teacher
[28-Oct-2025 11:22:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:22:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 11:22:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 12:17:44 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
)

[28-Oct-2025 12:17:44 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
)

[28-Oct-2025 12:17:44 UTC] Fetching videos for teacher_id: 14
[28-Oct-2025 12:17:44 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Oct-2025 12:17:44 UTC] Found 1 videos for teacher 14
[28-Oct-2025 12:17:44 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[28-Oct-2025 13:18:00 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
)

[28-Oct-2025 13:18:00 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:18:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
)

[28-Oct-2025 13:18:00 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:18:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
)

[28-Oct-2025 13:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:18:00 Europe/Berlin] Session role: not set
[28-Oct-2025 13:18:00 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:18:00 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:18:06 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 13:18:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:18:06 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:18:06 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:18:06 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:18:06 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:18:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:18:06 Europe/Berlin] Session role: not set
[28-Oct-2025 13:18:06 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:18:06 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/view-submissions.php:31
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/view-submissions.php on line 31
[28-Oct-2025 13:24:04 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 13:24:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:24:04 Europe/Berlin] Session role: not set
[28-Oct-2025 13:24:04 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:24:05 UTC] Error in view-submissions.php: Assignment query prepare failed: Unknown column 's.score' in 'field list'
[28-Oct-2025 13:24:05 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:24:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:24:05 Europe/Berlin] Session role: not set
[28-Oct-2025 13:24:05 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:24:05 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:24:10 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 13:24:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:24:10 Europe/Berlin] Session role: not set
[28-Oct-2025 13:24:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:24:10 UTC] Error in view-submissions.php: Assignment query prepare failed: Unknown column 's.score' in 'field list'
[28-Oct-2025 13:24:10 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:24:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:24:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:24:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:24:10 Europe/Berlin] Session role: not set
[28-Oct-2025 13:24:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:24:10 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:27:51 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:27:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:51 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:51 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:51 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:51 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:27:51 Europe/Berlin] Session role: not set
[28-Oct-2025 13:27:51 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:27:51 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:27:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:27:54 Europe/Berlin] Session role: not set
[28-Oct-2025 13:27:54 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:27:54 UTC] Error in view-submissions.php: Assignment query prepare failed: Unknown column 's.score' in 'field list'
[28-Oct-2025 13:27:55 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:27:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:27:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:27:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:27:55 Europe/Berlin] Session role: not set
[28-Oct-2025 13:27:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:27:55 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:29:35 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:29:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:29:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:29:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:29:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:29:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:29:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:29:35 Europe/Berlin] Session role: not set
[28-Oct-2025 13:29:35 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:29:35 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:29:39 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:29:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:29:39 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:29:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:29:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:29:39 Europe/Berlin] Session role: not set
[28-Oct-2025 13:29:39 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:32:49 Europe/Berlin] Session role: not set
[28-Oct-2025 13:32:49 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 13:38:12 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:12 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:38:12 Europe/Berlin] Session role: not set
[28-Oct-2025 13:38:12 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 13:38:39 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 13:38:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:39 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:39 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:38:39 Europe/Berlin] Session role: not set
[28-Oct-2025 13:38:39 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:38:40 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 13:38:58 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:58 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:38:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:38:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:38:58 Europe/Berlin] Session role: not set
[28-Oct-2025 13:38:58 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 13:48:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:48:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:48:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 13:48:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 13:48:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 13:48:42 Europe/Berlin] Session role: not set
[28-Oct-2025 13:48:42 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 12:48:42 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:32:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:32:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:32:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:32:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:32:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:32:29 Europe/Berlin] Session role: not set
[28-Oct-2025 15:32:29 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:32:31 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 515
[28-Oct-2025 15:37:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:37:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:37:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:37:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:37:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:37:21 Europe/Berlin] Session role: not set
[28-Oct-2025 15:37:21 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:37:21 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 515
[28-Oct-2025 15:37:57 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:37:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:37:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:37:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:37:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:37:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:37:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:37:57 Europe/Berlin] Session role: not set
[28-Oct-2025 15:37:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:37:58 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:40:40 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:40:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:40:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:40:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:40:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:40:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:40:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:40:40 Europe/Berlin] Session role: not set
[28-Oct-2025 15:40:40 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:40:40 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:42:46 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:42:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:42:46 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:42:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:42:46 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:42:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:42:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:42:46 Europe/Berlin] Session role: not set
[28-Oct-2025 15:42:46 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:42:47 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:46:21 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:46:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:46:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:46:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:46:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:46:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:46:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:46:21 Europe/Berlin] Session role: not set
[28-Oct-2025 15:46:21 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:46:22 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:47:55 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:47:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:47:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:47:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:47:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:47:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:47:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:47:55 Europe/Berlin] Session role: not set
[28-Oct-2025 15:47:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:47:57 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 14:47:57 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function str_ends_with() in /home/twpurnyc/public_html/teacher/view-submissions.php:522
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/view-submissions.php on line 522
[28-Oct-2025 15:48:53 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:48:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:48:53 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:48:53 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:48:53 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:48:53 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:48:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:48:53 Europe/Berlin] Session role: not set
[28-Oct-2025 15:48:53 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:48:53 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:50:10 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 15:50:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:50:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:50:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:50:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 15:50:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761653863
    [session_started_at] => 2025-10-28 13:17:44
    [login_redirect_count] => 0
)

[28-Oct-2025 15:50:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 15:50:10 Europe/Berlin] Session role: not set
[28-Oct-2025 15:50:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 14:50:12 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 15:10:32 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
)

[28-Oct-2025 15:10:32 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
)

[28-Oct-2025 15:10:32 UTC] Fetching videos for teacher_id: 14
[28-Oct-2025 15:10:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Oct-2025 15:10:32 UTC] Found 1 videos for teacher 14
[28-Oct-2025 15:10:32 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[28-Oct-2025 16:10:36 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 16:10:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
)

[28-Oct-2025 16:10:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:10:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
)

[28-Oct-2025 16:10:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:10:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
)

[28-Oct-2025 16:10:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:10:36 Europe/Berlin] Session role: not set
[28-Oct-2025 16:10:36 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:10:36 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 16:10:40 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:10:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:10:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:10:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:10:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:10:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:10:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:10:40 Europe/Berlin] Session role: not set
[28-Oct-2025 16:10:40 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:10:40 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 16:11:14 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:11:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:11:14 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:11:14 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:11:14 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:11:14 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:11:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:11:14 Europe/Berlin] Session role: not set
[28-Oct-2025 16:11:14 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:11:14 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 16:13:03 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:13:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:13:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:13:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:13:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:13:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:13:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:13:03 Europe/Berlin] Session role: not set
[28-Oct-2025 16:13:03 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:13:03 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 16:14:57 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:14:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:14:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:14:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:14:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:14:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:14:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:14:57 Europe/Berlin] Session role: not set
[28-Oct-2025 16:14:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:14:58 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 476
[28-Oct-2025 16:15:30 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:15:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:15:30 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:15:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:15:30 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:15:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:15:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:15:30 Europe/Berlin] Session role: not set
[28-Oct-2025 16:15:30 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:15:31 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/view-submissions.php:103
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/view-submissions.php on line 103
[28-Oct-2025 16:18:20 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:18:20 Europe/Berlin] Session role: not set
[28-Oct-2025 16:18:20 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:18:21 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:18:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:18:21 Europe/Berlin] Session role: not set
[28-Oct-2025 16:18:21 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:18:21 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:18:34 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:18:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:34 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:34 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:18:34 Europe/Berlin] Session role: not set
[28-Oct-2025 16:18:34 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:18:35 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:18:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:18:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:18:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:18:35 Europe/Berlin] Session role: not set
[28-Oct-2025 16:18:35 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:18:35 UTC] Error 8: Undefined index: score in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:29:10 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:29:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:29:10 Europe/Berlin] Session role: not set
[28-Oct-2025 16:29:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:29:12 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:29:29 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:29:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:29:29 Europe/Berlin] Session role: not set
[28-Oct-2025 16:29:29 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:29:32 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:29:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:32 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:32 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:32 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:29:32 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:29:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:29:32 Europe/Berlin] Session role: not set
[28-Oct-2025 16:29:32 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:29:32 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:30:21 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:30:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:30:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:30:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:30:21 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:30:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:30:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:30:21 Europe/Berlin] Session role: not set
[28-Oct-2025 16:30:21 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:30:23 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:31:01 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:31:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:01 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:31:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:01 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:31:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:31:01 Europe/Berlin] Session role: not set
[28-Oct-2025 16:31:01 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:31:05 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:31:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:31:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:31:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:31:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:31:05 Europe/Berlin] Session role: not set
[28-Oct-2025 16:31:05 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:31:05 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 481
[28-Oct-2025 16:36:45 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:36:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:45 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:45 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:36:45 Europe/Berlin] Session role: not set
[28-Oct-2025 16:36:45 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:36:49 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 523
[28-Oct-2025 16:36:55 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:36:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:36:55 Europe/Berlin] Session role: not set
[28-Oct-2025 16:36:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:36:55 UTC] POST data received: Array
(
    [action] => update_score
    [student_id] => 15
    [score] => 56
    [feedback] => 3
)

[28-Oct-2025 15:36:55 UTC] Processing grade update - Student ID: 15, Score: 56, Assignment ID: 41
[28-Oct-2025 15:36:55 UTC] Grade update executed. Affected rows: 1
[28-Oct-2025 16:36:57 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:36:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:36:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:36:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:36:57 Europe/Berlin] Session role: not set
[28-Oct-2025 16:36:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:36:57 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 523
[28-Oct-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 16:41:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 16:41:10 Europe/Berlin] Session role: not set
[28-Oct-2025 16:41:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 15:41:12 UTC] Error 8: Undefined index: grade in /home/twpurnyc/public_html/teacher/view-submissions.php on line 523
[28-Oct-2025 17:23:11 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:23:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:23:11 Europe/Berlin] Session role: not set
[28-Oct-2025 17:23:11 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:23:29 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 17:23:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:29 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:23:29 Europe/Berlin] Session role: not set
[28-Oct-2025 17:23:29 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:23:29 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 17:23:35 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:23:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:23:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:23:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:23:35 Europe/Berlin] Session role: not set
[28-Oct-2025 17:23:35 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:25:37 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:25:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:37 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:25:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:37 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:25:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:25:37 Europe/Berlin] Session role: not set
[28-Oct-2025 17:25:37 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:25:46 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:25:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:46 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:25:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:46 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:25:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:25:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:25:46 Europe/Berlin] Session role: not set
[28-Oct-2025 17:25:46 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 16:25:46 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/grades.php:64
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/grades.php on line 64
[28-Oct-2025 17:27:40 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:27:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:27:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:27:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:27:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:27:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:27:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:27:40 Europe/Berlin] Session role: not set
[28-Oct-2025 17:27:40 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:33:26 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:33:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:33:26 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:33:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:33:26 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:33:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:33:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:33:26 Europe/Berlin] Session role: not set
[28-Oct-2025 17:33:26 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:35:02 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:35:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:02 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:35:02 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:02 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:35:02 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:35:02 Europe/Berlin] Session role: not set
[28-Oct-2025 17:35:02 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:35:11 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:35:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:35:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:35:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:35:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:35:11 Europe/Berlin] Session role: not set
[28-Oct-2025 17:35:11 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:57 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:37:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:37:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:37:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:37:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:37:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:37:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:37:57 Europe/Berlin] Session role: not set
[28-Oct-2025 17:37:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:38:11 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:38:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:38:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:38:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:38:11 Europe/Berlin] Session role: not set
[28-Oct-2025 17:38:11 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:38:19 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:38:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:19 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:38:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:19 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:38:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:38:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:38:19 Europe/Berlin] Session role: not set
[28-Oct-2025 17:38:19 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:41:03 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:41:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:41:03 Europe/Berlin] Session role: not set
[28-Oct-2025 17:41:03 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:41:15 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:41:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:15 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:15 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:41:15 Europe/Berlin] Session role: not set
[28-Oct-2025 17:41:15 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:41:27 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 17:41:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:41:27 Europe/Berlin] Session role: not set
[28-Oct-2025 17:41:27 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:41:35 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:41:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:41:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:41:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:41:35 Europe/Berlin] Session role: not set
[28-Oct-2025 17:41:35 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:56:40 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 17:56:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:56:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:56:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:56:40 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 17:56:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:56:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:56:40 Europe/Berlin] Session role: not set
[28-Oct-2025 17:56:40 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:05:54 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:05:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:05:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:05:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:05:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:05:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:05:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:05:54 Europe/Berlin] Session role: not set
[28-Oct-2025 18:05:54 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:06:36 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:06:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:06:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:06:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:06:36 Europe/Berlin] Session role: not set
[28-Oct-2025 18:06:36 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:06:36 UTC] POST data received: Array
(
    [action] => update_score
    [student_id] => 15
    [score] => 76
    [feedback] => 3
)

[28-Oct-2025 17:06:36 UTC] Processing grade update - Student ID: 15, Score: 76, Assignment ID: 41
[28-Oct-2025 17:06:36 UTC] Grade update executed. Affected rows: 1
[28-Oct-2025 18:06:37 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:06:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:37 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:06:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:37 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:06:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:06:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:06:37 Europe/Berlin] Session role: not set
[28-Oct-2025 18:06:37 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:07:10 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:07:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:07:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:07:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:07:10 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:07:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:07:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:07:10 Europe/Berlin] Session role: not set
[28-Oct-2025 18:07:10 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:08:02 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:08:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:08:02 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:08:02 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:08:02 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:08:02 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:08:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:08:02 Europe/Berlin] Session role: not set
[28-Oct-2025 18:08:02 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:09:28 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 18:09:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:09:28 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:09:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:09:28 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:09:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:09:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:09:28 Europe/Berlin] Session role: not set
[28-Oct-2025 18:09:28 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:09:29 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 18:10:07 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:10:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:10:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:10:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:10:07 Europe/Berlin] Session role: not set
[28-Oct-2025 18:10:07 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:10:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Oct-2025 18:10:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:10:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:10:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:10:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:10:55 Europe/Berlin] Session role: not set
[28-Oct-2025 18:10:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:10:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 17:10:57 UTC] DEBUG: Teacher ID = 14
[28-Oct-2025 17:10:57 UTC] DEBUG: Courses found = 1
[28-Oct-2025 17:10:57 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 12
            [title] => Computer science
        )

)

[28-Oct-2025 17:11:11 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:11:11 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:11:13 UTC] Fetching videos for teacher_id: 14
[28-Oct-2025 17:11:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Oct-2025 17:11:13 UTC] Found 1 videos for teacher 14
[28-Oct-2025 17:11:13 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[28-Oct-2025 18:15:25 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 18:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:15:25 Europe/Berlin] Session role: not set
[28-Oct-2025 18:15:25 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:15:31 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 18:15:42 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:15:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:42 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:15:42 Europe/Berlin] Session role: not set
[28-Oct-2025 18:15:42 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:15:55 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:15:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:15:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:15:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:15:55 Europe/Berlin] Session role: not set
[28-Oct-2025 18:15:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:16:07 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:16:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:16:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:16:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:16:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:16:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:16:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:16:07 Europe/Berlin] Session role: not set
[28-Oct-2025 18:16:07 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:18:27 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:18:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:27 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:18:27 Europe/Berlin] Session role: not set
[28-Oct-2025 18:18:27 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:18:35 Europe/Berlin] Teacher Auth Check - Script: grades.php
[28-Oct-2025 18:18:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:35 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:18:35 Europe/Berlin] Session role: not set
[28-Oct-2025 18:18:35 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:18:55 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:18:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:55 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:18:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:18:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:18:55 Europe/Berlin] Session role: not set
[28-Oct-2025 18:18:55 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:19:13 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:19:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:13 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:19:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:13 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:19:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:19:13 Europe/Berlin] Session role: not set
[28-Oct-2025 18:19:13 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:19:50 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:19:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:50 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:19:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:50 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:19:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:19:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:19:50 Europe/Berlin] Session role: not set
[28-Oct-2025 18:19:50 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:20:04 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:20:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:20:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:20:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:20:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:20:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:20:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:20:04 Europe/Berlin] Session role: not set
[28-Oct-2025 18:20:04 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:23:20 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:23:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:23:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:23:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:23:20 Europe/Berlin] Session role: not set
[28-Oct-2025 18:23:20 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:23:33 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:23:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:33 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:23:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:33 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:23:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:23:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:23:33 Europe/Berlin] Session role: not set
[28-Oct-2025 18:23:33 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:26:57 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:26:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:26:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:26:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:26:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:26:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:26:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:26:57 Europe/Berlin] Session role: not set
[28-Oct-2025 18:26:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:27:05 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:27:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:05 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:27:05 Europe/Berlin] Session role: not set
[28-Oct-2025 18:27:05 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:27:05 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:27:05 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:27:05 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:27:05 UTC] File exists: YES
[28-Oct-2025 18:27:22 Europe/Berlin] Teacher Auth Check - Script: test_teacher_feedback.php
[28-Oct-2025 18:27:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:22 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:22 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:22 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:22 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:27:22 Europe/Berlin] Session role: not set
[28-Oct-2025 18:27:22 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:27:43 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:27:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:43 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:43 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:27:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:27:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:27:43 Europe/Berlin] Session role: not set
[28-Oct-2025 18:27:43 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:28:13 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:28:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:28:13 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:28:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:28:13 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:28:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:28:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:28:13 Europe/Berlin] Session role: not set
[28-Oct-2025 18:28:13 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:28:19 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:28:19 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:28:19 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:28:19 UTC] File exists: YES
[28-Oct-2025 18:29:56 Europe/Berlin] Teacher Auth Check - Script: test_image_view.php
[28-Oct-2025 18:29:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:56 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:56 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:29:56 Europe/Berlin] Session role: not set
[28-Oct-2025 18:29:56 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:29:57 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:29:57 Europe/Berlin] Session role: not set
[28-Oct-2025 18:29:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:29:57 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:29:57 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:57 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:57 UTC] File exists: YES
[28-Oct-2025 18:29:57 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:29:57 Europe/Berlin] Session role: not set
[28-Oct-2025 18:29:57 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:29:57 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:29:57 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:57 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:57 UTC] File exists: YES
[28-Oct-2025 18:29:58 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:29:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:58 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:58 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:29:58 Europe/Berlin] Session role: not set
[28-Oct-2025 18:29:58 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:29:58 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:29:58 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:58 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:58 UTC] File exists: YES
[28-Oct-2025 18:29:59 Europe/Berlin] Teacher Auth Check - Script: download_teacher_feedback.php
[28-Oct-2025 18:29:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:59 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:59 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:59 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:29:59 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:29:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:29:59 Europe/Berlin] Session role: not set
[28-Oct-2025 18:29:59 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:29:59 UTC] Teacher feedback download attempt:
[28-Oct-2025 17:29:59 UTC] File name: teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:59 UTC] File path: /home/twpurnyc/public_html/teacher/../uploads/teacher_feedback/teacher_feedback_41_15_1761671196_0.jpeg
[28-Oct-2025 17:29:59 UTC] File exists: YES
[28-Oct-2025 18:32:07 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:32:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:32:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:07 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:32:07 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:32:07 Europe/Berlin] Session role: not set
[28-Oct-2025 18:32:07 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:32:11 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:32:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:32:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:11 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:32:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:32:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:32:11 Europe/Berlin] Session role: not set
[28-Oct-2025 18:32:11 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:35:04 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:35:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:35:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:35:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:35:04 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:35:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:35:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:35:04 Europe/Berlin] Session role: not set
[28-Oct-2025 18:35:04 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:36:54 Europe/Berlin] Teacher Auth Check - Script: view-submissions.php
[28-Oct-2025 18:36:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:36:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:36:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:36:54 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:36:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:36:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:36:54 Europe/Berlin] Session role: not set
[28-Oct-2025 18:36:54 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 18:37:25 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Oct-2025 18:37:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:25 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:37:25 Europe/Berlin] Session role: not set
[28-Oct-2025 18:37:25 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:25 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:37:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Oct-2025 18:37:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:28 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:28 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:37:28 Europe/Berlin] Session role: not set
[28-Oct-2025 18:37:28 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:28 UTC] DB Connection Status: Connected
[28-Oct-2025 17:37:28 UTC] User with ID 14 found
[28-Oct-2025 17:37:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:37:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Oct-2025 18:37:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:36 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:37:36 Europe/Berlin] Session role: not set
[28-Oct-2025 18:37:36 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:36 UTC] DB Connection Status: Connected
[28-Oct-2025 17:37:36 UTC] User with ID 14 found
[28-Oct-2025 17:37:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:37:43 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Oct-2025 18:37:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:43 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:43 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:37:43 Europe/Berlin] Session role: not set
[28-Oct-2025 18:37:43 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:43 UTC] DB Connection Status: Connected
[28-Oct-2025 17:37:43 UTC] User with ID 14 found
[28-Oct-2025 17:37:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:37:49 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Oct-2025 18:37:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:49 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:49 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:37:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:37:49 Europe/Berlin] Session role: not set
[28-Oct-2025 18:37:49 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:37:49 UTC] DB Connection Status: Connected
[28-Oct-2025 17:37:49 UTC] User with ID 14 found
[28-Oct-2025 17:37:49 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:38:14 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Oct-2025 18:38:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:14 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:38:14 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:14 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:38:14 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:38:14 Europe/Berlin] Session role: not set
[28-Oct-2025 18:38:14 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:38:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:38:20 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Oct-2025 18:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:38:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:20 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:38:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:38:20 Europe/Berlin] Session role: not set
[28-Oct-2025 18:38:20 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:38:20 UTC] DB Connection Status: Connected
[28-Oct-2025 17:38:20 UTC] User with ID 14 found
[28-Oct-2025 17:38:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:39:03 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Oct-2025 18:39:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:03 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:03 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:39:03 Europe/Berlin] Session role: not set
[28-Oct-2025 18:39:03 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:39:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Oct-2025 18:39:12 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[28-Oct-2025 18:39:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:12 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:12 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:39:12 Europe/Berlin] Session role: not set
[28-Oct-2025 18:39:12 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:39:12 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[28-Oct-2025 18:39:19 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[28-Oct-2025 18:39:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:19 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:19 Europe/Berlin] isLoggedIn check result: true
[28-Oct-2025 18:39:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 18:39:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 18:39:19 Europe/Berlin] Session role: not set
[28-Oct-2025 18:39:19 Europe/Berlin] Session user_role: teacher
[28-Oct-2025 17:39:19 UTC] isLoggedIn check result: true
[28-Oct-2025 17:39:19 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:39:19 UTC] isLoggedIn check result: true
[28-Oct-2025 17:39:19 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761664231
    [session_started_at] => 2025-10-28 16:10:32
    [login_redirect_count] => 0
)

[28-Oct-2025 17:39:19 UTC] hasPermission check - Required: teacher, User: teacher
[28-Oct-2025 17:39:19 UTC] Session role: not set
[28-Oct-2025 17:39:19 UTC] Session user_role: teacher
[28-Oct-2025 17:39:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 17:39:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[28-Oct-2025 17:39:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:09:06 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
)

[29-Oct-2025 09:09:06 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
)

[29-Oct-2025 09:09:06 UTC] Fetching videos for teacher_id: 14
[29-Oct-2025 09:09:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Oct-2025 09:09:06 UTC] Found 1 videos for teacher 14
[29-Oct-2025 09:09:06 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[29-Oct-2025 10:09:13 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[29-Oct-2025 10:09:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
)

[29-Oct-2025 10:09:13 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:09:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
)

[29-Oct-2025 10:09:13 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:09:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
)

[29-Oct-2025 10:09:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:09:13 Europe/Berlin] Session role: not set
[29-Oct-2025 10:09:13 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:09:13 UTC] isLoggedIn check result: true
[29-Oct-2025 09:09:13 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:09:13 UTC] isLoggedIn check result: true
[29-Oct-2025 09:09:13 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:09:13 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:09:13 UTC] Session role: not set
[29-Oct-2025 09:09:13 UTC] Session user_role: teacher
[29-Oct-2025 09:09:14 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:09:14 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:09:14 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 10:09:20 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:09:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:09:20 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:09:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:09:20 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:09:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:09:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:09:20 Europe/Berlin] Session role: not set
[29-Oct-2025 10:09:20 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:09:20 UTC] isLoggedIn check result: true
[29-Oct-2025 09:09:20 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:09:20 UTC] isLoggedIn check result: true
[29-Oct-2025 09:09:20 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:09:20 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:09:20 UTC] Session role: not set
[29-Oct-2025 09:09:20 UTC] Session user_role: teacher
[29-Oct-2025 10:15:54 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:15:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:54 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:15:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:54 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:15:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:15:54 Europe/Berlin] Session role: not set
[29-Oct-2025 10:15:54 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:15:54 UTC] isLoggedIn check result: true
[29-Oct-2025 09:15:54 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:15:54 UTC] isLoggedIn check result: true
[29-Oct-2025 09:15:54 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:15:54 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:15:54 UTC] Session role: not set
[29-Oct-2025 09:15:54 UTC] Session user_role: teacher
[29-Oct-2025 10:15:57 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:15:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:57 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:15:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:57 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:15:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:15:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:15:57 Europe/Berlin] Session role: not set
[29-Oct-2025 10:15:57 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:15:57 UTC] isLoggedIn check result: true
[29-Oct-2025 09:15:57 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:15:57 UTC] isLoggedIn check result: true
[29-Oct-2025 09:15:57 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:15:57 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:15:57 UTC] Session role: not set
[29-Oct-2025 09:15:57 UTC] Session user_role: teacher
[29-Oct-2025 10:18:34 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:18:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:18:34 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:18:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:18:34 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:18:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:18:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:18:34 Europe/Berlin] Session role: not set
[29-Oct-2025 10:18:34 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:18:35 UTC] isLoggedIn check result: true
[29-Oct-2025 09:18:35 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:18:35 UTC] isLoggedIn check result: true
[29-Oct-2025 09:18:35 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:18:35 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:18:35 UTC] Session role: not set
[29-Oct-2025 09:18:35 UTC] Session user_role: teacher
[29-Oct-2025 10:25:01 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:25:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:01 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:25:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:01 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:25:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:25:01 Europe/Berlin] Session role: not set
[29-Oct-2025 10:25:01 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:25:01 UTC] isLoggedIn check result: true
[29-Oct-2025 09:25:01 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:25:01 UTC] isLoggedIn check result: true
[29-Oct-2025 09:25:01 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:25:01 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:25:01 UTC] Session role: not set
[29-Oct-2025 09:25:01 UTC] Session user_role: teacher
[29-Oct-2025 10:25:38 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[29-Oct-2025 10:25:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:38 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:25:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:38 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:25:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 10:25:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:25:38 Europe/Berlin] Session role: not set
[29-Oct-2025 10:25:38 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:25:38 UTC] isLoggedIn check result: true
[29-Oct-2025 09:25:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:25:38 UTC] isLoggedIn check result: true
[29-Oct-2025 09:25:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761728946
    [session_started_at] => 2025-10-29 10:09:06
    [login_redirect_count] => 0
)

[29-Oct-2025 09:25:38 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:25:38 UTC] Session role: not set
[29-Oct-2025 09:25:38 UTC] Session user_role: teacher
[29-Oct-2025 09:26:28 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
)

[29-Oct-2025 09:26:28 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
)

[29-Oct-2025 09:26:29 UTC] Fetching videos for teacher_id: 14
[29-Oct-2025 09:26:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Oct-2025 09:26:29 UTC] Found 1 videos for teacher 14
[29-Oct-2025 09:26:29 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[29-Oct-2025 10:26:40 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[29-Oct-2025 10:26:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
)

[29-Oct-2025 10:26:40 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
)

[29-Oct-2025 10:26:40 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
)

[29-Oct-2025 10:26:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:26:40 Europe/Berlin] Session role: not set
[29-Oct-2025 10:26:40 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:26:40 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:40 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:40 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:40 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:40 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:26:40 UTC] Session role: not set
[29-Oct-2025 09:26:40 UTC] Session user_role: teacher
[29-Oct-2025 09:26:40 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:40 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:40 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:40 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:40 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 10:26:46 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[29-Oct-2025 10:26:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:46 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:46 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:26:46 Europe/Berlin] Session role: not set
[29-Oct-2025 10:26:46 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:26:46 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:46 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:46 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:26:46 UTC] Session role: not set
[29-Oct-2025 09:26:46 UTC] Session user_role: teacher
[29-Oct-2025 09:26:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 10:26:52 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[29-Oct-2025 10:26:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:52 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:52 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:52 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:26:52 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 10:26:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:26:52 Europe/Berlin] Session role: not set
[29-Oct-2025 10:26:52 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:26:53 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:53 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:53 UTC] isLoggedIn check result: true
[29-Oct-2025 09:26:53 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761729988
    [session_started_at] => 2025-10-29 10:26:28
    [login_redirect_count] => 0
)

[29-Oct-2025 09:26:53 UTC] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 09:26:53 UTC] Session role: not set
[29-Oct-2025 09:26:53 UTC] Session user_role: teacher
[29-Oct-2025 09:26:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:26:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[29-Oct-2025 09:40:55 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
)

[29-Oct-2025 09:40:55 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
)

[29-Oct-2025 09:40:56 UTC] Fetching videos for teacher_id: 14
[29-Oct-2025 09:40:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Oct-2025 09:40:56 UTC] Found 1 videos for teacher 14
[29-Oct-2025 09:40:56 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[29-Oct-2025 10:43:37 Europe/Berlin] Teacher Auth Check - Script: courses.php
[29-Oct-2025 10:43:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
)

[29-Oct-2025 10:43:37 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:43:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
)

[29-Oct-2025 10:43:37 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:43:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
)

[29-Oct-2025 10:43:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:43:37 Europe/Berlin] Session role: not set
[29-Oct-2025 10:43:37 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:43:37 UTC] DB Connection Status: Connected
[29-Oct-2025 09:43:37 UTC] User with ID 14 found
[29-Oct-2025 09:43:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[29-Oct-2025 10:43:40 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[29-Oct-2025 10:43:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:43:40 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:43:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:43:40 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:43:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:43:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:43:40 Europe/Berlin] Session role: not set
[29-Oct-2025 10:43:40 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:43:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[29-Oct-2025 10:53:32 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[29-Oct-2025 10:53:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:53:32 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:53:32 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:53:32 Europe/Berlin] isLoggedIn check result: true
[29-Oct-2025 10:53:32 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761730851
    [session_started_at] => 2025-10-29 10:40:55
    [login_redirect_count] => 0
)

[29-Oct-2025 10:53:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Oct-2025 10:53:32 Europe/Berlin] Session role: not set
[29-Oct-2025 10:53:32 Europe/Berlin] Session user_role: teacher
[29-Oct-2025 09:53:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[29-Oct-2025 10:12:55 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761732775
    [session_started_at] => 2025-10-29 11:12:55
)

[29-Oct-2025 10:12:55 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761732775
    [session_started_at] => 2025-10-29 11:12:55
)

[29-Oct-2025 10:12:55 UTC] Fetching videos for teacher_id: 14
[29-Oct-2025 10:12:55 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Oct-2025 10:12:55 UTC] Found 1 videos for teacher 14
[29-Oct-2025 10:12:55 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[30-Oct-2025 07:19:22 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
)

[30-Oct-2025 07:19:22 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
)

[30-Oct-2025 07:19:22 UTC] Fetching videos for teacher_id: 14
[30-Oct-2025 07:19:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Oct-2025 07:19:22 UTC] Found 1 videos for teacher 14
[30-Oct-2025 07:19:22 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[30-Oct-2025 08:19:27 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[30-Oct-2025 08:19:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
)

[30-Oct-2025 08:19:27 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
)

[30-Oct-2025 08:19:27 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
)

[30-Oct-2025 08:19:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:19:27 Europe/Berlin] Session role: not set
[30-Oct-2025 08:19:27 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:19:27 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[30-Oct-2025 08:19:34 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[30-Oct-2025 08:19:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
    [login_redirect_count] => 0
)

[30-Oct-2025 08:19:34 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
    [login_redirect_count] => 0
)

[30-Oct-2025 08:19:34 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
    [login_redirect_count] => 0
)

[30-Oct-2025 08:19:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:19:34 Europe/Berlin] Session role: not set
[30-Oct-2025 08:19:34 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:19:34 UTC] isLoggedIn check result: true
[30-Oct-2025 07:19:34 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
    [login_redirect_count] => 0
)

[30-Oct-2025 07:19:34 UTC] isLoggedIn check result: true
[30-Oct-2025 07:19:34 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808762
    [session_started_at] => 2025-10-30 08:19:22
    [login_redirect_count] => 0
)

[30-Oct-2025 07:19:34 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:19:34 UTC] Session role: not set
[30-Oct-2025 07:19:34 UTC] Session user_role: teacher
[30-Oct-2025 07:19:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:53 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
)

[30-Oct-2025 07:19:53 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
)

[30-Oct-2025 07:19:53 UTC] Fetching videos for teacher_id: 14
[30-Oct-2025 07:19:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Oct-2025 07:19:53 UTC] Found 1 videos for teacher 14
[30-Oct-2025 07:19:53 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[30-Oct-2025 08:19:56 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[30-Oct-2025 08:19:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
)

[30-Oct-2025 08:19:56 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
)

[30-Oct-2025 08:19:56 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:19:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
)

[30-Oct-2025 08:19:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:19:56 Europe/Berlin] Session role: not set
[30-Oct-2025 08:19:56 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:19:56 UTC] isLoggedIn check result: true
[30-Oct-2025 07:19:56 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
    [login_redirect_count] => 0
)

[30-Oct-2025 07:19:56 UTC] isLoggedIn check result: true
[30-Oct-2025 07:19:56 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808792
    [session_started_at] => 2025-10-30 08:19:53
    [login_redirect_count] => 0
)

[30-Oct-2025 07:19:56 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:19:56 UTC] Session role: not set
[30-Oct-2025 07:19:56 UTC] Session user_role: teacher
[30-Oct-2025 07:19:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:19:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:01 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
)

[30-Oct-2025 07:21:01 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
)

[30-Oct-2025 07:21:01 UTC] Fetching videos for teacher_id: 14
[30-Oct-2025 07:21:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Oct-2025 07:21:01 UTC] Found 1 videos for teacher 14
[30-Oct-2025 07:21:01 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[30-Oct-2025 08:21:05 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[30-Oct-2025 08:21:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
)

[30-Oct-2025 08:21:05 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
)

[30-Oct-2025 08:21:05 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
)

[30-Oct-2025 08:21:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:21:05 Europe/Berlin] Session role: not set
[30-Oct-2025 08:21:05 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:21:05 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:05 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:05 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:05 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:05 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:21:05 UTC] Session role: not set
[30-Oct-2025 07:21:05 UTC] Session user_role: teacher
[30-Oct-2025 07:21:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 08:21:08 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[30-Oct-2025 08:21:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:08 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:08 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:21:08 Europe/Berlin] Session role: not set
[30-Oct-2025 08:21:08 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:21:08 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:08 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:08 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:08 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:08 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:21:08 UTC] Session role: not set
[30-Oct-2025 07:21:08 UTC] Session user_role: teacher
[30-Oct-2025 08:21:49 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[30-Oct-2025 08:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:49 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:49 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:21:49 Europe/Berlin] Session role: not set
[30-Oct-2025 08:21:49 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:21:49 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:49 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:49 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:49 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:49 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:21:49 UTC] Session role: not set
[30-Oct-2025 07:21:49 UTC] Session user_role: teacher
[30-Oct-2025 08:21:54 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[30-Oct-2025 08:21:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:54 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:54 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:21:54 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:21:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:21:54 Europe/Berlin] Session role: not set
[30-Oct-2025 08:21:54 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:21:54 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:54 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:54 UTC] isLoggedIn check result: true
[30-Oct-2025 07:21:54 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:21:54 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:21:54 UTC] Session role: not set
[30-Oct-2025 07:21:54 UTC] Session user_role: teacher
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:21:54 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 08:22:00 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[30-Oct-2025 08:22:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:22:00 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:22:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:22:00 Europe/Berlin] isLoggedIn check result: true
[30-Oct-2025 08:22:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 08:22:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 08:22:00 Europe/Berlin] Session role: not set
[30-Oct-2025 08:22:00 Europe/Berlin] Session user_role: teacher
[30-Oct-2025 07:22:00 UTC] isLoggedIn check result: true
[30-Oct-2025 07:22:00 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:22:00 UTC] isLoggedIn check result: true
[30-Oct-2025 07:22:00 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761808861
    [session_started_at] => 2025-10-30 08:21:01
    [login_redirect_count] => 0
)

[30-Oct-2025 07:22:00 UTC] hasPermission check - Required: teacher, User: teacher
[30-Oct-2025 07:22:00 UTC] Session role: not set
[30-Oct-2025 07:22:00 UTC] Session user_role: teacher
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[30-Oct-2025 07:22:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:31:21 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
)

[01-Nov-2025 07:31:21 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
)

[01-Nov-2025 07:31:21 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 07:31:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 07:31:21 UTC] Found 1 videos for teacher 14
[01-Nov-2025 07:31:21 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 1
            [course_id] => 12
            [teacher_id] => 14
            [title] => Web development start up
            [description] => 0
            [video_url] => uploads/videos/video_68fb9424c2b23_1761317924.mp4
            [thumbnail] => uploads/thumbnails/thumb_68fb9424f2431_1761317924.jpg
            [duration] => 0:52
            [price] => 300.00
            [views] => 0
            [likes] => 0
            [category_name] => welcome
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-10-24 14:58:45
            [updated_at] => 2025-10-24 14:58:45
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[01-Nov-2025 08:31:26 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:31:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
)

[01-Nov-2025 08:31:26 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
)

[01-Nov-2025 08:31:26 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
)

[01-Nov-2025 08:31:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:31:26 Europe/Berlin] Session role: not set
[01-Nov-2025 08:31:26 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:31:26 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:31:31 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:31:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:31 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:31 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:31 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:31 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:31:31 Europe/Berlin] Session role: not set
[01-Nov-2025 08:31:31 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:31:31 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:31:38 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:31:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:38 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:38 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:31:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:31:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:31:38 Europe/Berlin] Session role: not set
[01-Nov-2025 08:31:38 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:31:38 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:41:11 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:41:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:11 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:41:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:11 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:41:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:41:11 Europe/Berlin] Session role: not set
[01-Nov-2025 08:41:11 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:41:11 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:41:43 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:41:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:43 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:41:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:43 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:41:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:41:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:41:43 Europe/Berlin] Session role: not set
[01-Nov-2025 08:41:43 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:41:43 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:44:46 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:44:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:46 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:44:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:46 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:44:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:44:46 Europe/Berlin] Session role: not set
[01-Nov-2025 08:44:46 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:44:46 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:44:58 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:44:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:58 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:44:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:58 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:44:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:44:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:44:58 Europe/Berlin] Session role: not set
[01-Nov-2025 08:44:58 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:44:58 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:49:35 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:49:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:49:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:49:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:49:35 Europe/Berlin] Session role: not set
[01-Nov-2025 08:49:35 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:49:35 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:49:44 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:49:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:49:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:49:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:49:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:49:44 Europe/Berlin] Session role: not set
[01-Nov-2025 08:49:44 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:49:44 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:52:33 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:52:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:33 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:33 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:52:33 Europe/Berlin] Session role: not set
[01-Nov-2025 08:52:33 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:52:33 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:52:40 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:52:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:40 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:40 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:52:40 Europe/Berlin] Session role: not set
[01-Nov-2025 08:52:40 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:52:40 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:52:45 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:52:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:52:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:52:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:52:45 Europe/Berlin] Session role: not set
[01-Nov-2025 08:52:45 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:52:45 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:53:12 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:53:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:53:12 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:53:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:53:12 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:53:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:53:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:53:12 Europe/Berlin] Session role: not set
[01-Nov-2025 08:53:12 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:53:12 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:56:06 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:56:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:06 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:06 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:06 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:06 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:56:06 Europe/Berlin] Session role: not set
[01-Nov-2025 08:56:06 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:56:06 UTC] Error 8: Undefined variable: force_delete in /home/twpurnyc/public_html/teacher/assignments.php on line 110
[01-Nov-2025 07:56:06 UTC] Assignment ID: 41, Submission count in deletion: 1, Force delete: false
[01-Nov-2025 07:56:06 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:56:10 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 08:56:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:10 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:10 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:56:10 Europe/Berlin] Session role: not set
[01-Nov-2025 08:56:10 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:56:10 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 08:56:25 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 08:56:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:25 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:25 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:25 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:56:25 Europe/Berlin] Session role: not set
[01-Nov-2025 08:56:25 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:56:25 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:25 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:25 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:25 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:25 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 07:56:25 UTC] Session role: not set
[01-Nov-2025 07:56:25 UTC] Session user_role: teacher
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 08:56:36 Europe/Berlin] Teacher Auth Check - Script: edit_quiz.php
[01-Nov-2025 08:56:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:56:36 Europe/Berlin] Session role: not set
[01-Nov-2025 08:56:36 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:56:36 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:36 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:36 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:36 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:36 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 07:56:36 UTC] Session role: not set
[01-Nov-2025 07:56:36 UTC] Session user_role: teacher
[01-Nov-2025 08:56:44 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 08:56:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 08:56:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:56:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:56:44 Europe/Berlin] Session role: not set
[01-Nov-2025 08:56:44 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 07:56:44 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:44 UTC] isLoggedIn check result: true
[01-Nov-2025 07:56:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 07:56:44 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 07:56:44 UTC] Session role: not set
[01-Nov-2025 07:56:44 UTC] Session user_role: teacher
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 07:56:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 633
[01-Nov-2025 09:08:44 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:08:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:44 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:08:44 Europe/Berlin] Session role: not set
[01-Nov-2025 09:08:44 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:08:44 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:44 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:44 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:08:44 UTC] Session role: not set
[01-Nov-2025 08:08:44 UTC] Session user_role: teacher
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:08:50 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:08:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:08:50 Europe/Berlin] Session role: not set
[01-Nov-2025 09:08:50 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:08:50 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:50 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:50 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:50 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:50 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:08:50 UTC] Session role: not set
[01-Nov-2025 08:08:50 UTC] Session user_role: teacher
[01-Nov-2025 08:08:50 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:50 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:50 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:50 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:50 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:08:55 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:08:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:55 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:55 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:08:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:08:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:08:55 Europe/Berlin] Session role: not set
[01-Nov-2025 09:08:55 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:08:55 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:55 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:55 UTC] isLoggedIn check result: true
[01-Nov-2025 08:08:55 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:08:55 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:08:55 UTC] Session role: not set
[01-Nov-2025 08:08:55 UTC] Session user_role: teacher
[01-Nov-2025 08:08:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:08:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:09:00 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:09:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:00 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:00 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:00 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:00 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:00 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:09:00 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:00 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:00 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:00 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:00 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:09:00 UTC] Session role: not set
[01-Nov-2025 08:09:00 UTC] Session user_role: teacher
[01-Nov-2025 08:09:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:09:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:09:00 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:09:05 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:09:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:05 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:05 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:05 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:05 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:05 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:09:05 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:05 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:05 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:05 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:05 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:09:05 UTC] Session role: not set
[01-Nov-2025 08:09:05 UTC] Session user_role: teacher
[01-Nov-2025 08:09:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 08:09:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:09:10 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:09:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:10 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:10 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:10 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:10 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:10 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:09:10 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:10 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:10 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:10 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:10 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:09:10 UTC] Session role: not set
[01-Nov-2025 08:09:10 UTC] Session user_role: teacher
[01-Nov-2025 08:09:10 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:09:15 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 09:09:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:15 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:15 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:15 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:15 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:09:15 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:15 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:15 UTC] isLoggedIn check result: true
[01-Nov-2025 08:09:15 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 08:09:15 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 08:09:15 UTC] Session role: not set
[01-Nov-2025 08:09:15 UTC] Session user_role: teacher
[01-Nov-2025 09:09:29 Europe/Berlin] Teacher Auth Check - Script: videos.php
[01-Nov-2025 09:09:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:29 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:29 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:29 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:29 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:09:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[01-Nov-2025 09:09:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:35 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:35 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:09:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[01-Nov-2025 09:09:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:40 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:40 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:09:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761982281
    [session_started_at] => 2025-11-01 08:31:21
    [login_redirect_count] => 0
)

[01-Nov-2025 09:09:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:09:40 Europe/Berlin] Session role: not set
[01-Nov-2025 09:09:40 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:24:46 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
)

[01-Nov-2025 08:24:46 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
)

[01-Nov-2025 08:24:46 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 08:24:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 08:24:46 UTC] Found 0 videos for teacher 14
[01-Nov-2025 08:24:46 UTC] Recent videos data: Array
(
)

[01-Nov-2025 09:24:52 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 09:24:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
)

[01-Nov-2025 09:24:52 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:24:52 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
)

[01-Nov-2025 09:24:52 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:24:52 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
)

[01-Nov-2025 09:24:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:24:52 Europe/Berlin] Session role: not set
[01-Nov-2025 09:24:52 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:24:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:24:56 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 09:24:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:24:56 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:24:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:24:56 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:24:56 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:24:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:24:56 Europe/Berlin] Session role: not set
[01-Nov-2025 09:24:56 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:24:56 UTC] DB Connection Status: Connected
[01-Nov-2025 08:24:56 UTC] User with ID 14 found
[01-Nov-2025 08:24:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[01-Nov-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:25:28 Europe/Berlin] Session role: not set
[01-Nov-2025 09:25:28 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:25:28 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/analytics.php:119
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/analytics.php on line 119
[01-Nov-2025 09:25:33 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 09:25:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:33 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:33 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:33 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:25:33 Europe/Berlin] Session role: not set
[01-Nov-2025 09:25:33 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:25:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:25:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 09:25:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:25:36 Europe/Berlin] Session role: not set
[01-Nov-2025 09:25:36 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:25:36 UTC] DB Connection Status: Connected
[01-Nov-2025 08:25:36 UTC] User with ID 14 found
[01-Nov-2025 08:25:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:25:45 Europe/Berlin] Attempting to delete course_id: 12 by teacher_id: 14
[01-Nov-2025 09:25:45 Europe/Berlin] Successfully deleted course_id: 12
[01-Nov-2025 09:25:45 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 09:25:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[01-Nov-2025 09:25:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[01-Nov-2025 09:25:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[01-Nov-2025 09:25:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:25:45 Europe/Berlin] Session role: not set
[01-Nov-2025 09:25:45 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:25:45 UTC] DB Connection Status: Connected
[01-Nov-2025 08:25:45 UTC] User with ID 14 found
[01-Nov-2025 08:25:45 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:25:55 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 09:25:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:55 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:55 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:25:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:25:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:25:55 Europe/Berlin] Session role: not set
[01-Nov-2025 09:25:55 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:25:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:27:50 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 09:27:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:27:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:27:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:27:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:27:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
)

[01-Nov-2025 09:27:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:27:50 Europe/Berlin] Session role: not set
[01-Nov-2025 09:27:50 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:27:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:28:11 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 09:28:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[01-Nov-2025 09:28:11 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:28:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[01-Nov-2025 09:28:11 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 09:28:11 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761985486
    [session_started_at] => 2025-11-01 09:24:46
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[01-Nov-2025 09:28:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:28:11 Europe/Berlin] Session role: not set
[01-Nov-2025 09:28:11 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 08:28:11 UTC] DB Connection Status: Connected
[01-Nov-2025 08:28:11 UTC] User with ID 14 found
[01-Nov-2025 08:28:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:05:17 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
)

[01-Nov-2025 09:05:17 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
)

[01-Nov-2025 09:05:17 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 09:05:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 09:05:17 UTC] Found 0 videos for teacher 14
[01-Nov-2025 09:05:17 UTC] Recent videos data: Array
(
)

[01-Nov-2025 10:05:24 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:05:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
)

[01-Nov-2025 10:05:24 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:05:24 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
)

[01-Nov-2025 10:05:24 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:05:24 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
)

[01-Nov-2025 10:05:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:05:24 Europe/Berlin] Session role: not set
[01-Nov-2025 10:05:24 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:05:24 UTC] isLoggedIn check result: true
[01-Nov-2025 09:05:24 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:05:24 UTC] isLoggedIn check result: true
[01-Nov-2025 09:05:24 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:05:24 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:05:24 UTC] Session role: not set
[01-Nov-2025 09:05:24 UTC] Session user_role: teacher
[01-Nov-2025 10:05:29 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:05:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:05:29 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:05:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:05:29 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:05:29 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:05:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:05:29 Europe/Berlin] Session role: not set
[01-Nov-2025 10:05:29 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:05:29 UTC] isLoggedIn check result: true
[01-Nov-2025 09:05:29 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:05:29 UTC] isLoggedIn check result: true
[01-Nov-2025 09:05:29 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:05:29 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:05:29 UTC] Session role: not set
[01-Nov-2025 09:05:29 UTC] Session user_role: teacher
[01-Nov-2025 10:07:38 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:38 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:38 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:07:38 Europe/Berlin] Session role: not set
[01-Nov-2025 10:07:38 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:07:38 UTC] isLoggedIn check result: true
[01-Nov-2025 09:07:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:07:38 UTC] isLoggedIn check result: true
[01-Nov-2025 09:07:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 09:07:38 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:07:38 UTC] Session role: not set
[01-Nov-2025 09:07:38 UTC] Session user_role: teacher
[01-Nov-2025 10:07:46 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:07:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:46 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:46 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:07:46 Europe/Berlin] Session role: not set
[01-Nov-2025 10:07:46 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:07:46 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:07:49 Europe/Berlin] Session role: not set
[01-Nov-2025 10:07:49 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:09:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:09:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:09:45 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:09:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:09:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:09:45 Europe/Berlin] Session role: not set
[01-Nov-2025 10:09:45 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:09:50 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:09:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:09:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:09:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:09:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:09:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:09:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:09:50 Europe/Berlin] Session role: not set
[01-Nov-2025 10:09:50 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:09:50 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 10:10:04 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:10:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:04 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:04 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:10:04 Europe/Berlin] Session role: not set
[01-Nov-2025 10:10:04 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:10:05 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 10:10:13 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:13 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:13 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:10:13 Europe/Berlin] Session role: not set
[01-Nov-2025 10:10:13 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:10:13 UTC] Error 8: Undefined variable: force_delete in /home/twpurnyc/public_html/teacher/assignments.php on line 110
[01-Nov-2025 09:10:13 UTC] Assignment ID: 42, Submission count in deletion: 0, Force delete: false
[01-Nov-2025 09:10:13 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 10:10:16 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:10:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:16 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:16 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:16 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:16 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:10:16 Europe/Berlin] Session role: not set
[01-Nov-2025 10:10:16 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:10:16 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 10:10:20 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:20 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:10:20 Europe/Berlin] Session role: not set
[01-Nov-2025 10:10:20 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:11:08 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:11:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:11:08 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:11:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:11:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:11:08 Europe/Berlin] Session role: not set
[01-Nov-2025 10:11:08 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:11:13 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[01-Nov-2025 10:11:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:11:13 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:11:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:11:13 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:11:13 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761987917
    [session_started_at] => 2025-11-01 10:05:17
    [login_redirect_count] => 0
)

[01-Nov-2025 10:11:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:11:13 Europe/Berlin] Session role: not set
[01-Nov-2025 10:11:13 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:11:13 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[01-Nov-2025 09:12:11 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
)

[01-Nov-2025 09:12:11 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
)

[01-Nov-2025 09:12:11 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 09:12:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 09:12:11 UTC] Found 0 videos for teacher 14
[01-Nov-2025 09:12:11 UTC] Recent videos data: Array
(
)

[01-Nov-2025 10:12:17 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:12:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
)

[01-Nov-2025 10:12:17 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:17 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
)

[01-Nov-2025 10:12:17 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:17 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
)

[01-Nov-2025 10:12:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:12:17 Europe/Berlin] Session role: not set
[01-Nov-2025 10:12:17 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:12:17 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:17 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:17 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:17 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:17 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:12:17 UTC] Session role: not set
[01-Nov-2025 09:12:17 UTC] Session user_role: teacher
[01-Nov-2025 09:12:17 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:12:23 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:12:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:23 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:23 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:23 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:23 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:12:23 Europe/Berlin] Session role: not set
[01-Nov-2025 10:12:23 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:12:23 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:23 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:23 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:23 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:23 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:12:23 UTC] Session role: not set
[01-Nov-2025 09:12:23 UTC] Session user_role: teacher
[01-Nov-2025 09:12:23 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:12:28 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:12:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:28 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:28 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:12:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:12:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:12:28 Europe/Berlin] Session role: not set
[01-Nov-2025 10:12:28 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:12:28 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:28 UTC] isLoggedIn check result: true
[01-Nov-2025 09:12:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:12:28 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:12:28 UTC] Session role: not set
[01-Nov-2025 09:12:28 UTC] Session user_role: teacher
[01-Nov-2025 10:14:16 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:14:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:16 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:16 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:16 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:16 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:14:16 Europe/Berlin] Session role: not set
[01-Nov-2025 10:14:16 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:14:16 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:16 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:16 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:16 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:16 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:14:16 UTC] Session role: not set
[01-Nov-2025 09:14:16 UTC] Session user_role: teacher
[01-Nov-2025 10:14:21 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:14:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:21 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:21 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:14:21 Europe/Berlin] Session role: not set
[01-Nov-2025 10:14:21 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:14:21 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:21 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:21 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:21 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:21 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:14:21 UTC] Session role: not set
[01-Nov-2025 09:14:21 UTC] Session user_role: teacher
[01-Nov-2025 09:14:21 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:14:21 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:14:26 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:14:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:26 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:26 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:26 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:14:26 Europe/Berlin] Session role: not set
[01-Nov-2025 10:14:26 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:14:26 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:26 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:26 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:26 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:26 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:14:26 UTC] Session role: not set
[01-Nov-2025 09:14:26 UTC] Session user_role: teacher
[01-Nov-2025 09:14:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:14:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:14:30 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:30 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:30 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:14:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:14:30 Europe/Berlin] Session role: not set
[01-Nov-2025 10:14:30 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:14:30 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:30 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:30 UTC] isLoggedIn check result: true
[01-Nov-2025 09:14:30 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:14:30 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:14:30 UTC] Session role: not set
[01-Nov-2025 09:14:30 UTC] Session user_role: teacher
[01-Nov-2025 10:16:27 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[01-Nov-2025 10:16:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:27 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:27 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:16:27 Europe/Berlin] Session role: not set
[01-Nov-2025 10:16:27 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:16:27 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:27 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:27 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:27 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:27 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:16:27 UTC] Session role: not set
[01-Nov-2025 09:16:27 UTC] Session user_role: teacher
[01-Nov-2025 10:16:37 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:16:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:37 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:37 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:37 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:16:37 Europe/Berlin] Session role: not set
[01-Nov-2025 10:16:37 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:16:37 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:37 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:37 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:37 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:37 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:16:37 UTC] Session role: not set
[01-Nov-2025 09:16:37 UTC] Session user_role: teacher
[01-Nov-2025 09:16:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:16:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:16:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:16:43 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[01-Nov-2025 10:16:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:43 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:43 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:43 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:16:43 Europe/Berlin] Session role: not set
[01-Nov-2025 10:16:43 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:16:43 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:43 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:43 UTC] isLoggedIn check result: true
[01-Nov-2025 09:16:43 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 09:16:43 UTC] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 09:16:43 UTC] Session role: not set
[01-Nov-2025 09:16:43 UTC] Session user_role: teacher
[01-Nov-2025 09:16:43 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:16:43 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 09:16:43 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[01-Nov-2025 10:16:47 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 10:16:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:47 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:47 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:47 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:47 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:16:47 Europe/Berlin] Session role: not set
[01-Nov-2025 10:16:47 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:16:47 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 10:16:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[01-Nov-2025 10:16:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:50 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:16:50 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:16:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:16:50 Europe/Berlin] Session role: not set
[01-Nov-2025 10:16:50 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:20:58 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[01-Nov-2025 10:20:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:20:58 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:20:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:20:58 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:20:58 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:20:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:20:58 Europe/Berlin] Session role: not set
[01-Nov-2025 10:20:58 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:20:58 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 10:22:35 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[01-Nov-2025 10:22:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:22:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:22:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:22:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:22:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:22:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:22:35 Europe/Berlin] Session role: not set
[01-Nov-2025 10:22:35 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 09:22:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 09:22:35 UTC] DEBUG: Teacher ID = 14
[01-Nov-2025 09:22:35 UTC] DEBUG: Courses found = 1
[01-Nov-2025 09:22:35 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[01-Nov-2025 10:28:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[01-Nov-2025 10:28:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:28:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:28:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:28:35 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 10:28:35 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761988331
    [session_started_at] => 2025-11-01 10:12:11
    [login_redirect_count] => 0
)

[01-Nov-2025 10:28:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 10:28:35 Europe/Berlin] Session role: not set
[01-Nov-2025 10:28:35 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:30:12 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993011
    [session_started_at] => 2025-11-01 11:30:12
)

[01-Nov-2025 10:30:12 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993011
    [session_started_at] => 2025-11-01 11:30:12
)

[01-Nov-2025 10:30:12 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 10:30:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 10:30:12 UTC] Found 1 videos for teacher 14
[01-Nov-2025 10:30:12 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[01-Nov-2025 11:30:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 11:30:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993011
    [session_started_at] => 2025-11-01 11:30:12
)

[01-Nov-2025 11:30:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:30:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993011
    [session_started_at] => 2025-11-01 11:30:12
)

[01-Nov-2025 11:30:36 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:30:36 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993011
    [session_started_at] => 2025-11-01 11:30:12
)

[01-Nov-2025 11:30:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 11:30:36 Europe/Berlin] Session role: not set
[01-Nov-2025 11:30:36 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:30:36 UTC] DB Connection Status: Connected
[01-Nov-2025 10:30:36 UTC] User with ID 14 found
[01-Nov-2025 10:30:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 10:32:43 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
)

[01-Nov-2025 10:32:43 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
)

[01-Nov-2025 10:32:43 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 10:32:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 10:32:43 UTC] Found 1 videos for teacher 14
[01-Nov-2025 10:32:43 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[01-Nov-2025 11:33:01 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 11:33:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
)

[01-Nov-2025 11:33:01 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:33:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
)

[01-Nov-2025 11:33:01 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:33:01 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
)

[01-Nov-2025 11:33:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 11:33:01 Europe/Berlin] Session role: not set
[01-Nov-2025 11:33:01 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:33:01 UTC] DB Connection Status: Connected
[01-Nov-2025 10:33:01 UTC] User with ID 14 found
[01-Nov-2025 10:33:01 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[01-Nov-2025 10:33:43 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
    [login_redirect_count] => 0
)

[01-Nov-2025 10:33:43 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
    [login_redirect_count] => 0
)

[01-Nov-2025 10:33:43 UTC] Fetching videos for teacher_id: 14
[01-Nov-2025 10:33:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[01-Nov-2025 10:33:43 UTC] Found 1 videos for teacher 14
[01-Nov-2025 10:33:43 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[01-Nov-2025 11:33:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[01-Nov-2025 11:33:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
    [login_redirect_count] => 0
)

[01-Nov-2025 11:33:59 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:33:59 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
    [login_redirect_count] => 0
)

[01-Nov-2025 11:33:59 Europe/Berlin] isLoggedIn check result: true
[01-Nov-2025 11:33:59 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1761993163
    [session_started_at] => 2025-11-01 11:32:43
    [login_redirect_count] => 0
)

[01-Nov-2025 11:33:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[01-Nov-2025 11:33:59 Europe/Berlin] Session role: not set
[01-Nov-2025 11:33:59 Europe/Berlin] Session user_role: teacher
[01-Nov-2025 10:33:59 UTC] DB Connection Status: Connected
[01-Nov-2025 10:33:59 UTC] User with ID 14 found
[01-Nov-2025 10:33:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 11:07:00 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
)

[02-Nov-2025 11:07:00 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
)

[02-Nov-2025 11:07:00 UTC] Fetching videos for teacher_id: 14
[02-Nov-2025 11:07:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[02-Nov-2025 11:07:00 UTC] Found 1 videos for teacher 14
[02-Nov-2025 11:07:00 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
        )

)

[02-Nov-2025 12:07:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[02-Nov-2025 12:07:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
)

[02-Nov-2025 12:07:12 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:07:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
)

[02-Nov-2025 12:07:12 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:07:12 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
)

[02-Nov-2025 12:07:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:07:12 Europe/Berlin] Session role: not set
[02-Nov-2025 12:07:12 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:07:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 11:07:12 UTC] DEBUG: Teacher ID = 14
[02-Nov-2025 11:07:12 UTC] DEBUG: Courses found = 1
[02-Nov-2025 11:07:12 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[02-Nov-2025 12:18:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[02-Nov-2025 12:18:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:18:09 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:18:09 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:18:09 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:18:09 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:18:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:18:09 Europe/Berlin] Session role: not set
[02-Nov-2025 12:18:09 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:18:09 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 11:18:09 UTC] DEBUG: Teacher ID = 14
[02-Nov-2025 11:18:09 UTC] DEBUG: Courses found = 1
[02-Nov-2025 11:18:09 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[02-Nov-2025 12:22:21 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[02-Nov-2025 12:22:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:22:21 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:22:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:22:21 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:22:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:22:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:22:21 Europe/Berlin] Session role: not set
[02-Nov-2025 12:22:21 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:22:21 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 11:22:21 UTC] DEBUG: Teacher ID = 14
[02-Nov-2025 11:22:21 UTC] DEBUG: Courses found = 1
[02-Nov-2025 11:22:21 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[02-Nov-2025 12:24:55 Europe/Berlin] Teacher Auth Check - Script: videos.php
[02-Nov-2025 12:24:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:24:55 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:24:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:24:55 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:24:55 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762081619
    [session_started_at] => 2025-11-02 12:07:00
    [login_redirect_count] => 0
)

[02-Nov-2025 12:24:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:24:55 Europe/Berlin] Session role: not set
[02-Nov-2025 12:24:55 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:36:42 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
)

[02-Nov-2025 11:36:42 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
)

[02-Nov-2025 11:36:42 UTC] Fetching videos for teacher_id: 14
[02-Nov-2025 11:36:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[02-Nov-2025 11:36:42 UTC] Found 2 videos for teacher 14
[02-Nov-2025 11:36:42 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[02-Nov-2025 12:36:45 Europe/Berlin] Teacher Auth Check - Script: courses.php
[02-Nov-2025 12:36:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
)

[02-Nov-2025 12:36:45 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:36:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
)

[02-Nov-2025 12:36:45 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:36:45 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
)

[02-Nov-2025 12:36:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:36:45 Europe/Berlin] Session role: not set
[02-Nov-2025 12:36:45 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:36:45 UTC] DB Connection Status: Connected
[02-Nov-2025 11:36:45 UTC] User with ID 14 found
[02-Nov-2025 11:36:45 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 12:36:57 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[02-Nov-2025 12:36:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:36:57 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:36:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:36:57 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:36:57 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:36:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:36:57 Europe/Berlin] Session role: not set
[02-Nov-2025 12:36:57 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:36:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 12:37:04 Europe/Berlin] Teacher Auth Check - Script: videos.php
[02-Nov-2025 12:37:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:04 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:37:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:04 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:37:04 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:37:04 Europe/Berlin] Session role: not set
[02-Nov-2025 12:37:04 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:37:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[02-Nov-2025 12:37:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:08 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:37:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:08 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:37:08 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:37:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:37:08 Europe/Berlin] Session role: not set
[02-Nov-2025 12:37:08 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:37:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 11:37:08 UTC] DEBUG: Teacher ID = 14
[02-Nov-2025 11:37:08 UTC] DEBUG: Courses found = 1
[02-Nov-2025 11:37:08 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[02-Nov-2025 12:38:44 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 12:38:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:44 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:38:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:44 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:38:44 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:38:44 Europe/Berlin] Session role: not set
[02-Nov-2025 12:38:44 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:38:44 UTC] isLoggedIn check result: true
[02-Nov-2025 11:38:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:38:44 UTC] isLoggedIn check result: true
[02-Nov-2025 11:38:44 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:38:44 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 11:38:44 UTC] Session role: not set
[02-Nov-2025 11:38:44 UTC] Session user_role: teacher
[02-Nov-2025 11:38:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 11:38:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 11:38:44 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:38:47 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 12:38:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:47 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:38:47 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:47 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:38:47 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:38:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:38:47 Europe/Berlin] Session role: not set
[02-Nov-2025 12:38:47 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:38:47 UTC] isLoggedIn check result: true
[02-Nov-2025 11:38:47 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:38:47 UTC] isLoggedIn check result: true
[02-Nov-2025 11:38:47 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:38:47 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 11:38:47 UTC] Session role: not set
[02-Nov-2025 11:38:47 UTC] Session user_role: teacher
[02-Nov-2025 12:55:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 12:55:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:42 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:55:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:42 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:55:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:55:42 Europe/Berlin] Session role: not set
[02-Nov-2025 12:55:42 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:55:42 UTC] isLoggedIn check result: true
[02-Nov-2025 11:55:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:55:42 UTC] isLoggedIn check result: true
[02-Nov-2025 11:55:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:55:42 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 11:55:42 UTC] Session role: not set
[02-Nov-2025 11:55:42 UTC] Session user_role: teacher
[02-Nov-2025 11:55:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 11:55:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 11:55:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:55:46 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 12:55:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:46 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:55:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:46 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:55:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:55:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:55:46 Europe/Berlin] Session role: not set
[02-Nov-2025 12:55:46 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:55:46 UTC] isLoggedIn check result: true
[02-Nov-2025 11:55:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:55:46 UTC] isLoggedIn check result: true
[02-Nov-2025 11:55:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:55:46 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 11:55:46 UTC] Session role: not set
[02-Nov-2025 11:55:46 UTC] Session user_role: teacher
[02-Nov-2025 12:57:30 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 12:57:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:57:30 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:57:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:57:30 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 12:57:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:57:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:57:30 Europe/Berlin] Session role: not set
[02-Nov-2025 12:57:30 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 11:57:30 UTC] isLoggedIn check result: true
[02-Nov-2025 11:57:30 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:57:30 UTC] isLoggedIn check result: true
[02-Nov-2025 11:57:30 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 11:57:30 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 11:57:30 UTC] Session role: not set
[02-Nov-2025 11:57:30 UTC] Session user_role: teacher
[02-Nov-2025 13:15:28 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:15:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:15:28 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:15:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:15:28 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:15:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:15:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:15:28 Europe/Berlin] Session role: not set
[02-Nov-2025 13:15:28 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:15:28 UTC] isLoggedIn check result: true
[02-Nov-2025 12:15:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:15:28 UTC] isLoggedIn check result: true
[02-Nov-2025 12:15:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:15:28 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:15:28 UTC] Session role: not set
[02-Nov-2025 12:15:28 UTC] Session user_role: teacher
[02-Nov-2025 13:16:19 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:16:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:16:19 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:16:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:16:19 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:16:19 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:16:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:16:19 Europe/Berlin] Session role: not set
[02-Nov-2025 13:16:19 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:16:19 UTC] isLoggedIn check result: true
[02-Nov-2025 12:16:19 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:16:19 UTC] isLoggedIn check result: true
[02-Nov-2025 12:16:19 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:16:19 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:16:19 UTC] Session role: not set
[02-Nov-2025 12:16:19 UTC] Session user_role: teacher
[02-Nov-2025 13:20:28 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:20:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:28 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:28 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:28 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:20:28 Europe/Berlin] Session role: not set
[02-Nov-2025 13:20:28 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:20:28 UTC] isLoggedIn check result: true
[02-Nov-2025 12:20:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:20:28 UTC] isLoggedIn check result: true
[02-Nov-2025 12:20:28 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:20:28 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:20:28 UTC] Session role: not set
[02-Nov-2025 12:20:28 UTC] Session user_role: teacher
[02-Nov-2025 13:20:38 Europe/Berlin] Teacher Auth Check - Script: courses.php
[02-Nov-2025 13:20:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:38 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:38 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:20:38 Europe/Berlin] Session role: not set
[02-Nov-2025 13:20:38 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:20:38 UTC] DB Connection Status: Connected
[02-Nov-2025 12:20:38 UTC] User with ID 14 found
[02-Nov-2025 12:20:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 13:20:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[02-Nov-2025 13:20:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:40 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:40 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:20:40 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:20:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:20:40 Europe/Berlin] Session role: not set
[02-Nov-2025 13:20:40 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:20:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 12:20:40 UTC] DEBUG: Teacher ID = 14
[02-Nov-2025 12:20:40 UTC] DEBUG: Courses found = 1
[02-Nov-2025 12:20:40 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[02-Nov-2025 13:22:23 Europe/Berlin] Teacher Auth Check - Script: videos.php
[02-Nov-2025 13:22:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:22:23 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:22:23 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:22:23 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:22:23 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:22:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:22:23 Europe/Berlin] Session role: not set
[02-Nov-2025 13:22:23 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 13:30:38 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 13:30:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:38 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:30:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:38 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:30:38 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:30:38 Europe/Berlin] Session role: not set
[02-Nov-2025 13:30:38 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:30:38 UTC] isLoggedIn check result: true
[02-Nov-2025 12:30:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:30:38 UTC] isLoggedIn check result: true
[02-Nov-2025 12:30:38 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:30:38 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:30:38 UTC] Session role: not set
[02-Nov-2025 12:30:38 UTC] Session user_role: teacher
[02-Nov-2025 12:30:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:30:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:30:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 13:30:42 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:30:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:42 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:30:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:42 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:30:42 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:30:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:30:42 Europe/Berlin] Session role: not set
[02-Nov-2025 13:30:42 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:30:42 UTC] isLoggedIn check result: true
[02-Nov-2025 12:30:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:30:42 UTC] isLoggedIn check result: true
[02-Nov-2025 12:30:42 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:30:42 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:30:42 UTC] Session role: not set
[02-Nov-2025 12:30:42 UTC] Session user_role: teacher
[02-Nov-2025 13:31:30 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[02-Nov-2025 13:31:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:31:30 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:31:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:31:30 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:31:30 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:31:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:31:30 Europe/Berlin] Session role: not set
[02-Nov-2025 13:31:30 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:31:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 13:52:15 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[02-Nov-2025 13:52:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:15 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:15 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:15 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:52:15 Europe/Berlin] Session role: not set
[02-Nov-2025 13:52:15 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:52:15 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[02-Nov-2025 13:52:21 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 13:52:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:21 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:21 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:21 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:52:21 Europe/Berlin] Session role: not set
[02-Nov-2025 13:52:21 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:52:21 UTC] isLoggedIn check result: true
[02-Nov-2025 12:52:21 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:52:21 UTC] isLoggedIn check result: true
[02-Nov-2025 12:52:21 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:52:21 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:52:21 UTC] Session role: not set
[02-Nov-2025 12:52:21 UTC] Session user_role: teacher
[02-Nov-2025 12:52:21 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:52:21 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:52:21 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 13:52:27 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:52:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:27 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:27 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:52:27 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:52:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:52:27 Europe/Berlin] Session role: not set
[02-Nov-2025 13:52:27 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:52:27 UTC] isLoggedIn check result: true
[02-Nov-2025 12:52:27 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:52:27 UTC] isLoggedIn check result: true
[02-Nov-2025 12:52:27 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:52:27 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:52:27 UTC] Session role: not set
[02-Nov-2025 12:52:27 UTC] Session user_role: teacher
[02-Nov-2025 13:53:34 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 13:53:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:34 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:34 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:34 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:53:34 Europe/Berlin] Session role: not set
[02-Nov-2025 13:53:34 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:53:34 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:34 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:34 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:34 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:34 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:53:34 UTC] Session role: not set
[02-Nov-2025 12:53:34 UTC] Session user_role: teacher
[02-Nov-2025 13:53:39 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 13:53:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:39 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:39 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:39 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:53:39 Europe/Berlin] Session role: not set
[02-Nov-2025 13:53:39 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:53:39 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:39 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:39 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:39 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:39 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:53:39 UTC] Session role: not set
[02-Nov-2025 12:53:39 UTC] Session user_role: teacher
[02-Nov-2025 12:53:39 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:39 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:39 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:39 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 13:53:46 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[02-Nov-2025 13:53:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:46 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:46 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 13:53:46 Europe/Berlin] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 13:53:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 13:53:46 Europe/Berlin] Session role: not set
[02-Nov-2025 13:53:46 Europe/Berlin] Session user_role: teacher
[02-Nov-2025 12:53:46 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:46 UTC] isLoggedIn check result: true
[02-Nov-2025 12:53:46 UTC] Session data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762083402
    [session_started_at] => 2025-11-02 12:36:42
    [login_redirect_count] => 0
)

[02-Nov-2025 12:53:46 UTC] hasPermission check - Required: teacher, User: teacher
[02-Nov-2025 12:53:46 UTC] Session role: not set
[02-Nov-2025 12:53:46 UTC] Session user_role: teacher
[02-Nov-2025 12:53:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 12:53:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[02-Nov-2025 15:35:37 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[02-Nov-2025 15:35:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 15
    [username] => swususan0@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762093165
    [session_started_at] => 2025-11-02 15:19:25
)

[02-Nov-2025 15:35:37 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 15:35:37 Europe/Berlin] Session data: Array
(
    [user_id] => 15
    [username] => swususan0@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762093165
    [session_started_at] => 2025-11-02 15:19:25
)

[02-Nov-2025 15:35:37 Europe/Berlin] isLoggedIn check result: true
[02-Nov-2025 15:35:37 Europe/Berlin] Session data: Array
(
    [user_id] => 15
    [username] => swususan0@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762093165
    [session_started_at] => 2025-11-02 15:19:25
)

[02-Nov-2025 15:35:37 Europe/Berlin] hasPermission check - Required: teacher, User: student
[02-Nov-2025 15:35:37 Europe/Berlin] Session role: not set
[02-Nov-2025 15:35:37 Europe/Berlin] Session user_role: student
[02-Nov-2025 15:35:37 Europe/Berlin] Teacher Auth - Access denied for user role: student
[03-Nov-2025 09:53:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Nov-2025 08:53:18 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762159998
    [created_at] => 1762159998
    [last_regeneration] => 1762159998
    [session_started_at] => 2025-11-03 09:53:18
)

[03-Nov-2025 08:53:18 UTC] Dashboard SESSION data: Array
(
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762159998
    [created_at] => 1762159998
    [last_regeneration] => 1762159998
    [session_started_at] => 2025-11-03 09:53:18
)

[03-Nov-2025 08:53:18 UTC] Fetching videos for teacher_id: 14
[03-Nov-2025 08:53:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[03-Nov-2025 08:53:18 UTC] Found 3 videos for teacher 14
[03-Nov-2025 08:53:18 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-02 12:22:20
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[03-Nov-2025 21:46:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Nov-2025 23:36:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Nov-2025 23:36:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Nov-2025 11:55:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Nov-2025 22:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:36:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 13:36:47 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
)

[05-Nov-2025 13:36:47 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
)

[05-Nov-2025 13:36:47 UTC] Fetching videos for teacher_id: 14
[05-Nov-2025 13:36:47 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[05-Nov-2025 13:36:47 UTC] Found 3 videos for teacher 14
[05-Nov-2025 13:36:47 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[05-Nov-2025 14:37:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[05-Nov-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
)

[05-Nov-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
)

[05-Nov-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
)

[05-Nov-2025 14:37:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:37:31 Europe/Berlin] Session role: not set
[05-Nov-2025 14:37:31 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:37:31 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/analytics.php:119
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/analytics.php on line 119
[05-Nov-2025 14:37:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:37:38 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:37:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:38 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:38 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:37:38 Europe/Berlin] Session role: not set
[05-Nov-2025 14:37:38 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:37:38 UTC] isLoggedIn check result: true
[05-Nov-2025 13:37:38 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:37:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:38 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:37:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:37:47 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:37:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:47 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:47 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:37:47 Europe/Berlin] Session role: not set
[05-Nov-2025 14:37:47 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:37:48 UTC] isLoggedIn check result: true
[05-Nov-2025 13:37:48 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:37:49 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:49 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:49 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:37:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:37:54 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:37:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:54 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:54 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:37:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:37:54 Europe/Berlin] Session role: not set
[05-Nov-2025 14:37:54 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:37:55 UTC] isLoggedIn check result: true
[05-Nov-2025 13:37:55 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:37:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:37:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:38:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:38:01 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:38:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:01 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:01 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:38:01 Europe/Berlin] Session role: not set
[05-Nov-2025 14:38:01 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:38:01 UTC] isLoggedIn check result: true
[05-Nov-2025 13:38:01 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:38:01 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:38:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:38:08 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:38:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:08 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:08 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:38:08 Europe/Berlin] Session role: not set
[05-Nov-2025 14:38:08 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:38:08 UTC] isLoggedIn check result: true
[05-Nov-2025 13:38:08 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:38:15 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[05-Nov-2025 14:38:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:15 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:15 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:38:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:38:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:38:15 Europe/Berlin] Session role: not set
[05-Nov-2025 14:38:15 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:38:15 UTC] isLoggedIn check result: true
[05-Nov-2025 13:38:15 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:40:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:40:38 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[05-Nov-2025 14:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:40:38 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:40:38 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:40:38 Europe/Berlin] Session role: not set
[05-Nov-2025 14:40:38 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:40:38 UTC] isLoggedIn check result: true
[05-Nov-2025 13:40:38 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:43:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:43:08 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[05-Nov-2025 14:43:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:43:08 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:43:08 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:43:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:43:08 Europe/Berlin] Session role: not set
[05-Nov-2025 14:43:08 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:43:08 UTC] isLoggedIn check result: true
[05-Nov-2025 13:43:08 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:45:43 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[05-Nov-2025 14:45:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:43 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:45:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:43 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:45:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:45:43 Europe/Berlin] Session role: not set
[05-Nov-2025 14:45:43 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:45:43 UTC] isLoggedIn check result: true
[05-Nov-2025 13:45:43 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:45:48 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:48 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:48 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:45:48 Europe/Berlin] Session role: not set
[05-Nov-2025 14:45:48 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:45:48 UTC] isLoggedIn check result: true
[05-Nov-2025 13:45:48 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:45:48 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:45:48 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:45:48 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:46:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:46:01 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:46:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:01 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:01 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:46:01 Europe/Berlin] Session role: not set
[05-Nov-2025 14:46:01 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:46:01 UTC] isLoggedIn check result: true
[05-Nov-2025 13:46:01 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:46:01 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:01 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:01 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:46:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:46:06 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:46:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:06 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:06 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:46:06 Europe/Berlin] Session role: not set
[05-Nov-2025 14:46:06 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:46:06 UTC] isLoggedIn check result: true
[05-Nov-2025 13:46:06 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:46:06 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:06 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:06 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 14:46:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 14:46:12 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 14:46:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:12 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:12 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 14:46:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 14:46:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 14:46:12 Europe/Berlin] Session role: not set
[05-Nov-2025 14:46:12 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 13:46:12 UTC] isLoggedIn check result: true
[05-Nov-2025 13:46:12 UTC] Session data: Array
(
    [created_at] => 1762349807
    [last_regeneration] => 1762349807
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762349807
    [session_started_at] => 2025-11-05 14:36:47
    [login_redirect_count] => 0
)

[05-Nov-2025 13:46:12 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:12 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 13:46:12 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 18:07:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 17:07:17 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
)

[05-Nov-2025 17:07:17 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
)

[05-Nov-2025 17:07:17 UTC] Fetching videos for teacher_id: 14
[05-Nov-2025 17:07:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[05-Nov-2025 17:07:17 UTC] Found 3 videos for teacher 14
[05-Nov-2025 17:07:17 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[05-Nov-2025 18:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:07:31 Europe/Berlin] Teacher Auth Check - Script: assignments.php
[05-Nov-2025 18:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
)

[05-Nov-2025 18:07:31 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
)

[05-Nov-2025 18:07:31 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
)

[05-Nov-2025 18:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:07:31 Europe/Berlin] Session role: not set
[05-Nov-2025 18:07:31 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:07:31 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[05-Nov-2025 18:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:07:37 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[05-Nov-2025 18:07:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:37 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:37 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:07:37 Europe/Berlin] Session role: not set
[05-Nov-2025 18:07:37 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:07:37 UTC] isLoggedIn check result: true
[05-Nov-2025 17:07:37 UTC] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 17:07:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 17:07:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 17:07:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[05-Nov-2025 18:07:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:07:41 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[05-Nov-2025 18:07:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:41 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:41 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:07:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:07:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:07:41 Europe/Berlin] Session role: not set
[05-Nov-2025 18:07:41 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:07:41 UTC] isLoggedIn check result: true
[05-Nov-2025 17:07:41 UTC] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:08:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:08:26 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[05-Nov-2025 18:08:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:08:26 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:08:26 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:08:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:08:26 Europe/Berlin] Session role: not set
[05-Nov-2025 18:08:26 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:08:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[05-Nov-2025 18:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 17:41:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 17:41:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 17:41:57 UTC] Fetching videos for teacher_id: 14
[05-Nov-2025 17:41:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[05-Nov-2025 17:41:57 UTC] Found 3 videos for teacher 14
[05-Nov-2025 17:41:57 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[05-Nov-2025 18:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:42:03 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[05-Nov-2025 18:42:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:03 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:03 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:42:03 Europe/Berlin] Session role: not set
[05-Nov-2025 18:42:03 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:42:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[05-Nov-2025 18:42:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:42:12 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[05-Nov-2025 18:42:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:12 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:12 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:42:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:42:12 Europe/Berlin] Session role: not set
[05-Nov-2025 18:42:12 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:42:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[05-Nov-2025 18:46:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 18:46:46 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[05-Nov-2025 18:46:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:46:46 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:46:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:46:46 Europe/Berlin] isLoggedIn check result: true
[05-Nov-2025 18:46:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 18:46:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[05-Nov-2025 18:46:46 Europe/Berlin] Session role: not set
[05-Nov-2025 18:46:46 Europe/Berlin] Session user_role: teacher
[05-Nov-2025 17:46:46 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[05-Nov-2025 18:46:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Nov-2025 17:46:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 17:46:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762362437
    [last_regeneration] => 1762362437
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762362437
    [session_started_at] => 2025-11-05 18:07:17
    [login_redirect_count] => 0
)

[05-Nov-2025 17:46:54 UTC] Fetching videos for teacher_id: 14
[05-Nov-2025 17:46:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[05-Nov-2025 17:46:54 UTC] Found 3 videos for teacher 14
[05-Nov-2025 17:46:54 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 05:57:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:57:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:57:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 05:57:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-06 05:57:07
    [created_at] => 1762405028
    [last_regeneration] => 1762405028
    [stored_redirect] => /teacher/dashboard.php
)

[06-Nov-2025 05:57:36 Europe/Berlin] isLoggedIn check result: false
[06-Nov-2025 05:57:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-06 05:57:07
    [created_at] => 1762405028
    [last_regeneration] => 1762405028
    [stored_redirect] => /teacher/dashboard.php
)

[06-Nov-2025 06:06:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:06:43 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
)

[06-Nov-2025 05:06:43 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
)

[06-Nov-2025 05:06:43 UTC] Fetching videos for teacher_id: 14
[06-Nov-2025 05:06:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Nov-2025 05:06:43 UTC] Found 3 videos for teacher 14
[06-Nov-2025 05:06:43 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 06:07:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:07:02 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 06:07:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
)

[06-Nov-2025 06:07:02 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
)

[06-Nov-2025 06:07:02 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
)

[06-Nov-2025 06:07:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:07:02 Europe/Berlin] Session role: not set
[06-Nov-2025 06:07:02 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:07:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Nov-2025 06:08:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:08:08 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Nov-2025 06:08:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:08 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:08 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:08:08 Europe/Berlin] Session role: not set
[06-Nov-2025 06:08:08 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 06:08:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:08:16 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Nov-2025 06:08:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:16 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:16 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:08:16 Europe/Berlin] Session role: not set
[06-Nov-2025 06:08:16 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:08:16 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/enrolled_students.php:45
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 45
[06-Nov-2025 06:08:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:08:20 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Nov-2025 06:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:20 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:20 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:08:20 Europe/Berlin] Session role: not set
[06-Nov-2025 06:08:20 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 06:21:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:21:35 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:21:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:35 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:35 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:21:35 Europe/Berlin] Session role: not set
[06-Nov-2025 06:21:35 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:21:35 UTC] isLoggedIn check result: true
[06-Nov-2025 05:21:35 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:21:35 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:21:35 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:21:35 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 06:21:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:21:44 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[06-Nov-2025 06:21:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:44 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:21:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:44 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:21:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:21:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:21:44 Europe/Berlin] Session role: not set
[06-Nov-2025 06:21:44 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:21:44 UTC] isLoggedIn check result: true
[06-Nov-2025 05:21:44 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:24:39 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[06-Nov-2025 06:24:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:39 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:24:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:39 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:24:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:24:39 Europe/Berlin] Session role: not set
[06-Nov-2025 06:24:39 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:24:39 UTC] isLoggedIn check result: true
[06-Nov-2025 05:24:39 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:24:46 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:24:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:46 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:24:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:46 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:24:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:24:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:24:46 Europe/Berlin] Session role: not set
[06-Nov-2025 06:24:46 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:24:46 UTC] isLoggedIn check result: true
[06-Nov-2025 05:24:46 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:24:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:24:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:24:46 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 06:35:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:35:29 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:35:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:29 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:29 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:35:29 Europe/Berlin] Session role: not set
[06-Nov-2025 06:35:29 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:35:29 UTC] isLoggedIn check result: true
[06-Nov-2025 05:35:29 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:35:29 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:35:29 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:35:29 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 06:35:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:35:52 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:35:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:52 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:52 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:35:52 Europe/Berlin] Session role: not set
[06-Nov-2025 06:35:52 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:35:52 UTC] isLoggedIn check result: true
[06-Nov-2025 05:35:52 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:35:52 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:35:52 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:35:52 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 06:35:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:35:55 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[06-Nov-2025 06:35:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:55 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:55 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:35:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:35:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:35:55 Europe/Berlin] Session role: not set
[06-Nov-2025 06:35:55 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:35:55 UTC] isLoggedIn check result: true
[06-Nov-2025 05:35:55 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:38:28 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 06:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:38:28 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:38:28 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:38:28 Europe/Berlin] Session role: not set
[06-Nov-2025 06:38:28 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:38:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Nov-2025 06:41:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:41:25 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:41:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:25 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:41:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:25 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:41:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:41:25 Europe/Berlin] Session role: not set
[06-Nov-2025 06:41:25 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:41:25 UTC] isLoggedIn check result: true
[06-Nov-2025 05:41:25 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:41:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:41:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 05:41:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 06:41:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:41:28 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[06-Nov-2025 06:41:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:28 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:28 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:41:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:41:28 Europe/Berlin] Session role: not set
[06-Nov-2025 06:41:28 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:41:28 UTC] isLoggedIn check result: true
[06-Nov-2025 05:41:28 UTC] Session data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 06:43:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:43:35 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:43:35 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762405603
    [last_regeneration] => 1762405603
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762405603
    [session_started_at] => 2025-11-06 06:06:43
    [login_redirect_count] => 0
)

[06-Nov-2025 05:43:35 UTC] Fetching videos for teacher_id: 14
[06-Nov-2025 05:43:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Nov-2025 05:43:35 UTC] Found 3 videos for teacher 14
[06-Nov-2025 05:43:35 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 06:46:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:46:27 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 06:46:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:27 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:27 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:27 Europe/Berlin] hasPermission check - Required: teacher, User: student
[06-Nov-2025 06:46:27 Europe/Berlin] Session role: not set
[06-Nov-2025 06:46:27 Europe/Berlin] Session user_role: student
[06-Nov-2025 06:46:27 Europe/Berlin] Teacher Auth - Access denied for user role: student
[06-Nov-2025 06:46:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:46:36 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[06-Nov-2025 06:46:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:36 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:36 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:36 Europe/Berlin] hasPermission check - Required: teacher, User: student
[06-Nov-2025 06:46:36 Europe/Berlin] Session role: not set
[06-Nov-2025 06:46:36 Europe/Berlin] Session user_role: student
[06-Nov-2025 06:46:36 Europe/Berlin] Teacher Auth - Access denied for user role: student
[06-Nov-2025 06:46:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:46:37 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 06:46:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:37 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:37 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:37 Europe/Berlin] hasPermission check - Required: teacher, User: student
[06-Nov-2025 06:46:37 Europe/Berlin] Session role: not set
[06-Nov-2025 06:46:37 Europe/Berlin] Session user_role: student
[06-Nov-2025 06:46:37 Europe/Berlin] Teacher Auth - Access denied for user role: student
[06-Nov-2025 06:46:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:46:39 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 06:46:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:39 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:39 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762407831
    [last_regeneration] => 1762407831
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762407831
    [session_started_at] => 2025-11-06 06:43:51
)

[06-Nov-2025 06:46:39 Europe/Berlin] hasPermission check - Required: teacher, User: student
[06-Nov-2025 06:46:39 Europe/Berlin] Session role: not set
[06-Nov-2025 06:46:39 Europe/Berlin] Session user_role: student
[06-Nov-2025 06:46:39 Europe/Berlin] Teacher Auth - Access denied for user role: student
[06-Nov-2025 06:46:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:46:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
)

[06-Nov-2025 05:46:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
)

[06-Nov-2025 05:46:54 UTC] Fetching videos for teacher_id: 14
[06-Nov-2025 05:46:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Nov-2025 05:46:54 UTC] Found 3 videos for teacher 14
[06-Nov-2025 05:46:54 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 06:46:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 06:46:57 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Nov-2025 06:46:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
)

[06-Nov-2025 06:46:57 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
)

[06-Nov-2025 06:46:57 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 06:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
)

[06-Nov-2025 06:46:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 06:46:57 Europe/Berlin] Session role: not set
[06-Nov-2025 06:46:57 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 05:46:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Nov-2025 06:47:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 05:47:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
    [login_redirect_count] => 0
)

[06-Nov-2025 05:47:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762408014
    [last_regeneration] => 1762408014
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762408014
    [session_started_at] => 2025-11-06 06:46:54
    [login_redirect_count] => 0
)

[06-Nov-2025 05:47:11 UTC] Fetching videos for teacher_id: 14
[06-Nov-2025 05:47:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Nov-2025 05:47:11 UTC] Found 3 videos for teacher 14
[06-Nov-2025 05:47:11 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 09:07:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 09:07:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 10:52:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 17:47:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 16:47:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
)

[06-Nov-2025 16:47:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
)

[06-Nov-2025 16:47:53 UTC] Fetching videos for teacher_id: 14
[06-Nov-2025 16:47:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Nov-2025 16:47:53 UTC] Found 3 videos for teacher 14
[06-Nov-2025 16:47:53 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[06-Nov-2025 17:47:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Nov-2025 17:47:59 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[06-Nov-2025 17:47:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
)

[06-Nov-2025 17:47:59 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 17:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
)

[06-Nov-2025 17:47:59 Europe/Berlin] isLoggedIn check result: true
[06-Nov-2025 17:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
)

[06-Nov-2025 17:47:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Nov-2025 17:47:59 Europe/Berlin] Session role: not set
[06-Nov-2025 17:47:59 Europe/Berlin] Session user_role: teacher
[06-Nov-2025 16:47:59 UTC] isLoggedIn check result: true
[06-Nov-2025 16:47:59 UTC] Session data: Array
(
    [created_at] => 1762447673
    [last_regeneration] => 1762447673
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762447673
    [session_started_at] => 2025-11-06 17:47:53
    [login_redirect_count] => 0
)

[06-Nov-2025 16:47:59 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 16:47:59 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[06-Nov-2025 16:47:59 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 08:03:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 07:03:47 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
)

[07-Nov-2025 07:03:47 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
)

[07-Nov-2025 07:03:48 UTC] Fetching videos for teacher_id: 14
[07-Nov-2025 07:03:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[07-Nov-2025 07:03:48 UTC] Found 3 videos for teacher 14
[07-Nov-2025 07:03:48 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[07-Nov-2025 08:03:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:03:57 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[07-Nov-2025 08:03:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
)

[07-Nov-2025 08:03:57 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
)

[07-Nov-2025 08:03:57 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
)

[07-Nov-2025 08:03:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:03:57 Europe/Berlin] Session role: not set
[07-Nov-2025 08:03:57 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:03:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[07-Nov-2025 07:03:57 UTC] DEBUG: Teacher ID = 14
[07-Nov-2025 07:03:57 UTC] DEBUG: Courses found = 1
[07-Nov-2025 07:03:57 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[07-Nov-2025 08:04:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:04:01 Europe/Berlin] Teacher Auth Check - Script: videos.php
[07-Nov-2025 08:04:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:01 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:01 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:04:01 Europe/Berlin] Session role: not set
[07-Nov-2025 08:04:01 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 08:04:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:04:26 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[07-Nov-2025 08:04:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:26 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:26 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:04:26 Europe/Berlin] Session role: not set
[07-Nov-2025 08:04:26 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:04:26 UTC] isLoggedIn check result: true
[07-Nov-2025 07:04:26 UTC] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 07:04:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:04:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:04:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 08:04:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:04:37 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[07-Nov-2025 08:04:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:37 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:37 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:04:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:04:37 Europe/Berlin] Session role: not set
[07-Nov-2025 08:04:37 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:04:37 UTC] isLoggedIn check result: true
[07-Nov-2025 07:04:37 UTC] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:05:27 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[07-Nov-2025 08:05:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:27 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:27 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:05:27 Europe/Berlin] Session role: not set
[07-Nov-2025 08:05:27 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:05:27 UTC] isLoggedIn check result: true
[07-Nov-2025 07:05:27 UTC] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:05:32 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[07-Nov-2025 08:05:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:32 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:32 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:05:32 Europe/Berlin] Session role: not set
[07-Nov-2025 08:05:32 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:05:32 UTC] isLoggedIn check result: true
[07-Nov-2025 07:05:32 UTC] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 07:05:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 08:05:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Nov-2025 08:05:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[07-Nov-2025 08:05:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:42 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:42 Europe/Berlin] isLoggedIn check result: true
[07-Nov-2025 08:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 08:05:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Nov-2025 08:05:42 Europe/Berlin] Session role: not set
[07-Nov-2025 08:05:42 Europe/Berlin] Session user_role: teacher
[07-Nov-2025 07:05:42 UTC] isLoggedIn check result: true
[07-Nov-2025 07:05:42 UTC] Session data: Array
(
    [created_at] => 1762499027
    [last_regeneration] => 1762499027
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762499027
    [session_started_at] => 2025-11-07 08:03:47
    [login_redirect_count] => 0
)

[07-Nov-2025 07:05:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[07-Nov-2025 07:05:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 07:50:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 06:50:06 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 06:50:06 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 06:50:09 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 06:50:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 06:50:09 UTC] Found 3 videos for teacher 14
[08-Nov-2025 06:50:09 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:06:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:06:08 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:06:08 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:06:08 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:06:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:06:08 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:06:08 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:14:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:14:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:14:48 UTC] PHP Parse error:  syntax error, unexpected 'else' (T_ELSE), expecting end of file in /home/twpurnyc/public_html/teacher/components/navbar.php on line 77
[08-Nov-2025 08:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:22:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:22:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:22:21 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:22:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:22:21 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:22:21 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:25:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:25:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:25:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:25:37 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:25:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:25:37 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:25:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:29:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:29:18 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:29:18 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:29:19 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:29:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:29:19 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:29:19 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:31:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:31:39 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:31:39 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:31:39 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:31:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:31:39 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:31:39 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:31:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:31:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:31:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:31:45 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:31:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:31:45 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:31:46 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:32:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:32:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:32:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:32:14 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:32:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:32:14 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:32:14 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:35:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:35:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:35:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:35:23 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:35:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:35:23 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:35:23 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:35:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:35:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:35:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:35:53 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:35:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:35:53 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:35:53 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:40:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:40:52 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:40:52 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:40:52 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:40:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:40:52 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:40:52 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:42:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:42:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:42:37 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:42:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:42:37 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:42:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:46:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:46:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:46:53 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762584605
    [last_regeneration] => 1762584605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762584605
    [session_started_at] => 2025-11-08 07:50:06
)

[08-Nov-2025 07:46:53 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:46:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:46:53 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:46:53 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:50:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:50:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 07:50:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 07:50:51 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:50:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:50:51 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:50:51 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 08:52:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 07:52:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 07:52:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 07:52:22 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 07:52:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 07:52:22 UTC] Found 3 videos for teacher 14
[08-Nov-2025 07:52:22 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 09:50:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 08:50:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:50:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:50:15 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 08:50:15 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 08:50:15 UTC] Found 3 videos for teacher 14
[08-Nov-2025 08:50:15 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 09:50:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 08:50:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:50:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:50:35 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 08:50:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 08:50:35 UTC] Found 3 videos for teacher 14
[08-Nov-2025 08:50:36 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 09:56:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 08:56:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:56:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 08:56:07 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 08:56:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 08:56:07 UTC] Found 3 videos for teacher 14
[08-Nov-2025 08:56:07 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 09:57:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:57:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 09:57:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 09:57:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 09:57:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
)

[08-Nov-2025 09:57:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 09:57:59 Europe/Berlin] Session role: not set
[08-Nov-2025 09:57:59 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 08:57:59 UTC] DB Connection Status: Connected
[08-Nov-2025 08:57:59 UTC] User with ID 14 found
[08-Nov-2025 08:57:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 09:58:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:58:06 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Nov-2025 09:58:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:58:06 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:58:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:58:06 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:58:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:58:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 09:58:06 Europe/Berlin] Session role: not set
[08-Nov-2025 09:58:06 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:58:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 08:58:10 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 08:58:10 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 08:58:10 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 08:58:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 08:58:10 UTC] Found 3 videos for teacher 14
[08-Nov-2025 08:58:10 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 09:59:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:59:22 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 09:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:22 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:22 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 09:59:22 Europe/Berlin] Session role: not set
[08-Nov-2025 09:59:22 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 08:59:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 09:59:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:59:42 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 09:59:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 09:59:42 Europe/Berlin] Session role: not set
[08-Nov-2025 09:59:42 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 08:59:43 UTC] DB Connection Status: Connected
[08-Nov-2025 08:59:44 UTC] User with ID 14 found
[08-Nov-2025 08:59:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 09:59:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:59:56 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Nov-2025 09:59:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:56 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:56 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 09:59:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:59:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 09:59:56 Europe/Berlin] Session role: not set
[08-Nov-2025 09:59:56 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 08:59:56 UTC] isLoggedIn check result: true
[08-Nov-2025 08:59:56 UTC] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 08:59:58 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 08:59:58 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 08:59:58 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 08:59:58 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 10:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:06:19 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Nov-2025 10:06:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:06:19 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:06:19 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:06:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:06:19 Europe/Berlin] Session role: not set
[08-Nov-2025 10:06:19 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:06:19 UTC] isLoggedIn check result: true
[08-Nov-2025 09:06:19 UTC] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:06:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:06:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:06:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:06:19 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 10:15:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:15:07 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Nov-2025 10:15:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:15:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:15:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:15:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:15:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:15:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:15:07 Europe/Berlin] Session role: not set
[08-Nov-2025 10:15:07 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:15:07 UTC] isLoggedIn check result: true
[08-Nov-2025 09:15:07 UTC] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:15:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:15:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:15:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 09:15:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 10:15:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:15:32 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:15:32 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:15:33 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 09:15:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 09:15:33 UTC] Found 3 videos for teacher 14
[08-Nov-2025 09:15:33 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 10:16:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:16:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 10:16:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:16:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:16:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:16:07 Europe/Berlin] Session role: not set
[08-Nov-2025 10:16:07 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:16:07 UTC] DB Connection Status: Connected
[08-Nov-2025 09:16:07 UTC] User with ID 14 found
[08-Nov-2025 09:16:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 10:16:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:16:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Nov-2025 10:16:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:10 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:16:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:10 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:16:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:16:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:16:10 Europe/Berlin] Session role: not set
[08-Nov-2025 10:16:10 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 10:20:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:20:28 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Nov-2025 10:20:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:20:28 Europe/Berlin] Session role: not set
[08-Nov-2025 10:20:28 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 10:20:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:20:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 10:20:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:20:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:20:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:20:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:20:42 Europe/Berlin] Session role: not set
[08-Nov-2025 10:20:42 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:20:42 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:20:42 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:20:42 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 09:20:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 09:20:42 UTC] Found 3 videos for teacher 14
[08-Nov-2025 09:20:42 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 10:21:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:21:34 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 10:21:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:21:34 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:21:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:21:34 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:21:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:21:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:21:34 Europe/Berlin] Session role: not set
[08-Nov-2025 10:21:34 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:21:34 UTC] DB Connection Status: Connected
[08-Nov-2025 09:21:34 UTC] User with ID 14 found
[08-Nov-2025 09:21:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 10:22:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:22:41 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 10:22:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:22:41 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:22:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:22:41 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:22:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:22:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:22:41 Europe/Berlin] Session role: not set
[08-Nov-2025 10:22:41 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:22:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 10:24:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 09:24:46 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:24:46 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:24:46 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 09:24:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 09:24:46 UTC] Found 3 videos for teacher 14
[08-Nov-2025 09:24:46 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 10:24:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:24:51 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 10:24:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:24:51 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:24:51 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:24:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:24:51 Europe/Berlin] Session role: not set
[08-Nov-2025 10:24:51 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:24:51 UTC] DB Connection Status: Connected
[08-Nov-2025 09:24:51 UTC] User with ID 14 found
[08-Nov-2025 09:24:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 10:27:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:27:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 10:27:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:27:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:27:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:27:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:27:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:27:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:27:29 Europe/Berlin] Session role: not set
[08-Nov-2025 10:27:29 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:27:29 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:27:29 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:27:29 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 09:27:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 09:27:29 UTC] Found 3 videos for teacher 14
[08-Nov-2025 09:27:29 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 10:31:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 10:31:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 10:31:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:31:50 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:31:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:31:50 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 10:31:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 10:31:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 10:31:50 Europe/Berlin] Session role: not set
[08-Nov-2025 10:31:50 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 09:31:50 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:31:50 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762588250
    [last_regeneration] => 1762588250
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762588250
    [session_started_at] => 2025-11-08 08:50:51
    [login_redirect_count] => 0
)

[08-Nov-2025 09:31:50 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 09:31:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 09:31:50 UTC] Found 3 videos for teacher 14
[08-Nov-2025 09:31:50 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 15:52:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:52:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 15:52:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
)

[08-Nov-2025 15:52:31 Europe/Berlin] isLoggedIn check result: false
[08-Nov-2025 15:52:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
)

[08-Nov-2025 15:52:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:52:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 15:52:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:52:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:52:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:52:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:52:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:52:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:52:36 Europe/Berlin] Session role: not set
[08-Nov-2025 15:52:36 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:52:36 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:52:36 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:52:36 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 14:52:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 14:52:36 UTC] Found 3 videos for teacher 14
[08-Nov-2025 14:52:36 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 15:53:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:53:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 15:53:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:53:12 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:53:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:53:12 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:53:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:53:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:53:12 Europe/Berlin] Session role: not set
[08-Nov-2025 15:53:12 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:53:12 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:53:12 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:53:12 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 14:53:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 14:53:12 UTC] Found 3 videos for teacher 14
[08-Nov-2025 14:53:12 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 15:55:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:55:40 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 15:55:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:40 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:40 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:55:40 Europe/Berlin] Session role: not set
[08-Nov-2025 15:55:40 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:55:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 15:55:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:55:49 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 15:55:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:49 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:49 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:55:49 Europe/Berlin] Session role: not set
[08-Nov-2025 15:55:49 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:55:49 UTC] DB Connection Status: Connected
[08-Nov-2025 14:55:49 UTC] User with ID 14 found
[08-Nov-2025 14:55:49 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 15:55:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:55:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 15:55:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:55:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:55:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:55:59 Europe/Berlin] Session role: not set
[08-Nov-2025 15:55:59 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:55:59 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:55:59 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:55:59 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 14:55:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 14:55:59 UTC] Found 3 videos for teacher 14
[08-Nov-2025 14:55:59 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 15:56:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:02 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 15:56:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:02 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:02 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:02 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:02 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:56:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 15:56:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:05 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Nov-2025 15:56:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:05 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:05 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:05 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:05 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:56:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Nov-2025 15:56:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:08 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:08 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:08 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:08 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:56:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 14:56:08 UTC] DEBUG: Teacher ID = 14
[08-Nov-2025 14:56:08 UTC] DEBUG: Courses found = 1
[08-Nov-2025 14:56:08 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[08-Nov-2025 15:56:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:11 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Nov-2025 15:56:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:11 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:11 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:56:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:15 Europe/Berlin] Teacher Auth Check - Script: messages.php
[08-Nov-2025 15:56:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:15 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:15 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:15 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:15 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:56:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:24 Europe/Berlin] Teacher Auth Check - Script: messages.php
[08-Nov-2025 15:56:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:24 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:24 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:24 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:24 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:56:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:28 Europe/Berlin] Teacher Auth Check - Script: messages.php
[08-Nov-2025 15:56:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:28 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:28 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:56:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:50 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Nov-2025 15:56:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:50 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:50 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:50 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:50 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:56:50 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/analytics.php:119
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/analytics.php on line 119
[08-Nov-2025 15:56:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:53 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Nov-2025 15:56:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:53 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:53 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:53 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:53 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:56:53 UTC] isLoggedIn check result: true
[08-Nov-2025 14:56:53 UTC] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:56:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 14:56:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 14:56:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 14:56:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[08-Nov-2025 15:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:56:59 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[08-Nov-2025 15:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:59 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:56:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:56:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:56:59 Europe/Berlin] Session role: not set
[08-Nov-2025 15:56:59 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:56:59 UTC] isLoggedIn check result: true
[08-Nov-2025 14:56:59 UTC] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:57:07 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Nov-2025 15:57:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:57:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:57:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:57:07 Europe/Berlin] Session role: not set
[08-Nov-2025 15:57:07 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:57:07 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[08-Nov-2025 15:57:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:57:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 15:57:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:57:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:57:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:57:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:57:11 Europe/Berlin] Session role: not set
[08-Nov-2025 15:57:11 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:57:11 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:57:11 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 14:57:11 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 14:57:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 14:57:11 UTC] Found 3 videos for teacher 14
[08-Nov-2025 14:57:11 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 15:58:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:58:38 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 15:58:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:58:38 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:58:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:58:38 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:58:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:58:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:58:38 Europe/Berlin] Session role: not set
[08-Nov-2025 15:58:38 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:58:38 UTC] DB Connection Status: Connected
[08-Nov-2025 14:58:38 UTC] User with ID 14 found
[08-Nov-2025 14:58:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 15:59:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:21 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Nov-2025 15:59:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:21 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:21 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:59:21 Europe/Berlin] Session role: not set
[08-Nov-2025 15:59:21 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:59:21 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 14:59:21 UTC] DEBUG: Teacher ID = 14
[08-Nov-2025 14:59:21 UTC] DEBUG: Courses found = 1
[08-Nov-2025 14:59:21 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[08-Nov-2025 15:59:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:29 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Nov-2025 15:59:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:59:29 Europe/Berlin] Session role: not set
[08-Nov-2025 15:59:29 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:59:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 15:59:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:59:35 Europe/Berlin] Session role: not set
[08-Nov-2025 15:59:35 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:59:35 UTC] DB Connection Status: Connected
[08-Nov-2025 14:59:35 UTC] User with ID 14 found
[08-Nov-2025 14:59:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 15:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:37 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Nov-2025 15:59:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:59:37 Europe/Berlin] Session role: not set
[08-Nov-2025 15:59:37 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:59:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:39 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Nov-2025 15:59:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:39 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:39 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:59:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 15:59:39 Europe/Berlin] Session role: not set
[08-Nov-2025 15:59:39 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 14:59:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 14:59:39 UTC] DEBUG: Teacher ID = 14
[08-Nov-2025 14:59:39 UTC] DEBUG: Courses found = 1
[08-Nov-2025 14:59:39 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[08-Nov-2025 15:59:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 15:59:43 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 15:59:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:00:05 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 16:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:00:05 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:00:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:00:05 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:00:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:00:05 Europe/Berlin] Session role: not set
[08-Nov-2025 16:00:05 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:00:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:16:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:16:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:16:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:16:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:16:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:16:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:16:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:16:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:16:31 Europe/Berlin] Session role: not set
[08-Nov-2025 16:16:31 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:16:31 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:16:31 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:16:31 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:16:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:16:31 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:16:31 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:17:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:17:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:17:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:17:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:17:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:17:29 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:17:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 16:17:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:17:29 Europe/Berlin] Session role: not set
[08-Nov-2025 16:17:29 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:17:29 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:17:29 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-08 15:52:31
    [login_redirect_count] => 0
    [last_page] => /teacher/dashboard.php
    [created_at] => 1762613556
    [last_regeneration] => 1762613556
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762613556
)

[08-Nov-2025 15:17:29 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:17:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:17:29 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:17:29 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:20:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:20:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:20:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
)

[08-Nov-2025 16:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:20:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
)

[08-Nov-2025 16:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:20:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
)

[08-Nov-2025 16:20:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:20:20 Europe/Berlin] Session role: not set
[08-Nov-2025 16:20:20 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:20:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:20:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:20:20 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:20:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:20:20 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:20:20 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:26:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:26:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:26:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:26:19 Europe/Berlin] Session role: not set
[08-Nov-2025 16:26:19 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:26:19 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:26:19 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:26:19 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:26:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:26:19 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:26:19 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:26:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:26:35 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 16:26:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:26:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:26:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:26:35 Europe/Berlin] Session role: not set
[08-Nov-2025 16:26:35 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:26:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:30:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:30:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:30:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:30:44 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:30:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:30:44 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:30:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:30:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:30:44 Europe/Berlin] Session role: not set
[08-Nov-2025 16:30:44 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:30:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:30:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:30:44 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:30:44 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:30:44 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:30:44 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:32:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:32:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:32:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:32:20 Europe/Berlin] Session role: not set
[08-Nov-2025 16:32:20 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:32:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:32:20 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:32:20 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:32:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:32:20 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:32:20 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:32:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:32:26 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:32:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:32:26 Europe/Berlin] Session role: not set
[08-Nov-2025 16:32:26 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:32:26 UTC] DB Connection Status: Connected
[08-Nov-2025 15:32:26 UTC] User with ID 14 found
[08-Nov-2025 15:32:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:32:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:32:28 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 16:32:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:32:28 Europe/Berlin] Session role: not set
[08-Nov-2025 16:32:28 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:32:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:32:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:32:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:32:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:30 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:30 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:32:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:32:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:32:30 Europe/Berlin] Session role: not set
[08-Nov-2025 16:32:30 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:32:30 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:32:30 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:32:30 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:32:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:32:30 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:32:30 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:33:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:33:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:33:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:33:31 Europe/Berlin] Session role: not set
[08-Nov-2025 16:33:31 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:33:31 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:33:31 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:33:31 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:33:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:33:31 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:33:31 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:33:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:33:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:33:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:33:33 Europe/Berlin] Session role: not set
[08-Nov-2025 16:33:33 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:33:33 UTC] DB Connection Status: Connected
[08-Nov-2025 15:33:33 UTC] User with ID 14 found
[08-Nov-2025 15:33:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:33:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:33:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Nov-2025 16:33:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:33:36 Europe/Berlin] Session role: not set
[08-Nov-2025 16:33:36 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:33:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:33:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:33:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:38 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:38 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:33:38 Europe/Berlin] Session role: not set
[08-Nov-2025 16:33:38 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:33:38 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:33:38 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:33:38 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:33:38 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:33:38 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:33:38 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:34:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:34:32 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:34:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:34:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:34:54 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:34:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:34:54 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:34:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:34:54 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:34:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:34:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:34:54 Europe/Berlin] Session role: not set
[08-Nov-2025 16:34:54 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:34:54 UTC] DB Connection Status: Connected
[08-Nov-2025 15:34:54 UTC] User with ID 14 found
[08-Nov-2025 15:34:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:39:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:39:13 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:13 Europe/Berlin] Teacher Auth Check - Script: publish_to_library.php
[08-Nov-2025 16:39:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:13 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:13 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:39:13 Europe/Berlin] Session role: not set
[08-Nov-2025 16:39:13 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:39:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:39:39 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:39:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:39 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:39 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:39:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:39:39 Europe/Berlin] Session role: not set
[08-Nov-2025 16:39:39 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:39:39 UTC] DB Connection Status: Connected
[08-Nov-2025 15:39:39 UTC] User with ID 14 found
[08-Nov-2025 15:39:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:44:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:44:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:44:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:44:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:44:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:44:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:44:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:44:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:44:33 Europe/Berlin] Session role: not set
[08-Nov-2025 16:44:33 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:44:33 UTC] DB Connection Status: Connected
[08-Nov-2025 15:44:33 UTC] User with ID 14 found
[08-Nov-2025 15:44:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:45:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:45:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:45:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:45:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:45:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:45:03 Europe/Berlin] Session role: not set
[08-Nov-2025 16:45:03 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:45:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:45:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:45:03 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:45:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:45:03 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:45:03 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:45:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:45:52 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:45:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:52 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:45:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:52 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:45:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:45:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:45:52 Europe/Berlin] Session role: not set
[08-Nov-2025 16:45:52 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:45:52 UTC] DB Connection Status: Connected
[08-Nov-2025 15:45:52 UTC] User with ID 14 found
[08-Nov-2025 15:45:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:46:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:46:03 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Nov-2025 16:46:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:46:03 Europe/Berlin] Session role: not set
[08-Nov-2025 16:46:03 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:46:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:46:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:46:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:36 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:46:36 Europe/Berlin] Session role: not set
[08-Nov-2025 16:46:36 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:46:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:46:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:46:36 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:46:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:46:36 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:46:36 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:46:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:46:57 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:46:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:46:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:46:57 Europe/Berlin] Session role: not set
[08-Nov-2025 16:46:57 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:46:57 UTC] DB Connection Status: Connected
[08-Nov-2025 15:46:57 UTC] User with ID 14 found
[08-Nov-2025 15:46:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:47:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:47:27 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Nov-2025 16:47:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:47:27 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:47:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:47:27 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:47:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:47:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:47:27 Europe/Berlin] Session role: not set
[08-Nov-2025 16:47:27 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:47:27 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/analytics.php:119
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/analytics.php on line 119
[08-Nov-2025 16:50:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:50:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:50:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:50:03 Europe/Berlin] Session role: not set
[08-Nov-2025 16:50:03 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:50:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:50:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:50:04 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:50:04 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:50:04 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:50:04 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 16:50:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:50:11 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 16:50:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:50:11 Europe/Berlin] Session role: not set
[08-Nov-2025 16:50:11 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:50:11 UTC] DB Connection Status: Connected
[08-Nov-2025 15:50:11 UTC] User with ID 14 found
[08-Nov-2025 15:50:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 16:50:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 16:50:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 16:50:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:17 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:17 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 16:50:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:50:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 16:50:17 Europe/Berlin] Session role: not set
[08-Nov-2025 16:50:17 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 15:50:18 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:50:18 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 15:50:20 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 15:50:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 15:50:21 UTC] Found 3 videos for teacher 14
[08-Nov-2025 15:50:21 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:01:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:01:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:01:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:01:16 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:01:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:01:16 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:01:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:01:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:01:16 Europe/Berlin] Session role: not set
[08-Nov-2025 17:01:16 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:01:16 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:01:16 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:01:16 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:01:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:01:16 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:01:16 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:04:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:04:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:04:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:04:54 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:04:54 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:04:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:04:54 Europe/Berlin] Session role: not set
[08-Nov-2025 17:04:54 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:04:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:04:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:04:54 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:04:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:04:54 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:04:54 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:08:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:08:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:08:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:08:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:08:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:08:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:08:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:08:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:08:28 Europe/Berlin] Session role: not set
[08-Nov-2025 17:08:28 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:08:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:08:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:08:28 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:08:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:08:28 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:08:28 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:09:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:09:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:09:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:09:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:09:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:09:28 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:09:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:09:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:09:28 Europe/Berlin] Session role: not set
[08-Nov-2025 17:09:28 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:09:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:09:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:09:28 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:09:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:09:28 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:09:28 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:15:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:15:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:15:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:15:23 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:15:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:15:23 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:15:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:15:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:15:23 Europe/Berlin] Session role: not set
[08-Nov-2025 17:15:23 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:15:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:15:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:15:23 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:15:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:15:23 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:15:23 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:17:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:17:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:17:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:17:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:17:57 Europe/Berlin] Session role: not set
[08-Nov-2025 17:17:57 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:17:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:17:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:17:57 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:17:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:17:57 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:17:57 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:19:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:19:03 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:19:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:19:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:03 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:19:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:19:03 Europe/Berlin] Session role: not set
[08-Nov-2025 17:19:03 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:19:03 UTC] DB Connection Status: Connected
[08-Nov-2025 16:19:03 UTC] User with ID 14 found
[08-Nov-2025 16:19:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:19:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:19:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:19:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:19:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:19:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:19:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:19:07 Europe/Berlin] Session role: not set
[08-Nov-2025 17:19:07 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:19:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:19:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:19:07 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:19:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:19:07 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:19:07 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:20:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:20:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:20:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:20:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:20:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:20:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:20:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:20:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:20:33 Europe/Berlin] Session role: not set
[08-Nov-2025 17:20:33 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:20:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:20:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:20:33 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:20:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:20:33 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:20:33 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:24:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:24:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:24:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:24:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:24:57 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:24:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:24:57 Europe/Berlin] Session role: not set
[08-Nov-2025 17:24:57 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:24:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:24:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:24:57 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:24:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:24:57 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:24:57 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:26:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:26:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:26:33 Europe/Berlin] Session role: not set
[08-Nov-2025 17:26:33 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:26:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:33 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:26:33 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:26:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:26:33 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:26:33 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:29:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:29:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:29:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:29:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:29:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:29:11 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:29:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:29:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:29:11 Europe/Berlin] Session role: not set
[08-Nov-2025 17:29:11 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:29:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:29:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:29:11 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:29:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:29:11 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:29:11 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:30:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:30:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:30:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:30:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:07 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:30:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:30:07 Europe/Berlin] Session role: not set
[08-Nov-2025 17:30:07 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:30:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:30:07 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:30:08 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:30:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:30:08 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:30:08 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:30:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:30:12 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:30:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:12 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:12 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:30:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:30:12 Europe/Berlin] Session role: not set
[08-Nov-2025 17:30:12 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:30:12 UTC] DB Connection Status: Connected
[08-Nov-2025 16:30:12 UTC] User with ID 14 found
[08-Nov-2025 16:30:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:31:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:31:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:31:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:33 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:31:33 Europe/Berlin] Session role: not set
[08-Nov-2025 17:31:33 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:31:33 UTC] DB Connection Status: Connected
[08-Nov-2025 16:31:33 UTC] User with ID 14 found
[08-Nov-2025 16:31:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:31:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:31:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:31:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:35 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:31:35 Europe/Berlin] Session role: not set
[08-Nov-2025 17:31:35 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:31:35 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:31:35 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:31:35 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:31:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:31:35 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:31:35 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:31:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:31:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:31:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:31:37 Europe/Berlin] Session role: not set
[08-Nov-2025 17:31:37 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:31:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:31:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:31:37 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:31:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:31:37 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:31:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:31:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:31:43 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:31:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:43 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:43 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:31:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:31:43 Europe/Berlin] Session role: not set
[08-Nov-2025 17:31:43 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:31:43 UTC] DB Connection Status: Connected
[08-Nov-2025 16:31:43 UTC] User with ID 14 found
[08-Nov-2025 16:31:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:39:35 Europe/Berlin] PHP Warning:  require_once(../config/database.php): failed to open stream: No such file or directory in /home/twpurnyc/public_html/teacher/view-course.php on line 8
[08-Nov-2025 17:39:35 Europe/Berlin] PHP Fatal error:  require_once(): Failed opening required '../config/database.php' (include_path='C:\Users\user\Downloads\xamppfile\php\PEAR') in /home/twpurnyc/public_html/teacher/view-course.php on line 8
[08-Nov-2025 17:41:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:41:31 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:41:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:41:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:41:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:41:31 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:41:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:41:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:41:31 Europe/Berlin] Session role: not set
[08-Nov-2025 17:41:31 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined index: teacher_id in /home/twpurnyc/public_html/teacher/view-course.php on line 13
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: host in /home/twpurnyc/public_html/teacher/view-course.php on line 21
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: dbname in /home/twpurnyc/public_html/teacher/view-course.php on line 21
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: username in /home/twpurnyc/public_html/teacher/view-course.php on line 21
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: password in /home/twpurnyc/public_html/teacher/view-course.php on line 21
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 111
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 111
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 122
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 122
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 123
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 123
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 125
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 125
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 126
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 126
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 127
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 127
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 131
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 131
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 135
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 135
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 141
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 141
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 143
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 143
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 169
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 169
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 171
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 171
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 172
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 172
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 191
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 191
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 202
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 202
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 213
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 213
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: course in /home/twpurnyc/public_html/teacher/view-course.php on line 225
[08-Nov-2025 16:41:31 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/view-course.php on line 225
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: videos in /home/twpurnyc/public_html/teacher/view-course.php on line 242
[08-Nov-2025 16:41:31 UTC] Error 2: count(): Parameter must be an array or an object that implements Countable in /home/twpurnyc/public_html/teacher/view-course.php on line 242
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: quizzes in /home/twpurnyc/public_html/teacher/view-course.php on line 248
[08-Nov-2025 16:41:31 UTC] Error 2: count(): Parameter must be an array or an object that implements Countable in /home/twpurnyc/public_html/teacher/view-course.php on line 248
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: students in /home/twpurnyc/public_html/teacher/view-course.php on line 254
[08-Nov-2025 16:41:31 UTC] Error 2: count(): Parameter must be an array or an object that implements Countable in /home/twpurnyc/public_html/teacher/view-course.php on line 254
[08-Nov-2025 16:41:31 UTC] Error 8: Undefined variable: ratings in /home/twpurnyc/public_html/teacher/view-course.php on line 260
[08-Nov-2025 16:41:31 UTC] Error 2: count(): Parameter must be an array or an object that implements Countable in /home/twpurnyc/public_html/teacher/view-course.php on line 260
[08-Nov-2025 17:42:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:42:25 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:42:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:42:25 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:42:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:42:25 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:42:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:42:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:42:25 Europe/Berlin] Session role: not set
[08-Nov-2025 17:42:25 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:42:25 UTC] DB Connection Status: Connected
[08-Nov-2025 16:42:25 UTC] User with ID 14 found
[08-Nov-2025 16:42:25 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:45:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:45:30 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:45:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:30 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:30 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:45:30 Europe/Berlin] Session role: not set
[08-Nov-2025 17:45:30 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:45:30 UTC] DB Connection Status: Connected
[08-Nov-2025 16:45:30 UTC] User with ID 14 found
[08-Nov-2025 16:45:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Nov-2025 17:45:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:45:32 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:45:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:32 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:32 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:45:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:45:32 Europe/Berlin] Session role: not set
[08-Nov-2025 17:45:32 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:45:32 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/view-course.php:46
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/view-course.php on line 46
[08-Nov-2025 17:48:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:48:17 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:48:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:48:17 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:48:17 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:48:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:48:17 Europe/Berlin] Session role: not set
[08-Nov-2025 17:48:17 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 100
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 120
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:48:17 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 17:53:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:53:15 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:53:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:53:15 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:53:15 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:53:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:53:15 Europe/Berlin] Session role: not set
[08-Nov-2025 17:53:15 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 100
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 120
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: thumbnail_url in /home/twpurnyc/public_html/teacher/view-course.php on line 273
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 282
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 283
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: duration in /home/twpurnyc/public_html/teacher/view-course.php on line 285
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: views in /home/twpurnyc/public_html/teacher/view-course.php on line 299
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: time_limit in /home/twpurnyc/public_html/teacher/view-course.php on line 358
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: passing_score in /home/twpurnyc/public_html/teacher/view-course.php on line 363
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 367
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: is_published in /home/twpurnyc/public_html/teacher/view-course.php on line 368
[08-Nov-2025 16:53:15 UTC] Error 8: Undefined index: created_at in /home/twpurnyc/public_html/teacher/view-course.php on line 373
[08-Nov-2025 17:54:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:54:08 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:54:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:54:08 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:54:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:54:08 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:54:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:54:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:54:08 Europe/Berlin] Session role: not set
[08-Nov-2025 17:54:08 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:54:09 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 130
[08-Nov-2025 16:54:09 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 150
[08-Nov-2025 17:56:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:56:42 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:56:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:56:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:56:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:56:42 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:56:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:56:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:56:42 Europe/Berlin] Session role: not set
[08-Nov-2025 17:56:42 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:56:42 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 130
[08-Nov-2025 16:56:42 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 150
[08-Nov-2025 17:58:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:58:47 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Nov-2025 17:58:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:58:47 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:58:47 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:58:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:58:47 Europe/Berlin] Session role: not set
[08-Nov-2025 17:58:47 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:58:47 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 130
[08-Nov-2025 16:58:47 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 150
[08-Nov-2025 17:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:59:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Nov-2025 17:59:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:37 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:59:37 Europe/Berlin] Session role: not set
[08-Nov-2025 17:59:37 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:59:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:59:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 16:59:37 UTC] Fetching videos for teacher_id: 14
[08-Nov-2025 16:59:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Nov-2025 16:59:37 UTC] Found 3 videos for teacher 14
[08-Nov-2025 16:59:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[08-Nov-2025 17:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Nov-2025 17:59:48 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Nov-2025 17:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:48 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:48 Europe/Berlin] isLoggedIn check result: true
[08-Nov-2025 17:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762615184
    [last_regeneration] => 1762615184
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762615184
    [session_started_at] => 2025-11-08 16:20:19
    [login_redirect_count] => 0
)

[08-Nov-2025 17:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Nov-2025 17:59:48 Europe/Berlin] Session role: not set
[08-Nov-2025 17:59:48 Europe/Berlin] Session user_role: teacher
[08-Nov-2025 16:59:48 UTC] DB Connection Status: Connected
[08-Nov-2025 16:59:48 UTC] User with ID 14 found
[08-Nov-2025 16:59:48 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Nov-2025 15:28:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Nov-2025 15:28:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Nov-2025 15:28:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-09 15:28:54
)

[09-Nov-2025 15:28:54 Europe/Berlin] isLoggedIn check result: false
[09-Nov-2025 15:28:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-09 15:28:54
)

[09-Nov-2025 18:20:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Nov-2025 18:20:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Nov-2025 18:20:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-09 18:20:25
)

[09-Nov-2025 18:20:25 Europe/Berlin] isLoggedIn check result: false
[09-Nov-2025 18:20:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-09 18:20:25
)

[09-Nov-2025 18:21:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Nov-2025 18:21:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Nov-2025 18:21:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-09 18:21:12
)

[09-Nov-2025 18:21:12 Europe/Berlin] isLoggedIn check result: false
[09-Nov-2025 18:21:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-09 18:21:12
)

[10-Nov-2025 05:52:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 05:52:04 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 05:52:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
)

[10-Nov-2025 05:52:04 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 05:52:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
)

[10-Nov-2025 06:03:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 06:03:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:29 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:29 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:29 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:29 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:29 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:29 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:29 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 05:03:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 05:03:29 UTC] Found 3 videos for teacher 14
[10-Nov-2025 05:03:30 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 06:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:37 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:03:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:37 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:37 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:37 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:37 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:37 UTC] DB Connection Status: Connected
[10-Nov-2025 05:03:37 UTC] User with ID 14 found
[10-Nov-2025 05:03:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:03:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 06:03:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:42 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:42 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:42 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:42 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:42 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:42 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:42 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 05:03:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 05:03:42 UTC] Found 3 videos for teacher 14
[10-Nov-2025 05:03:42 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 06:03:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 06:03:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:50 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:50 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:50 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:50 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 05:03:50 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 05:03:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 05:03:50 UTC] Found 3 videos for teacher 14
[10-Nov-2025 05:03:50 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 06:03:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:52 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:03:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:52 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:52 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:52 UTC] DB Connection Status: Connected
[10-Nov-2025 05:03:52 UTC] User with ID 14 found
[10-Nov-2025 05:03:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:03:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:03:56 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 06:03:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:03:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 05:52:03
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1762751009
    [last_regeneration] => 1762751009
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762751009
)

[10-Nov-2025 06:03:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:03:56 Europe/Berlin] Session role: not set
[10-Nov-2025 06:03:56 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:03:56 UTC] Error 8: Undefined index: course_image in /home/twpurnyc/public_html/teacher/view-course.php on line 130
[10-Nov-2025 05:03:56 UTC] Error 8: Undefined index: category in /home/twpurnyc/public_html/teacher/view-course.php on line 150
[10-Nov-2025 06:25:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:25:51 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:25:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 06:25:51
)

[10-Nov-2025 06:25:51 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 06:25:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 06:25:51
)

[10-Nov-2025 06:25:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:25:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 06:25:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
)

[10-Nov-2025 06:25:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
)

[10-Nov-2025 06:25:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
)

[10-Nov-2025 06:25:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:25:56 Europe/Berlin] Session role: not set
[10-Nov-2025 06:25:56 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:25:56 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 05:25:56 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 05:25:56 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 05:25:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 05:25:56 UTC] Found 3 videos for teacher 14
[10-Nov-2025 05:25:56 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 06:26:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:26:07 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Nov-2025 06:26:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:26:07 Europe/Berlin] Session role: not set
[10-Nov-2025 06:26:07 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:26:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:26:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:26:11 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:26:11 Europe/Berlin] Session role: not set
[10-Nov-2025 06:26:11 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:26:11 UTC] DB Connection Status: Connected
[10-Nov-2025 05:26:11 UTC] User with ID 14 found
[10-Nov-2025 05:26:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:26:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:26:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:26:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:26:14 Europe/Berlin] Session role: not set
[10-Nov-2025 06:26:14 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:26:14 UTC] DB Connection Status: Connected
[10-Nov-2025 05:26:14 UTC] User with ID 14 found
[10-Nov-2025 05:26:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:26:18 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:18 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:18 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:26:18 Europe/Berlin] Session role: not set
[10-Nov-2025 06:26:18 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:26:18 UTC] DB Connection Status: Connected
[10-Nov-2025 05:26:18 UTC] User with ID 14 found
[10-Nov-2025 05:26:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:33:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:33:51 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 06:33:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:33:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:33:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:33:51 Europe/Berlin] Session role: not set
[10-Nov-2025 06:33:51 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:33:51 UTC] DB Connection Status: Connected
[10-Nov-2025 05:33:51 UTC] User with ID 14 found
[10-Nov-2025 05:33:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 06:33:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:33:54 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 06:33:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:33:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:33:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:33:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:33:54 Europe/Berlin] Session role: not set
[10-Nov-2025 06:33:54 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 05:33:54 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/view-course.php:44
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/view-course.php on line 44
[10-Nov-2025 06:36:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:36:35 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 06:36:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:36:35 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:36:35 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:36:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:36:35 Europe/Berlin] Session role: not set
[10-Nov-2025 06:36:35 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:45:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:45:22 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 06:45:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:45:22 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:45:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:45:22 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:45:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:45:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:45:22 Europe/Berlin] Session role: not set
[10-Nov-2025 06:45:22 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:49:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 06:49:55 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 06:49:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:49:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:49:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:49:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 06:49:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 06:49:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 06:49:55 Europe/Berlin] Session role: not set
[10-Nov-2025 06:49:55 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:01:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 07:01:52 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 07:01:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:01:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:01:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:01:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 07:01:52 Europe/Berlin] Session role: not set
[10-Nov-2025 07:01:52 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:01:52 UTC] Videos found for course 13: 3
[10-Nov-2025 06:01:52 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:01:52 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:01:52 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:01:52 UTC] Found 2 records in enrollments for course 13
[10-Nov-2025 07:07:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 07:07:32 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 07:07:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:07:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:07:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:07:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:07:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:07:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 07:07:32 Europe/Berlin] Session role: not set
[10-Nov-2025 07:07:32 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:07:33 UTC] Videos found for course 13: 3
[10-Nov-2025 06:07:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:07:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:07:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:07:33 UTC] Error 8: Undefined index: enrollment_date in /home/twpurnyc/public_html/teacher/view-course.php on line 794
[10-Nov-2025 06:07:33 UTC] Error 8: Undefined index: enrollment_date in /home/twpurnyc/public_html/teacher/view-course.php on line 794
[10-Nov-2025 07:18:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 07:18:25 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 07:18:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:18:25 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:18:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:18:25 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:18:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:18:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 07:18:25 Europe/Berlin] Session role: not set
[10-Nov-2025 07:18:25 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:18:25 UTC] Videos found for course 13: 3
[10-Nov-2025 06:18:25 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:18:25 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:18:25 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 07:30:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 07:30:09 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 07:30:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:30:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:30:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:30:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:30:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:30:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 07:30:09 Europe/Berlin] Session role: not set
[10-Nov-2025 07:30:09 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:30:10 UTC] Videos found for course 13: 3
[10-Nov-2025 06:30:10 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:30:10 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:30:10 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 07:46:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 07:46:39 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 07:46:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:46:39 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:46:39 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 07:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762752356
    [last_regeneration] => 1762752356
    [stored_redirect] => /teacher/courses.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762752356
    [session_started_at] => 2025-11-10 06:25:56
    [login_redirect_count] => 0
)

[10-Nov-2025 07:46:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 07:46:39 Europe/Berlin] Session role: not set
[10-Nov-2025 07:46:39 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 06:46:39 UTC] Videos found for course 13: 3
[10-Nov-2025 06:46:39 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:46:39 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 06:46:39 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 592
[10-Nov-2025 08:03:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:03:22 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 08:03:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 08:03:22
)

[10-Nov-2025 08:03:22 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 08:03:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 08:03:22
)

[10-Nov-2025 08:06:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:06:53 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[10-Nov-2025 08:06:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 08:06:53
)

[10-Nov-2025 08:06:53 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 08:06:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 08:06:53
)

[10-Nov-2025 08:06:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:06:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 08:06:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
)

[10-Nov-2025 08:06:58 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
)

[10-Nov-2025 08:06:58 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
)

[10-Nov-2025 08:06:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:06:58 Europe/Berlin] Session role: not set
[10-Nov-2025 08:06:58 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:06:58 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 07:06:58 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 07:06:58 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 07:06:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 07:06:58 UTC] Found 3 videos for teacher 14
[10-Nov-2025 07:06:58 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 08:07:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:07:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 08:07:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:07:02 Europe/Berlin] Session role: not set
[10-Nov-2025 08:07:02 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:07:02 UTC] DB Connection Status: Connected
[10-Nov-2025 07:07:02 UTC] User with ID 14 found
[10-Nov-2025 07:07:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 08:07:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:07:05 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:07:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:07:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:07:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:07:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:07:05 Europe/Berlin] Session role: not set
[10-Nov-2025 08:07:05 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:07:05 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:07:05 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:07:05 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 08:10:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:10:00 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:10:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:10:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:10:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:10:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:10:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:10:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:10:00 Europe/Berlin] Session role: not set
[10-Nov-2025 08:10:00 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:10:00 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:10:00 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:10:00 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 08:12:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:12:42 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:12:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:12:42 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:12:42 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:12:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:12:42 Europe/Berlin] Session role: not set
[10-Nov-2025 08:12:42 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:12:42 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:12:42 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:12:42 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 08:14:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:14:28 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:14:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:14:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:14:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:14:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:14:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:14:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:14:28 Europe/Berlin] Session role: not set
[10-Nov-2025 08:14:28 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:14:28 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:14:28 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:14:28 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 08:16:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:16:51 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:16:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:16:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:16:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:16:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:16:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762758417
    [last_regeneration] => 1762758417
    [stored_redirect] => /teacher/create_quiz.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762758417
    [session_started_at] => 2025-11-10 08:06:58
    [login_redirect_count] => 0
)

[10-Nov-2025 08:16:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:16:51 Europe/Berlin] Session role: not set
[10-Nov-2025 08:16:51 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:16:51 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:16:51 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 07:16:51 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 583
[10-Nov-2025 08:18:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:18:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 08:18:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
)

[10-Nov-2025 08:18:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
)

[10-Nov-2025 08:18:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
)

[10-Nov-2025 08:18:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:18:55 Europe/Berlin] Session role: not set
[10-Nov-2025 08:18:55 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:18:55 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:18:55 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:18:55 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 07:18:55 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 07:18:55 UTC] Found 3 videos for teacher 14
[10-Nov-2025 07:18:55 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 08:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:20:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 08:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:20:49 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:20:49 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:20:49 Europe/Berlin] Session role: not set
[10-Nov-2025 08:20:49 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:20:49 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:20:49 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:20:49 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 07:20:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 07:20:49 UTC] Found 3 videos for teacher 14
[10-Nov-2025 07:20:49 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 08:23:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:23:06 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 08:23:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:23:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:23:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:23:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:23:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:23:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:23:06 Europe/Berlin] Session role: not set
[10-Nov-2025 08:23:06 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:23:06 UTC] DB Connection Status: Connected
[10-Nov-2025 07:23:06 UTC] User with ID 14 found
[10-Nov-2025 07:23:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 08:26:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:26:33 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:26:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:26:33 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:26:33 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:26:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:26:33 Europe/Berlin] Session role: not set
[10-Nov-2025 08:26:33 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:26:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 848
[10-Nov-2025 07:26:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 848
[10-Nov-2025 07:26:33 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 848
[10-Nov-2025 08:30:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:30:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 08:30:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:30:23 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:30:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:30:23 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:30:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:30:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:30:23 Europe/Berlin] Session role: not set
[10-Nov-2025 08:30:23 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:30:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:30:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:30:23 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 07:30:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 07:30:23 UTC] Found 3 videos for teacher 14
[10-Nov-2025 07:30:23 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 08:32:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:32:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 08:32:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:32:12 Europe/Berlin] Session role: not set
[10-Nov-2025 08:32:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:32:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:32:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 07:32:12 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 07:32:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 07:32:12 UTC] Found 3 videos for teacher 14
[10-Nov-2025 07:32:12 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 08:32:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:32:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 08:32:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:32:14 Europe/Berlin] Session role: not set
[10-Nov-2025 08:32:14 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:32:14 UTC] DB Connection Status: Connected
[10-Nov-2025 07:32:14 UTC] User with ID 14 found
[10-Nov-2025 07:32:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 08:32:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:32:17 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:32:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:17 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:17 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:32:17 Europe/Berlin] Session role: not set
[10-Nov-2025 08:32:17 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:32:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:32:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:32:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 08:32:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:32:47 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:32:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:47 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:47 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:32:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:32:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:32:47 Europe/Berlin] Session role: not set
[10-Nov-2025 08:32:47 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:32:47 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:32:47 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:32:47 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 08:34:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:34:33 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:34:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:34:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:34:33 Europe/Berlin] Session role: not set
[10-Nov-2025 08:34:33 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:34:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:34:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 07:34:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 811
[10-Nov-2025 08:41:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:41:01 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:41:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:41:01 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:41:01 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:41:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:41:01 Europe/Berlin] Session role: not set
[10-Nov-2025 08:41:01 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:41:01 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 07:41:01 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 07:41:01 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 08:43:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:43:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:43:30 Europe/Berlin] Session role: not set
[10-Nov-2025 08:43:30 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:43:30 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 07:43:30 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 07:43:30 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 820
[10-Nov-2025 08:47:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:47:24 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:47:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:47:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:47:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:47:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:47:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:47:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:47:24 Europe/Berlin] Session role: not set
[10-Nov-2025 08:47:24 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:47:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 07:47:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 07:47:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 08:48:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:48:24 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:48:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:48:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:48:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:48:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:48:24 Europe/Berlin] Session role: not set
[10-Nov-2025 08:48:24 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:48:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 07:48:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 07:48:24 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 823
[10-Nov-2025 08:50:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:50:12 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:50:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:50:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:50:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:50:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:50:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:50:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:50:12 Europe/Berlin] Session role: not set
[10-Nov-2025 08:50:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:50:12 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 825
[10-Nov-2025 07:50:12 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 825
[10-Nov-2025 07:50:12 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 825
[10-Nov-2025 08:51:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:51:46 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:51:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:51:46 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:51:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:51:46 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:51:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:51:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:51:46 Europe/Berlin] Session role: not set
[10-Nov-2025 08:51:46 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:51:46 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 835
[10-Nov-2025 07:51:46 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 835
[10-Nov-2025 07:51:46 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 835
[10-Nov-2025 08:53:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:53:40 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 08:53:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:40 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:53:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:40 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:53:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:53:40 Europe/Berlin] Session role: not set
[10-Nov-2025 08:53:40 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:53:40 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 07:53:40 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 07:53:40 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 08:53:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:53:43 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 08:53:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:53:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:53:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:53:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:53:43 Europe/Berlin] Session role: not set
[10-Nov-2025 08:53:43 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:53:43 UTC] DB Connection Status: Connected
[10-Nov-2025 07:53:43 UTC] User with ID 14 found
[10-Nov-2025 07:53:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 08:58:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 08:58:13 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 08:58:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:58:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:58:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:58:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 08:58:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:58:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 08:58:13 Europe/Berlin] Session role: not set
[10-Nov-2025 08:58:13 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 07:58:13 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/manage-content.php:30
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/manage-content.php on line 30
[10-Nov-2025 09:05:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:05:11 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:05:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:05:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:05:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:05:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:05:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:05:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:05:11 Europe/Berlin] Session role: not set
[10-Nov-2025 09:05:11 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:05:11 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/manage-content.php:30
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/manage-content.php on line 30
[10-Nov-2025 09:07:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:07:38 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:07:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:07:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:07:38 Europe/Berlin] Session role: not set
[10-Nov-2025 09:07:38 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:13:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:13:11 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:13:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:13:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:13:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:13:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:13:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:13:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:13:11 Europe/Berlin] Session role: not set
[10-Nov-2025 09:13:11 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:18:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:18:44 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:18:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:18:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:18:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:18:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:18:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:18:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:18:44 Europe/Berlin] Session role: not set
[10-Nov-2025 09:18:44 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:19:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:19:05 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:19:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:19:05 Europe/Berlin] Session role: not set
[10-Nov-2025 09:19:05 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:19:48 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:19:48 Europe/Berlin] Session role: not set
[10-Nov-2025 09:19:48 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:19:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:19:55 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 09:19:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:19:55 Europe/Berlin] Session role: not set
[10-Nov-2025 09:19:55 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:19:55 UTC] DB Connection Status: Connected
[10-Nov-2025 08:19:55 UTC] User with ID 14 found
[10-Nov-2025 08:19:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 09:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:19:57 Europe/Berlin] Teacher Auth Check - Script: videos.php
[10-Nov-2025 09:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:19:57 Europe/Berlin] Session role: not set
[10-Nov-2025 09:19:57 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:20:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:20:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:20:52 Europe/Berlin] Teacher Auth Check - Script: videos.php
[10-Nov-2025 09:20:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:52 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:20:52 Europe/Berlin] Session role: not set
[10-Nov-2025 09:20:52 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:20:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:20:56 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 09:20:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:20:56 Europe/Berlin] Session role: not set
[10-Nov-2025 09:20:56 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:20:56 UTC] DB Connection Status: Connected
[10-Nov-2025 08:20:56 UTC] User with ID 14 found
[10-Nov-2025 08:20:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 09:20:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:20:58 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:20:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:58 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:58 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:20:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:20:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:20:58 Europe/Berlin] Session role: not set
[10-Nov-2025 09:20:58 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:02 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:25:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:02 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:02 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:04 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:25:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:04 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:04 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:07 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[10-Nov-2025 09:25:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:07 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:07 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:25:07 UTC] isLoggedIn check result: true
[10-Nov-2025 08:25:07 UTC] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:25:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 08:25:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 08:25:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 08:25:07 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 09:25:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:10 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:25:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:10 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:10 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:10 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:10 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:24 Europe/Berlin] Teacher Auth Check - Script: videos.php
[10-Nov-2025 09:25:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:24 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:24 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[10-Nov-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:28 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:28 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:25:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:38 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 09:25:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:38 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:38 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:25:38 UTC] DB Connection Status: Connected
[10-Nov-2025 08:25:38 UTC] User with ID 14 found
[10-Nov-2025 08:25:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 09:25:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:25:43 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 09:25:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:25:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:25:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:25:43 Europe/Berlin] Session role: not set
[10-Nov-2025 09:25:43 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:25:43 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/analytics.php:119
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/analytics.php on line 119
[10-Nov-2025 09:27:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:27:31 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 09:27:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:27:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:27:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:27:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:27:31 Europe/Berlin] Session role: not set
[10-Nov-2025 09:27:31 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:27:31 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 08:27:31 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 08:27:31 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 09:45:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:45:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 09:45:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 09:45:09
)

[10-Nov-2025 09:45:10 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 09:45:10 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 09:45:09
)

[10-Nov-2025 09:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 09:51:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 09:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:51:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:51:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 09:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 09:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 09:51:57 Europe/Berlin] Session role: not set
[10-Nov-2025 09:51:57 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 08:51:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:51:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762759135
    [last_regeneration] => 1762759135
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762759135
    [session_started_at] => 2025-11-10 08:18:55
    [login_redirect_count] => 0
)

[10-Nov-2025 08:51:57 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 08:51:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 08:51:57 UTC] Found 3 videos for teacher 14
[10-Nov-2025 08:51:57 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 10:41:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:41:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 10:41:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
)

[10-Nov-2025 10:41:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
)

[10-Nov-2025 10:41:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
)

[10-Nov-2025 10:41:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:41:30 Europe/Berlin] Session role: not set
[10-Nov-2025 10:41:30 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:41:30 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 09:41:30 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 09:41:30 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 09:41:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 09:41:30 UTC] Found 3 videos for teacher 14
[10-Nov-2025 09:41:30 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 10:41:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:41:35 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:41:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:41:35 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:41:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:41:35 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:41:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:41:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:41:35 Europe/Berlin] Session role: not set
[10-Nov-2025 10:41:35 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:41:36 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:41:36 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:41:36 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 10:42:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:42:12 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:42:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:42:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:42:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:42:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:42:12 Europe/Berlin] Session role: not set
[10-Nov-2025 10:42:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:42:12 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:42:12 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:42:12 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 10:45:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:45:50 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:45:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:45:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:45:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:45:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:45:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:45:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:45:50 Europe/Berlin] Session role: not set
[10-Nov-2025 10:45:50 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:45:51 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:45:51 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:45:51 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 10:50:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:50:41 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:50:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:50:41 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:50:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:50:41 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:50:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:50:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:50:41 Europe/Berlin] Session role: not set
[10-Nov-2025 10:50:41 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:50:41 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:50:41 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:50:41 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 10:53:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:53:54 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:53:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:53:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:53:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:53:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:53:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:53:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:53:54 Europe/Berlin] Session role: not set
[10-Nov-2025 10:53:54 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:53:54 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:53:54 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:53:54 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 10:57:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 10:57:29 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 10:57:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:57:29 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:57:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:57:29 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 10:57:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 10:57:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 10:57:29 Europe/Berlin] Session role: not set
[10-Nov-2025 10:57:29 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 09:57:29 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 09:57:29 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 09:57:29 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:02:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:02:13 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:02:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:02:13 Europe/Berlin] Session role: not set
[10-Nov-2025 11:02:13 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:02:13 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:02:13 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:02:13 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:02:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:02:18 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:02:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:18 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:18 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:02:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:02:18 Europe/Berlin] Session role: not set
[10-Nov-2025 11:02:18 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:02:18 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:02:18 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:02:18 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:05:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:05:56 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:05:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:05:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:05:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:05:56 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:05:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:05:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:05:56 Europe/Berlin] Session role: not set
[10-Nov-2025 11:05:56 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:05:59 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:06:00 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:06:00 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:12:20 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:12:20 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:12:20 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:12:20 Europe/Berlin] Session role: not set
[10-Nov-2025 11:12:20 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:12:21 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:12:21 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:12:21 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:24:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:24:13 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:24:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:24:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:24:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:24:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:24:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:24:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:24:13 Europe/Berlin] Session role: not set
[10-Nov-2025 11:24:13 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:24:13 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:24:13 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:24:13 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:25:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:25:38 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:25:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:25:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:25:38 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:25:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:25:38 Europe/Berlin] Session role: not set
[10-Nov-2025 11:25:38 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:25:38 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:25:38 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:25:38 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:27:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:27:46 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:27:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:27:46 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:27:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:27:46 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:27:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:27:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:27:46 Europe/Berlin] Session role: not set
[10-Nov-2025 11:27:46 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:27:46 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:27:46 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:27:46 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 11:36:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 11:36:31 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 11:36:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:36:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:36:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:36:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 11:36:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 11:36:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 11:36:31 Europe/Berlin] Session role: not set
[10-Nov-2025 11:36:31 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 10:36:31 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 10:36:31 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 10:36:31 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 12:04:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:04:16 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[10-Nov-2025 12:04:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:16 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:16 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762767689
    [last_regeneration] => 1762767689
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762767689
    [session_started_at] => 2025-11-10 10:41:29
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:04:16 Europe/Berlin] Session role: not set
[10-Nov-2025 12:04:16 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:04:16 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[10-Nov-2025 11:04:16 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[10-Nov-2025 11:04:16 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[10-Nov-2025 12:04:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:04:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:04:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 12:04:21
)

[10-Nov-2025 12:04:21 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 12:04:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 12:04:21
)

[10-Nov-2025 12:04:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:04:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:04:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
)

[10-Nov-2025 12:04:45 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
)

[10-Nov-2025 12:04:45 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
)

[10-Nov-2025 12:04:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:04:45 Europe/Berlin] Session role: not set
[10-Nov-2025 12:04:45 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:04:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:04:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:04:45 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:04:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:04:45 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:04:45 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:04:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:04:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:04:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:04:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:04:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:04:51 Europe/Berlin] Session role: not set
[10-Nov-2025 12:04:51 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:04:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:04:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:04:51 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:04:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:04:51 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:04:51 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:07:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:07:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:07:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:07:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:07:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:07:09 Europe/Berlin] Session role: not set
[10-Nov-2025 12:07:09 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:07:09 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:07:09 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:07:09 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:07:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:07:09 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:07:09 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:07:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:07:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:07:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:54 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 12:07:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:07:54 Europe/Berlin] Session role: not set
[10-Nov-2025 12:07:54 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:07:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:07:54 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762772685
    [last_regeneration] => 1762772685
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762772685
    [session_started_at] => 2025-11-10 12:04:45
    [login_redirect_count] => 0
)

[10-Nov-2025 11:07:54 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:07:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:07:54 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:07:54 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:10:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:10:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:10:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-10 12:10:55
)

[10-Nov-2025 12:10:55 Europe/Berlin] isLoggedIn check result: false
[10-Nov-2025 12:10:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-10 12:10:55
)

[10-Nov-2025 12:11:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:11:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:11:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
)

[10-Nov-2025 12:11:01 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
)

[10-Nov-2025 12:11:01 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
)

[10-Nov-2025 12:11:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:11:01 Europe/Berlin] Session role: not set
[10-Nov-2025 12:11:01 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:11:01 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 11:11:01 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 11:11:01 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:11:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:11:01 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:11:01 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:11:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:11:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:11:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 12:11:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 12:11:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 12:11:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:11:06 Europe/Berlin] Session role: not set
[10-Nov-2025 12:11:06 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:11:06 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 11:11:06 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773060
    [last_regeneration] => 1762773060
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773060
    [session_started_at] => 2025-11-10 12:11:01
    [login_redirect_count] => 0
)

[10-Nov-2025 11:11:06 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:11:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:11:06 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:11:07 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:13:31 Europe/Berlin] PHP Warning:  session_start(): open(C:\Users\user\Downloads\xamppfile\tmp/sess_qer93li0g8g86nt6ua8u4aftam, O_RDWR) failed: No such file or directory (2) in /home/twpurnyc/public_html/teacher/debug-withdrawal.php on line 7
[10-Nov-2025 12:13:31 Europe/Berlin] PHP Warning:  session_start(): Failed to read session data: files (path: C:\Users\user\Downloads\xamppfile\tmp) in /home/twpurnyc/public_html/teacher/debug-withdrawal.php on line 7
[10-Nov-2025 12:14:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:14:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:14:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
)

[10-Nov-2025 12:14:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
)

[10-Nov-2025 12:14:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
)

[10-Nov-2025 12:14:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:14:36 Europe/Berlin] Session role: not set
[10-Nov-2025 12:14:36 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:14:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 11:14:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 11:14:37 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:14:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:14:37 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:14:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:14:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:14:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:14:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:14:41 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:14:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:14:41 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:14:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:14:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:14:41 Europe/Berlin] Session role: not set
[10-Nov-2025 12:14:41 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:14:41 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 11:14:41 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 11:14:42 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:14:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:14:42 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:14:42 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:17:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:17:13 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:17:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:17:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:17:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:17:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:17:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:17:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:17:13 Europe/Berlin] Session role: not set
[10-Nov-2025 12:17:13 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:17:13 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/request-withdrawal.php:30
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 30
[10-Nov-2025 12:20:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:20:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:20:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:20:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:20:06 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:20:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:20:06 Europe/Berlin] Session role: not set
[10-Nov-2025 12:20:06 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:27:57 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:27:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:27:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:27:57 Europe/Berlin] Session role: not set
[10-Nov-2025 12:27:57 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:31:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:31:43 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:31:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:31:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:31:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762773276
    [last_regeneration] => 1762773276
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762773276
    [session_started_at] => 2025-11-10 12:14:36
    [login_redirect_count] => 0
)

[10-Nov-2025 12:31:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:31:43 Europe/Berlin] Session role: not set
[10-Nov-2025 12:31:43 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:37:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:37:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:37:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
)

[10-Nov-2025 12:37:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:37:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
)

[10-Nov-2025 12:37:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:37:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
)

[10-Nov-2025 12:37:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:37:19 Europe/Berlin] Session role: not set
[10-Nov-2025 12:37:19 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:37:19 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:37:19 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:37:19 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:37:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:37:19 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:37:19 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:38:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:38:04 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:38:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:38:04 Europe/Berlin] Session role: not set
[10-Nov-2025 12:38:04 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:38:04 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:38:04 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:38:05 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:38:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:38:05 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:38:05 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:38:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:38:07 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:38:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:07 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:38:07 Europe/Berlin] Session role: not set
[10-Nov-2025 12:38:07 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:38:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:38:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 12:38:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:24 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:38:24 Europe/Berlin] Session role: not set
[10-Nov-2025 12:38:24 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 11:38:24 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:38:24 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 11:38:24 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 11:38:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 11:38:24 UTC] Found 3 videos for teacher 14
[10-Nov-2025 11:38:24 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 12:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:38:28 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:38:28 Europe/Berlin] Session role: not set
[10-Nov-2025 12:38:28 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:43:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 12:43:04 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 12:43:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:43:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:43:04 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 12:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762774639
    [last_regeneration] => 1762774639
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762774639
    [session_started_at] => 2025-11-10 12:37:19
    [login_redirect_count] => 0
)

[10-Nov-2025 12:43:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 12:43:04 Europe/Berlin] Session role: not set
[10-Nov-2025 12:43:04 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 13:46:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 13:46:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 13:46:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
)

[10-Nov-2025 13:46:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:46:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
)

[10-Nov-2025 13:46:55 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:46:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
)

[10-Nov-2025 13:46:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 13:46:55 Europe/Berlin] Session role: not set
[10-Nov-2025 13:46:55 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:46:55 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 12:46:55 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 12:46:55 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 12:46:55 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 12:46:55 UTC] Found 3 videos for teacher 14
[10-Nov-2025 12:46:55 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 13:47:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 13:47:03 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 13:47:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:47:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:47:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:47:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 13:47:03 Europe/Berlin] Session role: not set
[10-Nov-2025 13:47:03 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 13:59:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 13:59:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 13:59:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:59:17 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:59:17 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 13:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 13:59:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 13:59:17 Europe/Berlin] Session role: not set
[10-Nov-2025 13:59:17 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 12:59:17 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 12:59:17 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762778814
    [last_regeneration] => 1762778814
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762778814
    [session_started_at] => 2025-11-10 13:46:55
    [login_redirect_count] => 0
)

[10-Nov-2025 12:59:17 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 12:59:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 12:59:17 UTC] Found 3 videos for teacher 14
[10-Nov-2025 12:59:17 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 15:06:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:06:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 15:06:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
)

[10-Nov-2025 15:06:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:06:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
)

[10-Nov-2025 15:06:51 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:06:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
)

[10-Nov-2025 15:06:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:06:51 Europe/Berlin] Session role: not set
[10-Nov-2025 15:06:51 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:06:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 14:06:51 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 14:06:51 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 14:06:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 14:06:51 UTC] Found 3 videos for teacher 14
[10-Nov-2025 14:06:51 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 15:09:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:09:12 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:09:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:09:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:09:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:09:12 Europe/Berlin] Session role: not set
[10-Nov-2025 15:09:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:09:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:09:21 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:09:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:21 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:21 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:09:21 Europe/Berlin] Session role: not set
[10-Nov-2025 15:09:21 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:10:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:10:36 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:10:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:10:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:10:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:10:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:10:36 Europe/Berlin] Session role: not set
[10-Nov-2025 15:10:36 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:11:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:11:05 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 15:11:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:11:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:11:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:11:05 Europe/Berlin] Session role: not set
[10-Nov-2025 15:11:05 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:11:05 UTC] DB Connection Status: Connected
[10-Nov-2025 14:11:05 UTC] User with ID 14 found
[10-Nov-2025 14:11:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 15:11:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:11:08 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[10-Nov-2025 15:11:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:08 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:08 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:11:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:11:08 Europe/Berlin] Session role: not set
[10-Nov-2025 15:11:08 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:11:08 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 14:11:08 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 14:11:08 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[10-Nov-2025 15:13:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:13:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 15:13:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:13:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:13:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:13:12 Europe/Berlin] Session role: not set
[10-Nov-2025 15:13:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:13:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 14:13:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 14:13:12 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 14:13:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 14:13:12 UTC] Found 3 videos for teacher 14
[10-Nov-2025 14:13:12 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 15:13:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:13:25 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[10-Nov-2025 15:13:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:25 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:25 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 15:13:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:13:25 Europe/Berlin] Session role: not set
[10-Nov-2025 15:13:25 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:13:25 UTC] isLoggedIn check result: true
[10-Nov-2025 14:13:25 UTC] Session data: Array
(
    [created_at] => 1762783610
    [last_regeneration] => 1762783610
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762783610
    [session_started_at] => 2025-11-10 15:06:51
    [login_redirect_count] => 0
)

[10-Nov-2025 14:13:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 14:13:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 14:13:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 14:13:25 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[10-Nov-2025 15:24:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:24:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 15:24:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
)

[10-Nov-2025 15:24:37 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
)

[10-Nov-2025 15:24:37 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
)

[10-Nov-2025 15:24:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:24:37 Europe/Berlin] Session role: not set
[10-Nov-2025 15:24:37 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:24:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 14:24:37 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 14:24:37 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 14:24:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 14:24:37 UTC] Found 3 videos for teacher 14
[10-Nov-2025 14:24:37 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 15:24:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:24:43 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:24:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:24:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:24:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:24:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:24:43 Europe/Berlin] Session role: not set
[10-Nov-2025 15:24:43 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:31:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:31:30 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:31:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:31:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:31:30 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:31:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:31:30 Europe/Berlin] Session role: not set
[10-Nov-2025 15:31:30 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:39:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:39:50 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 15:39:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:39:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:39:50 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:39:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:39:50 Europe/Berlin] Session role: not set
[10-Nov-2025 15:39:50 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:40:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:40:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 15:40:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:40:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:40:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:40:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:40:44 Europe/Berlin] Session role: not set
[10-Nov-2025 15:40:44 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:40:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 14:40:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 14:40:45 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 14:40:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 14:40:45 UTC] Found 3 videos for teacher 14
[10-Nov-2025 14:40:45 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 15:42:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 15:42:31 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 15:42:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:42:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:42:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:42:31 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 15:42:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762784677
    [last_regeneration] => 1762784677
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762784677
    [session_started_at] => 2025-11-10 15:24:37
    [login_redirect_count] => 0
)

[10-Nov-2025 15:42:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 15:42:31 Europe/Berlin] Session role: not set
[10-Nov-2025 15:42:31 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 14:42:31 UTC] DB Connection Status: Connected
[10-Nov-2025 14:42:31 UTC] User with ID 14 found
[10-Nov-2025 14:42:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:09:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:09:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:09:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
)

[10-Nov-2025 16:09:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:09:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
)

[10-Nov-2025 16:09:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:09:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
)

[10-Nov-2025 16:09:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:09:02 Europe/Berlin] Session role: not set
[10-Nov-2025 16:09:02 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:09:02 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:02 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:02 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:09:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:09:02 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:09:02 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:09:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:09:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:09:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 16:09:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:09:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 16:09:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:09:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 16:09:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:09:32 Europe/Berlin] Session role: not set
[10-Nov-2025 16:09:32 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:09:32 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:32 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787342
    [last_regeneration] => 1762787342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787342
    [session_started_at] => 2025-11-10 16:09:02
    [login_redirect_count] => 0
)

[10-Nov-2025 15:09:32 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:09:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:09:32 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:09:32 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:17:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
)

[10-Nov-2025 16:17:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
)

[10-Nov-2025 16:17:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
)

[10-Nov-2025 16:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:17:48 Europe/Berlin] Session role: not set
[10-Nov-2025 16:17:48 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:17:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:17:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:17:48 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:17:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:17:48 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:17:48 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:17:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:17:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:17:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:17:57 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:17:57 Europe/Berlin] Session role: not set
[10-Nov-2025 16:17:57 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:17:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:17:57 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:17:57 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:17:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:17:57 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:17:57 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:18:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:18:08 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:18:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:08 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:08 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:18:08 Europe/Berlin] Session role: not set
[10-Nov-2025 16:18:08 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:18:08 UTC] DB Connection Status: Connected
[10-Nov-2025 15:18:08 UTC] User with ID 14 found
[10-Nov-2025 15:18:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:18:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:18:12 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Nov-2025 16:18:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:18:12 Europe/Berlin] Session role: not set
[10-Nov-2025 16:18:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:18:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:18:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:18:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:18:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:15 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:15 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:18:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:18:15 Europe/Berlin] Session role: not set
[10-Nov-2025 16:18:15 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:18:15 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:18:15 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:18:15 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:18:15 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:18:15 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:18:15 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:28:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:28:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:28:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:28:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:28:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:28:44 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:28:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:28:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:28:44 Europe/Berlin] Session role: not set
[10-Nov-2025 16:28:44 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:28:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:28:44 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:28:44 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:28:44 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:28:44 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:28:44 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:29:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:29:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:29:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:29:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:29:02 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:29:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:29:02 Europe/Berlin] Session role: not set
[10-Nov-2025 16:29:02 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:29:02 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:29:02 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:29:02 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:29:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:29:02 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:29:02 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:33:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:33:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:33:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:33:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:33:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:33:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:33:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:33:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:33:03 Europe/Berlin] Session role: not set
[10-Nov-2025 16:33:03 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:33:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:33:03 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:33:03 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:33:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:33:03 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:33:04 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:34:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:34:27 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:34:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:27 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:34:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:27 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:34:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:34:27 Europe/Berlin] Session role: not set
[10-Nov-2025 16:34:27 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:34:27 UTC] DB Connection Status: Connected
[10-Nov-2025 15:34:27 UTC] User with ID 14 found
[10-Nov-2025 15:34:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:34:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:34:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:34:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:45 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:34:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:45 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:34:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:34:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:34:45 Europe/Berlin] Session role: not set
[10-Nov-2025 16:34:45 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:34:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:34:45 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:34:45 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:34:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:34:45 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:34:45 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:41:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:41:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:41:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:28 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:41:28 Europe/Berlin] Session role: not set
[10-Nov-2025 16:41:28 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:41:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:41:28 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:41:28 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:41:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:41:28 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:41:28 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:41:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:41:32 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:41:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:32 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:41:32 Europe/Berlin] Session role: not set
[10-Nov-2025 16:41:32 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:41:32 UTC] DB Connection Status: Connected
[10-Nov-2025 15:41:32 UTC] User with ID 14 found
[10-Nov-2025 15:41:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:41:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:41:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:41:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:36 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:41:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:41:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:41:36 Europe/Berlin] Session role: not set
[10-Nov-2025 16:41:36 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:41:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:41:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:41:36 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:41:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:41:36 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:41:36 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:42:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:42:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:42:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:42:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:42:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:42:48 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:42:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:42:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:42:48 Europe/Berlin] Session role: not set
[10-Nov-2025 16:42:48 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:42:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:42:48 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:42:48 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:42:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:42:48 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:42:48 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:47:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:47:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:47:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:12 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:47:12 Europe/Berlin] Session role: not set
[10-Nov-2025 16:47:12 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:47:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:47:12 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:47:12 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:47:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:47:12 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:47:12 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:47:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:47:19 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:47:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:47:19 Europe/Berlin] Session role: not set
[10-Nov-2025 16:47:19 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:47:19 UTC] DB Connection Status: Connected
[10-Nov-2025 15:47:19 UTC] User with ID 14 found
[10-Nov-2025 15:47:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:47:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:47:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:47:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:23 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:23 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:47:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:47:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:47:23 Europe/Berlin] Session role: not set
[10-Nov-2025 16:47:23 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:47:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:47:23 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:47:23 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:47:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:47:23 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:47:23 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:52:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:52:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:52:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:52:00 Europe/Berlin] Session role: not set
[10-Nov-2025 16:52:00 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:52:00 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:52:00 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:52:00 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:52:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:52:00 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:52:00 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:52:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:52:09 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:52:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:09 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:52:09 Europe/Berlin] Session role: not set
[10-Nov-2025 16:52:09 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:52:09 UTC] DB Connection Status: Connected
[10-Nov-2025 15:52:09 UTC] User with ID 14 found
[10-Nov-2025 15:52:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:52:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:52:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:14 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:52:14 Europe/Berlin] Session role: not set
[10-Nov-2025 16:52:14 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:52:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:52:14 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:52:14 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:52:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:52:14 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:52:14 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:52:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:52:19 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[10-Nov-2025 16:52:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:19 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:52:19 Europe/Berlin] Session role: not set
[10-Nov-2025 16:52:19 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 16:52:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:52:26 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[10-Nov-2025 16:52:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:26 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:26 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:52:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:52:26 Europe/Berlin] Session role: not set
[10-Nov-2025 16:52:26 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 16:53:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:53:00 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Nov-2025 16:53:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:00 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:53:00 Europe/Berlin] Session role: not set
[10-Nov-2025 16:53:00 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:53:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:53:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:53:03 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:53:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:03 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:53:03 Europe/Berlin] Session role: not set
[10-Nov-2025 16:53:03 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:53:03 UTC] DB Connection Status: Connected
[10-Nov-2025 15:53:03 UTC] User with ID 14 found
[10-Nov-2025 15:53:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:53:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:53:05 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:53:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:05 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:53:05 Europe/Berlin] Session role: not set
[10-Nov-2025 16:53:05 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:53:05 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:53:05 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:53:05 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:53:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:53:05 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:53:05 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:53:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:53:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:53:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:11 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:53:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:53:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:53:11 Europe/Berlin] Session role: not set
[10-Nov-2025 16:53:11 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:53:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:53:11 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:53:11 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:53:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:53:11 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:53:11 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[10-Nov-2025 16:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:58:21 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[10-Nov-2025 16:58:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:58:21 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:58:21 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:58:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:58:21 Europe/Berlin] Session role: not set
[10-Nov-2025 16:58:21 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 16:59:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:59:13 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Nov-2025 16:59:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:13 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:59:13 Europe/Berlin] Session role: not set
[10-Nov-2025 16:59:13 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:59:13 UTC] DB Connection Status: Connected
[10-Nov-2025 15:59:13 UTC] User with ID 14 found
[10-Nov-2025 15:59:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:59:20 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Nov-2025 16:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:20 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:20 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:59:20 Europe/Berlin] Session role: not set
[10-Nov-2025 16:59:20 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:59:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Nov-2025 16:59:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Nov-2025 16:59:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Nov-2025 16:59:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:43 Europe/Berlin] isLoggedIn check result: true
[10-Nov-2025 16:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 16:59:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Nov-2025 16:59:43 Europe/Berlin] Session role: not set
[10-Nov-2025 16:59:43 Europe/Berlin] Session user_role: teacher
[10-Nov-2025 15:59:43 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:59:43 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762787868
    [last_regeneration] => 1762787868
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762787868
    [session_started_at] => 2025-11-10 16:17:48
    [login_redirect_count] => 0
)

[10-Nov-2025 15:59:43 UTC] Fetching videos for teacher_id: 14
[10-Nov-2025 15:59:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Nov-2025 15:59:43 UTC] Found 3 videos for teacher 14
[10-Nov-2025 15:59:43 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[11-Nov-2025 10:14:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 10:14:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 10:14:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
)

[11-Nov-2025 10:14:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 10:14:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
)

[11-Nov-2025 10:14:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 10:14:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
)

[11-Nov-2025 10:14:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 10:14:52 Europe/Berlin] Session role: not set
[11-Nov-2025 10:14:52 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 09:14:52 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 09:14:52 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 09:14:52 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 09:14:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 09:14:52 UTC] Found 3 videos for teacher 14
[11-Nov-2025 09:14:52 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[11-Nov-2025 10:15:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 10:15:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 10:15:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 10:15:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 10:15:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 10:15:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 10:15:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 10:15:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 10:15:01 Europe/Berlin] Session role: not set
[11-Nov-2025 10:15:01 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 09:15:01 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 09:15:01 UTC] Dashboard SESSION data: Array
(
    [session_started_at] => 2025-11-11 09:14:43
    [created_at] => 1762852492
    [last_regeneration] => 1762852492
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762852492
    [login_redirect_count] => 0
)

[11-Nov-2025 09:15:01 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 09:15:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 09:15:01 UTC] Found 3 videos for teacher 14
[11-Nov-2025 09:15:01 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[11-Nov-2025 10:17:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 10:17:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 10:17:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 10:17:19
)

[11-Nov-2025 10:17:19 Europe/Berlin] isLoggedIn check result: false
[11-Nov-2025 10:17:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 10:17:19
)

[11-Nov-2025 11:35:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 11:35:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 11:35:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762857321
    [last_regeneration] => 1762857321
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762857321
    [session_started_at] => 2025-11-11 11:35:21
)

[11-Nov-2025 11:35:21 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 11:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762857321
    [last_regeneration] => 1762857321
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762857321
    [session_started_at] => 2025-11-11 11:35:21
)

[11-Nov-2025 11:35:21 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 11:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762857321
    [last_regeneration] => 1762857321
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762857321
    [session_started_at] => 2025-11-11 11:35:21
)

[11-Nov-2025 11:35:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 11:35:21 Europe/Berlin] Session role: not set
[11-Nov-2025 11:35:21 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 10:35:21 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762857321
    [last_regeneration] => 1762857321
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762857321
    [session_started_at] => 2025-11-11 11:35:21
    [login_redirect_count] => 0
)

[11-Nov-2025 10:35:21 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762857321
    [last_regeneration] => 1762857321
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762857321
    [session_started_at] => 2025-11-11 11:35:21
    [login_redirect_count] => 0
)

[11-Nov-2025 10:35:21 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 10:35:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 10:35:21 UTC] Found 3 videos for teacher 14
[11-Nov-2025 10:35:21 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[11-Nov-2025 11:47:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 11:47:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 11:47:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
)

[11-Nov-2025 11:47:36 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 11:47:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
)

[11-Nov-2025 11:47:36 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 11:47:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
)

[11-Nov-2025 11:47:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 11:47:36 Europe/Berlin] Session role: not set
[11-Nov-2025 11:47:36 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 10:47:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 10:47:36 UTC] Dashboard SESSION data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 10:47:36 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 10:47:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 10:47:36 UTC] Found 3 videos for teacher 14
[11-Nov-2025 10:47:36 UTC] Recent videos data: Array
(
    [0] => Array
        (
            [video_id] => 4
            [course_id] => 13
            [teacher_id] => 14
            [title] => welcome
            [description] => 0
            [video_url] => uploads/videos/video_69074cfcb51ba_1762086140.mp4
            [thumbnail] => uploads/thumbnails/thumb_69074cfcb6725_1762086140.jpg
            [duration] => 0:54
            [price] => 3463.00
            [views] => 0
            [likes] => 0
            [category_name] => 
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-02 12:22:20
            [updated_at] => 2025-11-04 07:33:09
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [1] => Array
        (
            [video_id] => 3
            [course_id] => 13
            [teacher_id] => 14
            [title] => Data capturing
            [description] => 0
            [video_url] => uploads/videos/video_69073f84ed21e_1762082692.mp4
            [thumbnail] => uploads/thumbnails/thumb_69073f84edf6a_1762082692.png
            [duration] => 2:00
            [price] => 0.00
            [views] => 0
            [likes] => 0
            [category_name] => Proagrimg
            [is_free] => 1
            [is_published] => 1
            [created_at] => 2025-11-02 11:24:52
            [updated_at] => 2025-11-02 11:24:52
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

    [2] => Array
        (
            [video_id] => 2
            [course_id] => 13
            [teacher_id] => 14
            [title] => Computer science
            [description] => 0
            [video_url] => uploads/videos/video_6905d2becf793_1761989310.mp4
            [thumbnail] => uploads/thumbnails/thumb_6905d2c096768_1761989312.jpeg
            [duration] => 21:11
            [price] => 4000.00
            [views] => 0
            [likes] => 0
            [category_name] => Technology
            [is_free] => 0
            [is_published] => 1
            [created_at] => 2025-11-01 09:28:32
            [updated_at] => 2025-11-01 09:28:32
            [has_assignment] => 0
            [has_quiz] => 0
            [video_order] => 1
            [prerequisite_video_id] => 
            [linked_content_types] => 
        )

)

[11-Nov-2025 12:02:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:02:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:02:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:02:45 Europe/Berlin] Session role: not set
[11-Nov-2025 12:02:45 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:02:45 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:02:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:02:45 UTC] Found 3 videos for teacher 14
[11-Nov-2025 12:02:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:02:58 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 12:02:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:02:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:02:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:02:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:02:58 Europe/Berlin] Session role: not set
[11-Nov-2025 12:02:58 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:02:58 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 12:03:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:03:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:03:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:03:00 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:03:00 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:03:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:03:00 Europe/Berlin] Session role: not set
[11-Nov-2025 12:03:00 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:03:00 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:03:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:03:01 UTC] Found 3 videos for teacher 14
[11-Nov-2025 12:11:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:11:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:11:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:11:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:11:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:11:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:11:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:11:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:11:30 Europe/Berlin] Session role: not set
[11-Nov-2025 12:11:30 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:11:30 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:11:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:11:30 UTC] Found 3 videos for teacher 14
[11-Nov-2025 11:11:30 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/dashboard.php:1402
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/dashboard.php on line 1402
[11-Nov-2025 12:12:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:12:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:12:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:12:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:12:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:12:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:12:07 Europe/Berlin] Session role: not set
[11-Nov-2025 12:12:07 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:12:07 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:12:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:12:07 UTC] Found 3 videos for teacher 14
[11-Nov-2025 11:12:07 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/dashboard.php:1402
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/dashboard.php on line 1402
[11-Nov-2025 12:14:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:14:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:14:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:14:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:14:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:14:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:14:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:14:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:14:31 Europe/Berlin] Session role: not set
[11-Nov-2025 12:14:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:14:31 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:14:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:14:31 UTC] Found 3 videos for teacher 14
[11-Nov-2025 12:18:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:18:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:18:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:18:39 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:18:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:18:39 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:18:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:18:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:18:39 Europe/Berlin] Session role: not set
[11-Nov-2025 12:18:39 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:18:39 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:18:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:18:39 UTC] Found 3 videos for teacher 14
[11-Nov-2025 12:25:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 12:25:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 12:25:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:25:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:25:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:25:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 12:25:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762858055
    [last_regeneration] => 1762858055
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762858055
    [session_started_at] => 2025-11-11 11:47:36
    [login_redirect_count] => 0
)

[11-Nov-2025 12:25:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 12:25:17 Europe/Berlin] Session role: not set
[11-Nov-2025 12:25:17 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 11:25:17 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 11:25:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 11:25:17 UTC] Found 3 videos for teacher 14
[11-Nov-2025 13:48:35 Europe/Berlin] PHP Warning:  session_start(): open(C:\Users\user\Downloads\xamppfile\tmp/sess_3sbkr8mlomadfqno00qq1hr4ai, O_RDWR) failed: No such file or directory (2) in /home/twpurnyc/public_html/teacher/dashboard.php on line 8
[11-Nov-2025 13:48:35 Europe/Berlin] PHP Warning:  session_start(): Failed to read session data: files (path: C:\Users\user\Downloads\xamppfile\tmp) in /home/twpurnyc/public_html/teacher/dashboard.php on line 8
[11-Nov-2025 14:04:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:04:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:04:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
)

[11-Nov-2025 14:04:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
)

[11-Nov-2025 14:04:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
)

[11-Nov-2025 14:04:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:04:03 Europe/Berlin] Session role: not set
[11-Nov-2025 14:04:03 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:04:03 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:04:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:04:03 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:16:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:16:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:16:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:16:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:16:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:16:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:16:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:16:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:16:52 Europe/Berlin] Session role: not set
[11-Nov-2025 14:16:52 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:16:52 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:16:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:16:52 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:23:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:23:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:23:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:23:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:23:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:23:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:23:42 Europe/Berlin] Session role: not set
[11-Nov-2025 14:23:42 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:23:42 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:23:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:23:42 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:27:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:27:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:27:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:27:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:27:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762866048
    [last_regeneration] => 1762866048
    [stored_redirect] => /teacher/dashboard.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762866048
    [session_started_at] => 2025-11-11 14:04:03
    [login_redirect_count] => 0
)

[11-Nov-2025 14:27:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:27:31 Europe/Berlin] Session role: not set
[11-Nov-2025 14:27:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:27:31 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:27:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:27:31 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:29:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:29:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:29:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
)

[11-Nov-2025 14:29:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:29:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
)

[11-Nov-2025 14:29:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:29:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
)

[11-Nov-2025 14:29:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:29:42 Europe/Berlin] Session role: not set
[11-Nov-2025 14:29:42 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:29:42 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:29:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:29:42 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:32:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:32:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:32:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:32:46 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:32:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:32:46 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:32:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:32:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:32:46 Europe/Berlin] Session role: not set
[11-Nov-2025 14:32:46 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:32:46 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:32:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:32:46 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:33:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:33:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:33:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:33:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:33:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:33:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:33:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:33:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:33:10 Europe/Berlin] Session role: not set
[11-Nov-2025 14:33:10 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:33:10 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:33:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:33:10 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:35:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:35:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:35:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:35:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:35:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:35:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:35:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:35:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:35:35 Europe/Berlin] Session role: not set
[11-Nov-2025 14:35:35 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:35:35 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:35:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:35:35 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:38:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:38:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:38:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:38:46 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:38:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:38:46 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:38:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:38:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:38:46 Europe/Berlin] Session role: not set
[11-Nov-2025 14:38:46 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:38:46 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:38:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:38:46 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:42:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:42:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:42:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:42:26 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:42:26 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:42:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:42:26 Europe/Berlin] Session role: not set
[11-Nov-2025 14:42:26 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:42:26 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:42:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:42:26 UTC] Found 3 videos for teacher 14
[11-Nov-2025 14:47:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 14:47:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 14:47:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:47:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:47:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:47:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 14:47:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762867782
    [last_regeneration] => 1762867782
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762867782
    [session_started_at] => 2025-11-11 14:29:42
    [login_redirect_count] => 0
)

[11-Nov-2025 14:47:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 14:47:08 Europe/Berlin] Session role: not set
[11-Nov-2025 14:47:08 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 13:47:09 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 13:47:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 13:47:09 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:04:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:04:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:04:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762869881
    [last_regeneration] => 1762869881
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869881
    [session_started_at] => 2025-11-11 15:04:41
)

[11-Nov-2025 15:04:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:04:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869881
    [last_regeneration] => 1762869881
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869881
    [session_started_at] => 2025-11-11 15:04:41
)

[11-Nov-2025 15:04:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:04:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869881
    [last_regeneration] => 1762869881
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869881
    [session_started_at] => 2025-11-11 15:04:41
)

[11-Nov-2025 15:04:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:04:41 Europe/Berlin] Session role: not set
[11-Nov-2025 15:04:41 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:04:41 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:04:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:04:41 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:05:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:05:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:05:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
)

[11-Nov-2025 15:05:36 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:05:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
)

[11-Nov-2025 15:05:36 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:05:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
)

[11-Nov-2025 15:05:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:05:36 Europe/Berlin] Session role: not set
[11-Nov-2025 15:05:36 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:05:36 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:05:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:05:36 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:09:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:09:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:09:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:09:52 Europe/Berlin] Session role: not set
[11-Nov-2025 15:09:52 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:09:52 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:09:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:09:52 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:19:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:19:49 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:19:49 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762869935
    [last_regeneration] => 1762869935
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762869935
    [session_started_at] => 2025-11-11 15:05:36
    [login_redirect_count] => 0
)

[11-Nov-2025 15:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:19:49 Europe/Berlin] Session role: not set
[11-Nov-2025 15:19:49 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:19:49 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:19:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:19:49 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:33:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:33:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:33:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
)

[11-Nov-2025 15:33:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:33:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
)

[11-Nov-2025 15:33:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:33:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
)

[11-Nov-2025 15:33:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:33:13 Europe/Berlin] Session role: not set
[11-Nov-2025 15:33:13 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:33:13 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:33:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:33:13 UTC] Found 3 videos for teacher 14
[11-Nov-2025 15:37:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 15:37:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 15:37:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 15:37:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 15:37:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 15:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 15:37:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 15:37:20 Europe/Berlin] Session role: not set
[11-Nov-2025 15:37:20 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 14:37:20 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 14:37:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 14:37:20 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:05:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:05:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:05:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:05:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:05:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:05:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:05:09 Europe/Berlin] Session role: not set
[11-Nov-2025 16:05:09 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:05:09 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:05:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:05:09 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:08 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 16:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:08 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:08 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:07:08 UTC] DB Connection Status: Connected
[11-Nov-2025 15:07:08 UTC] User with ID 14 found
[11-Nov-2025 15:07:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 16:07:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:12 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 16:07:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:12 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:12 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:07:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 16:07:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:19 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 16:07:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:19 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:19 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:07:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:30 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 16:07:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:30 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:30 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:07:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 15:07:30 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 15:07:30 UTC] DEBUG: Courses found = 1
[11-Nov-2025 15:07:30 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 16:07:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:33 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 16:07:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:33 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:33 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:40 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 16:07:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:40 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:40 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:07:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:43 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:43 Europe/Berlin] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 16:07:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:43 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:43 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:43 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:43 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:49 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[11-Nov-2025 16:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:49 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:49 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:49 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:49 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:07:49 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[11-Nov-2025 15:07:49 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[11-Nov-2025 15:07:49 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[11-Nov-2025 16:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:07:57 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Nov-2025 16:07:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:57 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:57 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:07:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:07:57 Europe/Berlin] Session role: not set
[11-Nov-2025 16:07:57 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:08:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:08:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:08:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:08:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:08:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:08:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:08:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:08:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:08:01 Europe/Berlin] Session role: not set
[11-Nov-2025 16:08:01 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:08:01 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:08:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:08:01 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:09:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:09:47 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:09:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:09:47 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:09:47 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:09:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:09:47 Europe/Berlin] Session role: not set
[11-Nov-2025 16:09:47 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:09:47 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:09:47 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:09:47 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:14:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:14:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:14:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:14:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:14:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:14:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:14:12 Europe/Berlin] Session role: not set
[11-Nov-2025 16:14:12 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:14:12 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:14:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:14:12 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:19:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:19:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:19:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:19:16 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:19:16 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762871593
    [last_regeneration] => 1762871593
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762871593
    [session_started_at] => 2025-11-11 15:33:13
    [login_redirect_count] => 0
)

[11-Nov-2025 16:19:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:19:16 Europe/Berlin] Session role: not set
[11-Nov-2025 16:19:16 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:19:16 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:19:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:19:16 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:27:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:27:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:27:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
)

[11-Nov-2025 16:27:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:27:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
)

[11-Nov-2025 16:27:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:27:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
)

[11-Nov-2025 16:27:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:27:45 Europe/Berlin] Session role: not set
[11-Nov-2025 16:27:45 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:27:45 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:27:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:27:45 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:35:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:35:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:35:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:35:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:35:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:35:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:35:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:35:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:35:19 Europe/Berlin] Session role: not set
[11-Nov-2025 16:35:19 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:35:19 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:35:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:35:19 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:39:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:39:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:39:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:39:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:39:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:39:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:39:31 Europe/Berlin] Session role: not set
[11-Nov-2025 16:39:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:39:31 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:39:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:39:31 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:42:03 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 16:42:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:42:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:42:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:42:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:42:03 Europe/Berlin] Session role: not set
[11-Nov-2025 16:42:03 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:42:04 UTC] DB Connection Status: Connected
[11-Nov-2025 15:42:04 UTC] User with ID 14 found
[11-Nov-2025 15:42:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 16:45:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:45:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:45:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:45:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:45:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:45:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:45:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762874865
    [last_regeneration] => 1762874865
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762874865
    [session_started_at] => 2025-11-11 16:27:45
    [login_redirect_count] => 0
)

[11-Nov-2025 16:45:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:45:02 Europe/Berlin] Session role: not set
[11-Nov-2025 16:45:02 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:45:02 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:45:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:45:02 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:52:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:52:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:52:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
)

[11-Nov-2025 16:52:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:52:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
)

[11-Nov-2025 16:52:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:52:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
)

[11-Nov-2025 16:52:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:52:35 Europe/Berlin] Session role: not set
[11-Nov-2025 16:52:35 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:52:35 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:52:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:52:35 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:55:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:55:05 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:55:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:55:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:55:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:55:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:55:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:55:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:55:05 Europe/Berlin] Session role: not set
[11-Nov-2025 16:55:05 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:55:05 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:55:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:55:05 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:58:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:58:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 16:58:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:58:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:58:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:58:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:58:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:58:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:58:40 Europe/Berlin] Session role: not set
[11-Nov-2025 16:58:40 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:58:40 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 15:58:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 15:58:40 UTC] Found 3 videos for teacher 14
[11-Nov-2025 16:59:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 16:59:45 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 16:59:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:59:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:59:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:59:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 16:59:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 16:59:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 16:59:45 Europe/Berlin] Session role: not set
[11-Nov-2025 16:59:45 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 15:59:45 UTC] DB Connection Status: Connected
[11-Nov-2025 15:59:45 UTC] User with ID 14 found
[11-Nov-2025 15:59:45 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:00:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:00:06 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 17:00:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:06 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:00:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:06 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:00:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:00:06 Europe/Berlin] Session role: not set
[11-Nov-2025 17:00:06 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:00:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:00:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:00:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:00:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:00:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:00:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:00:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:00:40 Europe/Berlin] Session role: not set
[11-Nov-2025 17:00:40 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:00:40 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:00:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:00:40 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:12:11 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:12:11 Europe/Berlin] Session role: not set
[11-Nov-2025 17:12:11 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:12:12 UTC] DB Connection Status: Connected
[11-Nov-2025 16:12:12 UTC] User with ID 14 found
[11-Nov-2025 16:12:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:12:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:12:14 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 17:12:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:14 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:14 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:12:14 Europe/Berlin] Session role: not set
[11-Nov-2025 17:12:14 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:12:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:12:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:12:24 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:12:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:24 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:24 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:12:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:12:24 Europe/Berlin] Session role: not set
[11-Nov-2025 17:12:24 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:12:24 UTC] DB Connection Status: Connected
[11-Nov-2025 16:12:24 UTC] User with ID 14 found
[11-Nov-2025 16:12:24 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:13:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:02 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 17:13:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:02 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:02 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:13:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:13:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:08 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:08 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:08 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:08 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:13:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:13:08 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:13:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:13 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:13:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:13 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:13 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:13 UTC] DB Connection Status: Connected
[11-Nov-2025 16:13:13 UTC] User with ID 14 found
[11-Nov-2025 16:13:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:13:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:13:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:16 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:16 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:16 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:16 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:16 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:13:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:13:16 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:13:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:22 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:13:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:22 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:22 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:22 UTC] DB Connection Status: Connected
[11-Nov-2025 16:13:22 UTC] User with ID 14 found
[11-Nov-2025 16:13:22 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:13:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:13:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:25 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:25 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:25 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:25 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:25 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:13:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:13:25 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:13:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:34 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:34 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:34 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:13:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:13:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:13:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:42 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:13:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:13:42 Europe/Berlin] Session role: not set
[11-Nov-2025 17:13:42 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:13:42 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:13:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:13:42 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:15:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:15:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:15:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:15:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:15:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:15:35 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:15:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:15:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:15:35 Europe/Berlin] Session role: not set
[11-Nov-2025 17:15:35 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:15:35 UTC] DB Connection Status: Connected
[11-Nov-2025 16:15:35 UTC] User with ID 14 found
[11-Nov-2025 16:15:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:17:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:17:18 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:17:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:17:18 Europe/Berlin] Session role: not set
[11-Nov-2025 17:17:18 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:17:18 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:17:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:17:18 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:17:20 Europe/Berlin] Session role: not set
[11-Nov-2025 17:17:20 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:17:20 UTC] DB Connection Status: Connected
[11-Nov-2025 16:17:20 UTC] User with ID 14 found
[11-Nov-2025 16:17:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:17:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:17:29 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 17:17:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:29 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:29 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:17:29 Europe/Berlin] Session role: not set
[11-Nov-2025 17:17:29 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:17:29 UTC] DB Connection Status: Connected
[11-Nov-2025 16:17:29 UTC] User with ID 14 found
[11-Nov-2025 16:17:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:17:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:17:32 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:17:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:32 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:32 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:17:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:17:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:17:32 Europe/Berlin] Session role: not set
[11-Nov-2025 17:17:32 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:24:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:24:27 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:24:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:24:27 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:24:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:24:27 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:24:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:24:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:24:27 Europe/Berlin] Session role: not set
[11-Nov-2025 17:24:27 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:24:27 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:24:27 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:24:27 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:25:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:25:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:25:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:25:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:25:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:25:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:25:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:25:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:25:01 Europe/Berlin] Session role: not set
[11-Nov-2025 17:25:01 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:25:01 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:25:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:25:01 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:29:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:29:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 17:29:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:29:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:29:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:29:40 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:29:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:29:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:29:40 Europe/Berlin] Session role: not set
[11-Nov-2025 17:29:40 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 16:29:40 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 16:29:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 16:29:40 UTC] Found 3 videos for teacher 14
[11-Nov-2025 17:34:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:34:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:34:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:34:10 Europe/Berlin] Session role: not set
[11-Nov-2025 17:34:10 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:34:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:34:20 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:34:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:34:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:34:20 Europe/Berlin] Session role: not set
[11-Nov-2025 17:34:20 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:41:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:41:04 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:41:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:41:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:41:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:41:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:41:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:41:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:41:04 Europe/Berlin] Session role: not set
[11-Nov-2025 17:41:04 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:49:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:49:58 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 17:49:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:49:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:49:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:49:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 17:49:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:49:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:49:58 Europe/Berlin] Session role: not set
[11-Nov-2025 17:49:58 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:02:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:02:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:02:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:02:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:02:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:02:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:02:50 Europe/Berlin] Session role: not set
[11-Nov-2025 18:02:50 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:21:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:21:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:21:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:21:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:21:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:21:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:21:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:21:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:21:30 Europe/Berlin] Session role: not set
[11-Nov-2025 18:21:30 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:21:30 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:21:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:21:30 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:23:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:23:29 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:23:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:29 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:29 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:23:29 Europe/Berlin] Session role: not set
[11-Nov-2025 18:23:29 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:23:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:23:57 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:23:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:57 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:57 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:23:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:23:57 Europe/Berlin] Session role: not set
[11-Nov-2025 18:23:57 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:27:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:27:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:27:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:27:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:27:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:27:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:27:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:27:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:27:50 Europe/Berlin] Session role: not set
[11-Nov-2025 18:27:50 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:28:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:28:04 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:28:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:28:04 Europe/Berlin] Session role: not set
[11-Nov-2025 18:28:04 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:28:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:28:04 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:28:04 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:28:04 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:28:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:28:11 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 18:28:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:28:11 Europe/Berlin] Session role: not set
[11-Nov-2025 18:28:11 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:28:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:28:18 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 18:28:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:28:18 Europe/Berlin] Session role: not set
[11-Nov-2025 18:28:18 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:28:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:28:22 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 18:28:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:28:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:28:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:28:22 Europe/Berlin] Session role: not set
[11-Nov-2025 18:28:22 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:28:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:29:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:29:30 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 18:29:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:29:30 Europe/Berlin] Session role: not set
[11-Nov-2025 18:29:30 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:29:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:29:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:29:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:29:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:29:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:29:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:29:31 Europe/Berlin] Session role: not set
[11-Nov-2025 18:29:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:29:31 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:29:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:29:31 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:30:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:30:10 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[11-Nov-2025 18:30:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:30:10 Europe/Berlin] Session role: not set
[11-Nov-2025 18:30:10 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:30:10 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[11-Nov-2025 17:30:10 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[11-Nov-2025 17:30:10 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[11-Nov-2025 18:30:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:30:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:30:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:30:17 Europe/Berlin] Session role: not set
[11-Nov-2025 18:30:17 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:30:17 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:30:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:30:17 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:30:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:30:50 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:30:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:50 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:30:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:30:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:30:50 Europe/Berlin] Session role: not set
[11-Nov-2025 18:30:50 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:30:50 UTC] DB Connection Status: Connected
[11-Nov-2025 17:30:50 UTC] User with ID 14 found
[11-Nov-2025 17:30:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:31:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:31:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:31:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:31:12 Europe/Berlin] Session role: not set
[11-Nov-2025 18:31:12 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:31:12 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:31:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:31:12 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:31:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:31:15 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:31:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:15 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:15 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:31:15 Europe/Berlin] Session role: not set
[11-Nov-2025 18:31:15 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:31:15 UTC] DB Connection Status: Connected
[11-Nov-2025 17:31:15 UTC] User with ID 14 found
[11-Nov-2025 17:31:15 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:31:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:31:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:31:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:31:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:31:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:31:28 Europe/Berlin] Session role: not set
[11-Nov-2025 18:31:28 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:31:28 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:31:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:31:28 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:35:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:35:36 UTC] PHP Warning:  require_once(components/teacher_layout_start.php): failed to open stream: No such file or directory in /home/twpurnyc/public_html/teacher/library.php on line 30
[11-Nov-2025 17:35:36 UTC] PHP Fatal error:  require_once(): Failed opening required 'components/teacher_layout_start.php' (include_path='C:\Users\user\Downloads\xamppfile\php\PEAR') in /home/twpurnyc/public_html/teacher/library.php on line 30
[11-Nov-2025 18:37:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:37:00 UTC] Teacher Auth Check - Script: library.php
[11-Nov-2025 17:37:00 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:37:00 UTC] isLoggedIn check result: true
[11-Nov-2025 17:37:00 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:37:00 UTC] isLoggedIn check result: true
[11-Nov-2025 17:37:00 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:37:00 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:37:00 UTC] Session role: not set
[11-Nov-2025 17:37:00 UTC] Session user_role: teacher
[11-Nov-2025 18:37:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:37:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:37:23 Europe/Berlin] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 18:37:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:37:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:37:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:37:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:37:23 Europe/Berlin] Session role: not set
[11-Nov-2025 18:37:23 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:38:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:38:32 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Nov-2025 18:38:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:32 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:32 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:38:32 Europe/Berlin] Session role: not set
[11-Nov-2025 18:38:32 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:38:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:38:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:38:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:38:41 Europe/Berlin] Session role: not set
[11-Nov-2025 18:38:41 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:38:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:38:41 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:38:41 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:38:41 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:38:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:38:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:38:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:38:45 Europe/Berlin] Session role: not set
[11-Nov-2025 18:38:45 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:38:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:38:55 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:38:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:55 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:55 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:38:55 Europe/Berlin] Session role: not set
[11-Nov-2025 18:38:55 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:38:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:38:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:38:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:59 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:59 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:38:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:38:59 Europe/Berlin] Session role: not set
[11-Nov-2025 18:38:59 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:39:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:05 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:39:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:05 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:05 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:39:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:18 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[11-Nov-2025 18:39:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:18 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:18 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:39:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:39:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:21 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:39:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:21 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:21 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:21 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:21 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:39:21 UTC] DB Connection Status: Connected
[11-Nov-2025 17:39:21 UTC] User with ID 14 found
[11-Nov-2025 17:39:21 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:39:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:23 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 18:39:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:23 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:23 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:39:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 17:39:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 17:39:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 18:39:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:39:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:28 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:28 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:39:28 UTC] DB Connection Status: Connected
[11-Nov-2025 17:39:28 UTC] User with ID 14 found
[11-Nov-2025 17:39:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:39:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:39:56 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[11-Nov-2025 18:39:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:56 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:56 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:39:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:39:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:39:56 Europe/Berlin] Session role: not set
[11-Nov-2025 18:39:56 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:39:56 UTC] isLoggedIn check result: true
[11-Nov-2025 17:39:56 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:39:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 17:39:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 17:39:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 17:39:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 18:40:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:40:04 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[11-Nov-2025 18:40:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:40:04 Europe/Berlin] Session role: not set
[11-Nov-2025 18:40:04 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:40:04 UTC] isLoggedIn check result: true
[11-Nov-2025 17:40:04 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:40:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:40:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:40:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:40:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:40:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:40:13 Europe/Berlin] Session role: not set
[11-Nov-2025 18:40:13 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:40:13 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:40:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:40:13 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:42:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:42:44 UTC] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 17:42:44 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:42:44 UTC] isLoggedIn check result: true
[11-Nov-2025 17:42:44 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:42:44 UTC] isLoggedIn check result: true
[11-Nov-2025 17:42:44 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:42:44 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:42:44 UTC] Session role: not set
[11-Nov-2025 17:42:44 UTC] Session user_role: teacher
[11-Nov-2025 18:43:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:43:04 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[11-Nov-2025 18:43:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:43:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:43:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:43:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:43:04 Europe/Berlin] Session role: not set
[11-Nov-2025 18:43:04 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:43:04 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[11-Nov-2025 17:43:04 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[11-Nov-2025 17:43:04 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[11-Nov-2025 18:44:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:44:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:44:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:14 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:44:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:14 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:44:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:44:14 Europe/Berlin] Session role: not set
[11-Nov-2025 18:44:14 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:44:14 UTC] DB Connection Status: Connected
[11-Nov-2025 17:44:14 UTC] User with ID 14 found
[11-Nov-2025 17:44:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:44:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:44:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:44:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:44:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:44:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:44:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:44:19 Europe/Berlin] Session role: not set
[11-Nov-2025 18:44:19 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:44:19 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:44:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:44:19 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:45:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:45:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 18:45:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:45:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:01 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:45:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:45:01 Europe/Berlin] Session role: not set
[11-Nov-2025 18:45:01 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:45:01 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 17:45:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 17:45:01 UTC] Found 3 videos for teacher 14
[11-Nov-2025 18:45:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:45:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:45:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:45:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:02 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:45:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:45:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:45:02 Europe/Berlin] Session role: not set
[11-Nov-2025 18:45:02 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:45:03 UTC] DB Connection Status: Connected
[11-Nov-2025 17:45:03 UTC] User with ID 14 found
[11-Nov-2025 17:45:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:48:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:48:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:48:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:05 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:48:05 Europe/Berlin] Session role: not set
[11-Nov-2025 18:48:05 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:48:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:48:05 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:48:05 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:48:05 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:48:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:48:11 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:48:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:48:11 Europe/Berlin] Session role: not set
[11-Nov-2025 18:48:11 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:48:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:48:11 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:48:11 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:48:11 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:48:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:48:14 UTC] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 17:48:14 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:48:14 UTC] isLoggedIn check result: true
[11-Nov-2025 17:48:14 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:48:14 UTC] isLoggedIn check result: true
[11-Nov-2025 17:48:14 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:48:14 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:48:14 UTC] Session role: not set
[11-Nov-2025 17:48:14 UTC] Session user_role: teacher
[11-Nov-2025 18:48:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:48:19 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[11-Nov-2025 18:48:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:48:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:48:19 Europe/Berlin] Session role: not set
[11-Nov-2025 18:48:19 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:48:19 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[11-Nov-2025 17:48:19 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[11-Nov-2025 17:48:19 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[11-Nov-2025 18:51:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:51:10 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:51:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:10 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:51:10 Europe/Berlin] Session role: not set
[11-Nov-2025 18:51:10 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:51:10 UTC] DB Connection Status: Connected
[11-Nov-2025 17:51:10 UTC] User with ID 14 found
[11-Nov-2025 17:51:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:51:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:51:19 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:51:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:19 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:51:19 Europe/Berlin] Session role: not set
[11-Nov-2025 18:51:19 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:51:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:51:19 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:51:19 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:51:19 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:51:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:51:22 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:51:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:51:22 Europe/Berlin] Session role: not set
[11-Nov-2025 18:51:22 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:51:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:51:31 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 18:51:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:51:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:51:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:51:31 Europe/Berlin] Session role: not set
[11-Nov-2025 18:51:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:52:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:52:07 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[11-Nov-2025 18:52:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:52:07 Europe/Berlin] Session role: not set
[11-Nov-2025 18:52:07 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:52:07 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[11-Nov-2025 17:52:07 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[11-Nov-2025 17:52:07 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[11-Nov-2025 18:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:52:23 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Nov-2025 18:52:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:52:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:52:23 Europe/Berlin] Session role: not set
[11-Nov-2025 18:52:23 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:54:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:54:02 UTC] Teacher Auth Check - Script: library.php
[11-Nov-2025 17:54:02 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:54:02 UTC] isLoggedIn check result: true
[11-Nov-2025 17:54:02 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:54:02 UTC] isLoggedIn check result: true
[11-Nov-2025 17:54:02 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:54:02 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:54:02 UTC] Session role: not set
[11-Nov-2025 17:54:02 UTC] Session user_role: teacher
[11-Nov-2025 18:57:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:57:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:57:06 UTC] Teacher Auth Check - Script: library.php
[11-Nov-2025 17:57:06 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:57:06 UTC] isLoggedIn check result: true
[11-Nov-2025 17:57:06 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:57:06 UTC] isLoggedIn check result: true
[11-Nov-2025 17:57:06 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:57:06 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:57:06 UTC] Session role: not set
[11-Nov-2025 17:57:06 UTC] Session user_role: teacher
[11-Nov-2025 18:57:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:57:30 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Nov-2025 18:57:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:57:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:57:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:57:30 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:57:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:57:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:57:30 Europe/Berlin] Session role: not set
[11-Nov-2025 18:57:30 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:58:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:58:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 18:58:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:58:09 Europe/Berlin] Session role: not set
[11-Nov-2025 18:58:09 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:58:09 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 17:58:09 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 17:58:09 UTC] DEBUG: Courses found = 1
[11-Nov-2025 17:58:09 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 18:58:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:58:12 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 18:58:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:12 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:58:12 Europe/Berlin] Session role: not set
[11-Nov-2025 18:58:12 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:58:12 UTC] DB Connection Status: Connected
[11-Nov-2025 17:58:12 UTC] User with ID 14 found
[11-Nov-2025 17:58:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:58:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:58:15 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 18:58:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:15 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:15 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 18:58:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:58:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:58:15 Europe/Berlin] Session role: not set
[11-Nov-2025 18:58:15 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 17:58:15 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 17:58:15 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 17:58:15 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 834
[11-Nov-2025 18:59:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:59:31 UTC] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 17:59:31 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:31 UTC] isLoggedIn check result: true
[11-Nov-2025 17:59:31 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:31 UTC] isLoggedIn check result: true
[11-Nov-2025 17:59:31 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:31 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:59:31 UTC] Session role: not set
[11-Nov-2025 17:59:31 UTC] Session user_role: teacher
[11-Nov-2025 18:59:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 17:59:39 UTC] Teacher Auth Check - Script: library.php
[11-Nov-2025 17:59:39 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:39 UTC] isLoggedIn check result: true
[11-Nov-2025 17:59:39 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:39 UTC] isLoggedIn check result: true
[11-Nov-2025 17:59:39 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 17:59:39 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 17:59:39 UTC] Session role: not set
[11-Nov-2025 17:59:39 UTC] Session user_role: teacher
[11-Nov-2025 19:03:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:03:31 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:03:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:03:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:03:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:03:31 Europe/Berlin] Session role: not set
[11-Nov-2025 19:03:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:03:31 UTC] DB Connection Status: Connected
[11-Nov-2025 18:03:31 UTC] User with ID 14 found
[11-Nov-2025 18:03:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:03:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:03:34 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:03:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:03:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:03:34 Europe/Berlin] Session role: not set
[11-Nov-2025 19:03:34 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 760
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 760
[11-Nov-2025 18:03:34 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 760
[11-Nov-2025 19:04:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:04:56 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:04:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:56 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:56 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:04:56 Europe/Berlin] Session role: not set
[11-Nov-2025 19:04:56 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:04:56 UTC] DB Connection Status: Connected
[11-Nov-2025 18:04:56 UTC] User with ID 14 found
[11-Nov-2025 18:04:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:04:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:04:59 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[11-Nov-2025 19:04:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:59 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:04:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:59 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:04:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:04:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:04:59 Europe/Berlin] Session role: not set
[11-Nov-2025 19:04:59 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:05:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:05:17 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:05:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:17 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:05:17 Europe/Berlin] Session role: not set
[11-Nov-2025 19:05:17 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:05:17 UTC] DB Connection Status: Connected
[11-Nov-2025 18:05:17 UTC] User with ID 14 found
[11-Nov-2025 18:05:17 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:05:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:05:42 UTC] Teacher Auth Check - Script: library.php
[11-Nov-2025 18:05:42 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:42 UTC] isLoggedIn check result: true
[11-Nov-2025 18:05:42 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:42 UTC] isLoggedIn check result: true
[11-Nov-2025 18:05:42 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:42 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:05:42 UTC] Session role: not set
[11-Nov-2025 18:05:42 UTC] Session user_role: teacher
[11-Nov-2025 19:05:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 18:05:47 UTC] Teacher Auth Check - Script: publish_to_library.php
[11-Nov-2025 18:05:47 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:47 UTC] isLoggedIn check result: true
[11-Nov-2025 18:05:47 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:47 UTC] isLoggedIn check result: true
[11-Nov-2025 18:05:47 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:05:47 UTC] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 18:05:47 UTC] Session role: not set
[11-Nov-2025 18:05:47 UTC] Session user_role: teacher
[11-Nov-2025 19:05:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:05:52 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Nov-2025 19:05:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:05:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:52 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:05:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:05:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:05:52 Europe/Berlin] Session role: not set
[11-Nov-2025 19:05:52 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:06:03 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[11-Nov-2025 19:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:03 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:06:03 Europe/Berlin] Session role: not set
[11-Nov-2025 19:06:03 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:06:03 UTC] isLoggedIn check result: true
[11-Nov-2025 18:06:03 UTC] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 18:06:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 18:06:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 18:06:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 18:06:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 648
[11-Nov-2025 19:06:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:06:11 Europe/Berlin] Teacher Auth Check - Script: profile.php
[11-Nov-2025 19:06:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:06:11 Europe/Berlin] Session role: not set
[11-Nov-2025 19:06:11 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:06:11 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[11-Nov-2025 19:06:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:06:22 Europe/Berlin] Teacher Auth Check - Script: settings.php
[11-Nov-2025 19:06:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:22 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:06:22 Europe/Berlin] Session role: not set
[11-Nov-2025 19:06:22 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:06:22 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[11-Nov-2025 19:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:06:31 Europe/Berlin] Teacher Auth Check - Script: settings.php
[11-Nov-2025 19:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:06:31 Europe/Berlin] Session role: not set
[11-Nov-2025 19:06:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:06:31 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[11-Nov-2025 19:08:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:08:09 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:08:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:08:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:08:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:08:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:08:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:08:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:08:09 Europe/Berlin] Session role: not set
[11-Nov-2025 19:08:09 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:08:09 UTC] DB Connection Status: Connected
[11-Nov-2025 18:08:09 UTC] User with ID 14 found
[11-Nov-2025 18:08:09 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:09:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:09:34 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:09:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:09:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:34 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:09:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:09:34 Europe/Berlin] Session role: not set
[11-Nov-2025 19:09:34 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:09:35 UTC] DB Connection Status: Connected
[11-Nov-2025 18:09:35 UTC] User with ID 14 found
[11-Nov-2025 18:09:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:09:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:09:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:09:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:09:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:45 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:09:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:09:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:09:45 Europe/Berlin] Session role: not set
[11-Nov-2025 19:09:45 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:09:45 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:09:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:09:45 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:11:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:11:06 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:11:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:06 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:06 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:11:06 Europe/Berlin] Session role: not set
[11-Nov-2025 19:11:06 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:11:06 UTC] DB Connection Status: Connected
[11-Nov-2025 18:11:06 UTC] User with ID 14 found
[11-Nov-2025 18:11:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:11:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:11:09 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:11:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:11:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:09 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:11:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:11:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:11:09 Europe/Berlin] Session role: not set
[11-Nov-2025 19:11:09 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:11:09 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:11:09 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:11:09 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:11:09 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 19:12:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:12:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:12:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:12:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:12:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:12:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:12:33 Europe/Berlin] Session role: not set
[11-Nov-2025 19:12:33 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:12:33 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:12:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:12:33 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:14:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:14:20 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:14:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:14:20 Europe/Berlin] Session role: not set
[11-Nov-2025 19:14:20 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:14:20 UTC] DB Connection Status: Connected
[11-Nov-2025 18:14:20 UTC] User with ID 14 found
[11-Nov-2025 18:14:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:14:23 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:23 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:14:23 Europe/Berlin] Session role: not set
[11-Nov-2025 19:14:23 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:14:23 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:14:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:14:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:14:23 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 19:14:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:14:53 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:14:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:53 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:53 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:14:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:14:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:14:53 Europe/Berlin] Session role: not set
[11-Nov-2025 19:14:53 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:14:53 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:14:53 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:14:53 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:14:53 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 19:19:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:19:26 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:19:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:19:26 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:19:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:19:26 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:19:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:19:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:19:26 Europe/Berlin] Session role: not set
[11-Nov-2025 19:19:26 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:19:26 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:19:26 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:19:26 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:19:26 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 19:20:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:20:13 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[11-Nov-2025 19:20:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:20:13 Europe/Berlin] Session role: not set
[11-Nov-2025 19:20:13 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:20:13 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[11-Nov-2025 18:20:13 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:20:13 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 18:20:13 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[11-Nov-2025 19:20:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:20:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:20:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:20:28 Europe/Berlin] Session role: not set
[11-Nov-2025 19:20:28 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:20:28 UTC] DB Connection Status: Connected
[11-Nov-2025 18:20:28 UTC] User with ID 14 found
[11-Nov-2025 18:20:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:20:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:20:31 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[11-Nov-2025 19:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:31 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:20:31 Europe/Berlin] Session role: not set
[11-Nov-2025 19:20:31 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:22:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:22:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:22:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:22:53 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:22:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:22:53 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:22:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:22:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:22:53 Europe/Berlin] Session role: not set
[11-Nov-2025 19:22:53 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:22:53 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:22:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:22:53 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:23:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:23:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:23:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:23:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:33 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:23:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:23:33 Europe/Berlin] Session role: not set
[11-Nov-2025 19:23:33 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:23:33 UTC] DB Connection Status: Connected
[11-Nov-2025 18:23:33 UTC] User with ID 14 found
[11-Nov-2025 18:23:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:23:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:23:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:23:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:23:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:23:41 Europe/Berlin] Session role: not set
[11-Nov-2025 19:23:41 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:23:41 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:23:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:23:41 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:26:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:26:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:26:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:26:11 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:26:11 Europe/Berlin] Session role: not set
[11-Nov-2025 19:26:11 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:26:11 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:26:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:26:11 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:27:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:27:04 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[11-Nov-2025 19:27:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:04 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:27:04 Europe/Berlin] Session role: not set
[11-Nov-2025 19:27:04 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:27:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:27:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:27:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:07 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:27:07 Europe/Berlin] Session role: not set
[11-Nov-2025 19:27:07 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:27:07 UTC] DB Connection Status: Connected
[11-Nov-2025 18:27:07 UTC] User with ID 14 found
[11-Nov-2025 18:27:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:27:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:27:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 19:27:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:20 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:27:20 Europe/Berlin] Session role: not set
[11-Nov-2025 19:27:20 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:27:20 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 18:27:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 18:27:20 UTC] Found 3 videos for teacher 14
[11-Nov-2025 19:27:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:27:39 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 19:27:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:39 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:39 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:27:39 Europe/Berlin] Session role: not set
[11-Nov-2025 19:27:39 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:27:39 UTC] DB Connection Status: Connected
[11-Nov-2025 18:27:39 UTC] User with ID 14 found
[11-Nov-2025 18:27:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 19:27:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:27:41 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[11-Nov-2025 19:27:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:41 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:27:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:27:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:27:41 Europe/Berlin] Session role: not set
[11-Nov-2025 19:27:41 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:28:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:28:13 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[11-Nov-2025 19:28:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:28:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:13 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:28:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:28:13 Europe/Berlin] Session role: not set
[11-Nov-2025 19:28:13 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 18:28:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 18:28:13 UTC] DEBUG: Teacher ID = 14
[11-Nov-2025 18:28:13 UTC] DEBUG: Courses found = 1
[11-Nov-2025 18:28:13 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[11-Nov-2025 19:28:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 19:28:18 Europe/Berlin] Teacher Auth Check - Script: videos.php
[11-Nov-2025 19:28:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:28:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:18 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 19:28:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762876355
    [last_regeneration] => 1762876355
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762876355
    [session_started_at] => 2025-11-11 16:52:35
    [login_redirect_count] => 0
)

[11-Nov-2025 19:28:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 19:28:18 Europe/Berlin] Session role: not set
[11-Nov-2025 19:28:18 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 20:05:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 20:05:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 20:05:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
)

[11-Nov-2025 20:05:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 20:05:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
)

[11-Nov-2025 20:05:58 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 20:05:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
)

[11-Nov-2025 20:05:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 20:05:58 Europe/Berlin] Session role: not set
[11-Nov-2025 20:05:58 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:05:58 UTC] Fetching videos for teacher_id: 14
[11-Nov-2025 19:05:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Nov-2025 19:05:58 UTC] Found 3 videos for teacher 14
[11-Nov-2025 20:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 20:06:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 20:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 20:06:03
)

[11-Nov-2025 20:06:03 Europe/Berlin] isLoggedIn check result: false
[11-Nov-2025 20:06:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 20:06:03
)

[11-Nov-2025 20:06:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 20:06:27 Europe/Berlin] Teacher Auth Check - Script: courses.php
[11-Nov-2025 20:06:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
    [login_redirect_count] => 0
)

[11-Nov-2025 20:06:27 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 20:06:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
    [login_redirect_count] => 0
)

[11-Nov-2025 20:06:27 Europe/Berlin] isLoggedIn check result: true
[11-Nov-2025 20:06:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 19:05:32
    [created_at] => 1762887958
    [last_regeneration] => 1762887958
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762887958
    [login_redirect_count] => 0
)

[11-Nov-2025 20:06:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Nov-2025 20:06:27 Europe/Berlin] Session role: not set
[11-Nov-2025 20:06:27 Europe/Berlin] Session user_role: teacher
[11-Nov-2025 19:06:27 UTC] DB Connection Status: Connected
[11-Nov-2025 19:06:27 UTC] User with ID 14 found
[11-Nov-2025 19:06:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[11-Nov-2025 21:07:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Nov-2025 21:07:18 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Nov-2025 21:07:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-11 21:07:18
)

[11-Nov-2025 21:07:18 Europe/Berlin] isLoggedIn check result: false
[11-Nov-2025 21:07:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-11 21:07:18
)

[12-Nov-2025 06:12:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 06:12:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 06:12:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
)

[12-Nov-2025 06:12:39 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 06:12:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
)

[12-Nov-2025 06:12:39 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 06:12:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
)

[12-Nov-2025 06:12:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 06:12:39 Europe/Berlin] Session role: not set
[12-Nov-2025 06:12:39 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 05:12:39 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 05:12:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 05:12:39 UTC] Found 3 videos for teacher 14
[12-Nov-2025 06:21:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 06:21:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 06:21:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
    [login_redirect_count] => 0
)

[12-Nov-2025 06:21:22 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 06:21:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
    [login_redirect_count] => 0
)

[12-Nov-2025 06:21:22 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 06:21:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-12 05:11:02
    [created_at] => 1762924359
    [last_regeneration] => 1762924359
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762924359
    [login_redirect_count] => 0
)

[12-Nov-2025 06:21:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 06:21:22 Europe/Berlin] Session role: not set
[12-Nov-2025 06:21:22 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 05:21:23 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 05:21:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 05:21:23 UTC] Found 3 videos for teacher 14
[12-Nov-2025 09:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:14:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 09:14:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
)

[12-Nov-2025 09:14:49 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
)

[12-Nov-2025 09:14:49 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
)

[12-Nov-2025 09:14:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:14:49 Europe/Berlin] Session role: not set
[12-Nov-2025 09:14:49 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 08:14:49 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 08:14:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 08:14:49 UTC] Found 3 videos for teacher 14
[12-Nov-2025 09:25:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:25:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 09:25:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:07 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:25:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:07 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:25:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:25:07 Europe/Berlin] Session role: not set
[12-Nov-2025 09:25:07 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 08:25:07 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 08:25:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 08:25:07 UTC] Found 3 videos for teacher 14
[12-Nov-2025 09:25:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:25:31 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:25:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:25:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:25:31 Europe/Berlin] Session role: not set
[12-Nov-2025 09:25:31 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:26:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:26:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 09:26:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:26:46 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:26:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:26:46 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:26:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:26:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:26:46 Europe/Berlin] Session role: not set
[12-Nov-2025 09:26:46 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 08:26:46 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 08:26:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 08:26:46 UTC] Found 3 videos for teacher 14
[12-Nov-2025 09:28:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:28:58 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:28:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:28:58 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:28:58 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:28:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:28:58 Europe/Berlin] Session role: not set
[12-Nov-2025 09:28:58 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:42:03 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:42:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:42:03 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:42:03 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:42:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:42:03 Europe/Berlin] Session role: not set
[12-Nov-2025 09:42:03 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:43:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:43:26 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:43:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:43:26 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:43:26 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:43:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:43:26 Europe/Berlin] Session role: not set
[12-Nov-2025 09:43:26 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:47:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:47:31 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:47:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:47:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:47:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:47:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:47:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:47:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:47:31 Europe/Berlin] Session role: not set
[12-Nov-2025 09:47:31 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:54:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:54:29 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 09:54:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:54:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:54:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:54:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:54:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:54:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:54:29 Europe/Berlin] Session role: not set
[12-Nov-2025 09:54:29 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:58:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 09:58:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 09:58:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:58:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:58:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:58:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 09:58:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 09:58:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 09:58:29 Europe/Berlin] Session role: not set
[12-Nov-2025 09:58:29 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 08:58:29 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 08:58:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 08:58:29 UTC] Found 3 videos for teacher 14
[12-Nov-2025 10:00:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 10:00:31 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 10:00:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:00:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:00:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:00:31 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:00:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:00:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 10:00:31 Europe/Berlin] Session role: not set
[12-Nov-2025 10:00:31 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 10:01:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 10:01:23 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 10:01:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:23 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:23 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 10:01:23 Europe/Berlin] Session role: not set
[12-Nov-2025 10:01:23 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 10:01:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 10:01:40 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 10:01:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:40 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:01:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:40 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 10:01:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1762935288
    [last_regeneration] => 1762935288
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762935288
    [session_started_at] => 2025-11-12 09:14:49
    [login_redirect_count] => 0
)

[12-Nov-2025 10:01:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 10:01:40 Europe/Berlin] Session role: not set
[12-Nov-2025 10:01:40 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 09:01:40 UTC] Withdrawal form submitted by user 14 with amount 500
[12-Nov-2025 09:01:40 UTC] Withdrawal request created successfully for user 14
[12-Nov-2025 13:01:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:01:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:01:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
)

[12-Nov-2025 13:01:32 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
)

[12-Nov-2025 13:01:32 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
)

[12-Nov-2025 13:01:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:01:32 Europe/Berlin] Session role: not set
[12-Nov-2025 13:01:32 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:01:32 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:01:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:01:32 UTC] Found 3 videos for teacher 14
[12-Nov-2025 13:01:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:01:46 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:01:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:01:46 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:01:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:01:46 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:01:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:01:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:01:46 Europe/Berlin] Session role: not set
[12-Nov-2025 13:01:46 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:08:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:08:36 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:08:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:08:36 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:08:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:08:36 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:08:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:08:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:08:36 Europe/Berlin] Session role: not set
[12-Nov-2025 13:08:36 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:09:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:09:42 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:09:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:09:42 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:09:42 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:09:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:09:42 Europe/Berlin] Session role: not set
[12-Nov-2025 13:09:42 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:10:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:10:34 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:10:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:10:34 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:10:34 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:10:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:10:34 Europe/Berlin] Session role: not set
[12-Nov-2025 13:10:34 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:10:34 UTC] Withdrawal form submitted by user 14 with amount 500, method: bank_transfer
[12-Nov-2025 12:10:34 UTC] Prepare failed: 
[12-Nov-2025 13:12:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:12:07 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[12-Nov-2025 13:12:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:12:07 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:12:07 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:12:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:12:07 Europe/Berlin] Session role: not set
[12-Nov-2025 13:12:07 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:12:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Nov-2025 13:16:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:16:28 Europe/Berlin] Teacher Auth Check - Script: videos.php
[12-Nov-2025 13:16:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:28 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:28 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:16:28 Europe/Berlin] Session role: not set
[12-Nov-2025 13:16:28 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:16:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:16:38 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:16:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:38 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:38 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:16:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:16:38 Europe/Berlin] Session role: not set
[12-Nov-2025 13:16:38 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:17:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:17:01 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:17:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:17:01 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:17:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:17:01 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:17:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:17:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:17:01 Europe/Berlin] Session role: not set
[12-Nov-2025 13:17:01 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:17:01 UTC] Withdrawal form submitted by user 14 with amount 500, method: bank_transfer
[12-Nov-2025 12:17:01 UTC] Added column bank_name to withdrawal_requests table
[12-Nov-2025 12:17:01 UTC] Added column account_number to withdrawal_requests table
[12-Nov-2025 12:17:01 UTC] Added column account_holder to withdrawal_requests table
[12-Nov-2025 12:17:01 UTC] Withdrawal request created successfully for user 14 with structured payment data
[12-Nov-2025 12:17:01 UTC] Bank: Absa, Account: 7458458458, Holder: Alain M Kitumaini
[12-Nov-2025 13:23:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:23:15 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:23:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:15 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:23:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:15 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:23:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:23:15 Europe/Berlin] Session role: not set
[12-Nov-2025 13:23:15 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:23:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:23:22 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:23:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:22 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:22 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1762948892
    [last_regeneration] => 1762948892
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762948892
    [session_started_at] => 2025-11-12 13:01:32
    [login_redirect_count] => 0
)

[12-Nov-2025 13:23:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:23:22 Europe/Berlin] Session role: not set
[12-Nov-2025 13:23:22 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:23:22 UTC] Withdrawal request #2 cancelled by teacher 14
[12-Nov-2025 13:37:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:38:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:38:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
)

[12-Nov-2025 13:38:00 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
)

[12-Nov-2025 13:38:00 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
)

[12-Nov-2025 13:38:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:38:00 Europe/Berlin] Session role: not set
[12-Nov-2025 13:38:00 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:38:00 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:38:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:38:00 UTC] Found 3 videos for teacher 14
[12-Nov-2025 13:42:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:42:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:42:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:42:11 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:42:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:42:11 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:42:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:42:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:42:11 Europe/Berlin] Session role: not set
[12-Nov-2025 13:42:11 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:42:11 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:42:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:42:11 UTC] Found 3 videos for teacher 14
[12-Nov-2025 13:46:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:46:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:46:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:13 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:13 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:46:13 Europe/Berlin] Session role: not set
[12-Nov-2025 13:46:13 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:46:13 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:46:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:46:13 UTC] Found 3 videos for teacher 14
[12-Nov-2025 13:46:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:46:18 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Nov-2025 13:46:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:18 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:18 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:46:18 Europe/Berlin] Session role: not set
[12-Nov-2025 13:46:18 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:46:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:46:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:46:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:28 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:28 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:46:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:46:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:46:28 Europe/Berlin] Session role: not set
[12-Nov-2025 13:46:28 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:46:28 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:46:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:46:28 UTC] Found 3 videos for teacher 14
[12-Nov-2025 13:55:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 13:55:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 13:55:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:55:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:55:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:55:29 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 13:55:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 13:55:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 13:55:29 Europe/Berlin] Session role: not set
[12-Nov-2025 13:55:29 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 12:55:29 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 12:55:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 12:55:29 UTC] Found 3 videos for teacher 14
[12-Nov-2025 14:06:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 14:06:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 14:06:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:06:44 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 14:06:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:06:44 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 14:06:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:06:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 14:06:44 Europe/Berlin] Session role: not set
[12-Nov-2025 14:06:44 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:06:44 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 13:06:44 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 13:06:44 UTC] Found 3 videos for teacher 14
[12-Nov-2025 14:07:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 14:07:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 14:07:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:07:14 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 14:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:07:14 Europe/Berlin] isLoggedIn check result: true
[12-Nov-2025 14:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1762951078
    [last_regeneration] => 1762951078
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1762951078
    [session_started_at] => 2025-11-12 13:38:00
    [login_redirect_count] => 0
)

[12-Nov-2025 14:07:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Nov-2025 14:07:14 Europe/Berlin] Session role: not set
[12-Nov-2025 14:07:14 Europe/Berlin] Session user_role: teacher
[12-Nov-2025 13:07:14 UTC] Fetching videos for teacher_id: 14
[12-Nov-2025 13:07:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Nov-2025 13:07:14 UTC] Found 3 videos for teacher 14
[12-Nov-2025 16:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Nov-2025 16:56:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Nov-2025 16:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-12 16:56:59
)

[12-Nov-2025 16:56:59 Europe/Berlin] isLoggedIn check result: false
[12-Nov-2025 16:56:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-12 16:56:59
)

[13-Nov-2025 09:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:11:54 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 09:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 09:11:54
)

[13-Nov-2025 09:11:54 Europe/Berlin] isLoggedIn check result: false
[13-Nov-2025 09:11:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 09:11:54
)

[13-Nov-2025 09:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:14:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
)

[13-Nov-2025 09:14:23 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:14:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
)

[13-Nov-2025 09:14:23 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:14:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
)

[13-Nov-2025 09:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:14:23 Europe/Berlin] Session role: not set
[13-Nov-2025 09:14:23 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:14:24 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:14:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:14:24 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:15:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:15:05 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Nov-2025 09:15:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:15:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:15:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:15:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:15:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:15:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:15:05 Europe/Berlin] Session role: not set
[13-Nov-2025 09:15:05 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:30:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:30:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:30:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:07 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:30:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:07 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:30:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:30:07 Europe/Berlin] Session role: not set
[13-Nov-2025 09:30:07 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:30:07 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:30:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:30:07 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:30:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:30:43 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Nov-2025 09:30:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:43 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:30:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:43 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:30:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:30:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:30:43 Europe/Berlin] Session role: not set
[13-Nov-2025 09:30:43 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:32:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:32:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:32:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:32:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:32:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:32:36 Europe/Berlin] Session role: not set
[13-Nov-2025 09:32:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:32:36 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:32:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:32:36 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:32:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:32:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:32:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:55 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:32:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:55 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:32:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:32:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:32:55 Europe/Berlin] Session role: not set
[13-Nov-2025 09:32:55 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:32:55 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:32:55 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:32:55 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:33:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:33:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:33:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:33:01 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:33:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:33:01 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:33:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:33:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:33:01 Europe/Berlin] Session role: not set
[13-Nov-2025 09:33:01 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:33:01 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:33:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:33:01 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:40:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:40:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:40:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 09:40:00
)

[13-Nov-2025 09:40:00 Europe/Berlin] isLoggedIn check result: false
[13-Nov-2025 09:40:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 09:40:00
)

[13-Nov-2025 09:46:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:46:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:46:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:46:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:46:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:46:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:46:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:46:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:46:34 Europe/Berlin] Session role: not set
[13-Nov-2025 09:46:34 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:46:34 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:46:34 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:46:34 UTC] Found 3 videos for teacher 14
[13-Nov-2025 09:52:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 09:52:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 09:52:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:52:25 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:52:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:52:25 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 09:52:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 09:52:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 09:52:25 Europe/Berlin] Session role: not set
[13-Nov-2025 09:52:25 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 08:52:25 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 08:52:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 08:52:25 UTC] Found 3 videos for teacher 14
[13-Nov-2025 10:03:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:03:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 10:03:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 10:03:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:03:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 10:03:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:03:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 08:14:04
    [created_at] => 1763021663
    [last_regeneration] => 1763021663
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763021663
    [login_redirect_count] => 0
)

[13-Nov-2025 10:03:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:03:36 Europe/Berlin] Session role: not set
[13-Nov-2025 10:03:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:03:36 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 09:03:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 09:03:36 UTC] Found 3 videos for teacher 14
[13-Nov-2025 10:27:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:27:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 10:27:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
)

[13-Nov-2025 10:27:51 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:27:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
)

[13-Nov-2025 10:27:51 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:27:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
)

[13-Nov-2025 10:27:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:27:51 Europe/Berlin] Session role: not set
[13-Nov-2025 10:27:51 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:27:51 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 09:27:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 09:27:51 UTC] Found 3 videos for teacher 14
[13-Nov-2025 10:28:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:28:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 10:28:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:28:43 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:28:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:28:43 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:28:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:28:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:28:43 Europe/Berlin] Session role: not set
[13-Nov-2025 10:28:43 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:28:43 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 09:28:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 09:28:43 UTC] Found 3 videos for teacher 14
[13-Nov-2025 10:49:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:49:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 10:49:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:49:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:49:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:49:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:49:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:49:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:49:36 Europe/Berlin] Session role: not set
[13-Nov-2025 10:49:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:49:36 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 09:49:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 09:49:36 UTC] Found 3 videos for teacher 14
[13-Nov-2025 10:50:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:50:34 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 10:50:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:50:34 Europe/Berlin] Session role: not set
[13-Nov-2025 10:50:34 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:50:34 UTC] DB Connection Status: Connected
[13-Nov-2025 09:50:34 UTC] User with ID 14 found
[13-Nov-2025 09:50:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:50:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:50:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[13-Nov-2025 10:50:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:50:36 Europe/Berlin] Session role: not set
[13-Nov-2025 10:50:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:50:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:50:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:50:39 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 10:50:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:39 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:39 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:50:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:50:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:50:39 Europe/Berlin] Session role: not set
[13-Nov-2025 10:50:39 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:50:39 UTC] DB Connection Status: Connected
[13-Nov-2025 09:50:39 UTC] User with ID 14 found
[13-Nov-2025 09:50:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:51:49 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[13-Nov-2025 10:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:51:49 Europe/Berlin] Session role: not set
[13-Nov-2025 10:51:49 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:51:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:51:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 10:51:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:59 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:51:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:59 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:51:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:51:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:51:59 Europe/Berlin] Session role: not set
[13-Nov-2025 10:51:59 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:51:59 UTC] DB Connection Status: Connected
[13-Nov-2025 09:51:59 UTC] User with ID 14 found
[13-Nov-2025 09:51:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:52:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:52:02 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[13-Nov-2025 10:52:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:02 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:02 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:52:02 Europe/Berlin] Session role: not set
[13-Nov-2025 10:52:02 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:52:03 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 437
[13-Nov-2025 09:52:03 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[13-Nov-2025 09:52:03 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[13-Nov-2025 09:52:03 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 554
[13-Nov-2025 10:52:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:52:08 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 10:52:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:52:08 Europe/Berlin] Session role: not set
[13-Nov-2025 10:52:08 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:52:08 UTC] DB Connection Status: Connected
[13-Nov-2025 09:52:08 UTC] User with ID 14 found
[13-Nov-2025 09:52:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:52:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:52:12 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Nov-2025 10:52:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:52:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:52:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:52:12 Europe/Berlin] Session role: not set
[13-Nov-2025 10:52:12 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:54:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:54:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 10:54:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:54:53 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:54:53 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:54:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:54:53 Europe/Berlin] Session role: not set
[13-Nov-2025 10:54:53 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:54:53 UTC] DB Connection Status: Connected
[13-Nov-2025 09:54:53 UTC] User with ID 14 found
[13-Nov-2025 09:54:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:55:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 10:55:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 10:55:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:55:37 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:55:37 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 10:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 10:55:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 10:55:37 Europe/Berlin] Session role: not set
[13-Nov-2025 10:55:37 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 09:55:37 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 09:55:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 09:55:37 UTC] Found 3 videos for teacher 14
[13-Nov-2025 11:01:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:01:17 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 11:01:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:01:17 Europe/Berlin] Session role: not set
[13-Nov-2025 11:01:17 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:01:17 UTC] DB Connection Status: Connected
[13-Nov-2025 10:01:17 UTC] User with ID 14 found
[13-Nov-2025 10:01:17 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 11:01:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:01:23 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[13-Nov-2025 11:01:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:23 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:23 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:01:23 Europe/Berlin] Session role: not set
[13-Nov-2025 11:01:23 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:01:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 11:01:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:01:26 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Nov-2025 11:01:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:26 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:26 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:01:26 Europe/Berlin] Session role: not set
[13-Nov-2025 11:01:26 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 11:01:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:01:34 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Nov-2025 11:01:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:01:34 Europe/Berlin] Session role: not set
[13-Nov-2025 11:01:34 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:01:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 10:01:34 UTC] DEBUG: Teacher ID = 14
[13-Nov-2025 10:01:34 UTC] DEBUG: Courses found = 1
[13-Nov-2025 10:01:34 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[13-Nov-2025 11:01:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:01:36 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:01:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:01:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:01:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:01:36 Europe/Berlin] Session role: not set
[13-Nov-2025 11:01:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 11:02:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:02:29 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:02:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:02:29 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:02:29 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:02:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:02:29 Europe/Berlin] Session role: not set
[13-Nov-2025 11:02:29 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:02:29 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/enrolled_students.php:45
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 45
[13-Nov-2025 11:07:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:07:25 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:07:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:25 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:25 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:07:25 Europe/Berlin] Session role: not set
[13-Nov-2025 11:07:25 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:07:25 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/enrolled_students.php:52
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 52
[13-Nov-2025 11:26:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:26:13 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:26:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:26:13 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:26:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:26:13 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:26:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:26:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:26:13 Europe/Berlin] Session role: not set
[13-Nov-2025 11:26:13 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:26:13 UTC] Error 8: Undefined index: user_id in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 343
[13-Nov-2025 10:26:13 UTC] Error 8: Undefined index: user_id in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 343
[13-Nov-2025 11:32:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:32:51 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:32:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:32:51 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:32:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:32:51 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:32:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:32:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:32:51 Europe/Berlin] Session role: not set
[13-Nov-2025 11:32:51 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 10:32:51 UTC] Error 8: Undefined index: user_id in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 343
[13-Nov-2025 10:32:51 UTC] Error 8: Undefined index: user_id in /home/twpurnyc/public_html/teacher/enrolled_students.php on line 343
[13-Nov-2025 11:35:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:35:38 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:35:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:35:38 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:35:38 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:35:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:35:38 Europe/Berlin] Session role: not set
[13-Nov-2025 11:35:38 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 11:45:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:45:31 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 11:45:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:45:31 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:45:31 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 11:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:45:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:45:31 Europe/Berlin] Session role: not set
[13-Nov-2025 11:45:31 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:02:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:02:32 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:02:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:02:32 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:02:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:02:32 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:02:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:02:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:02:32 Europe/Berlin] Session role: not set
[13-Nov-2025 12:02:32 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:06:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:06:40 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:06:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:06:40 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:06:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:06:40 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:06:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:06:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:06:40 Europe/Berlin] Session role: not set
[13-Nov-2025 12:06:40 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:07:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:07:17 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 11:07:17 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:17 UTC] isLoggedIn check result: true
[13-Nov-2025 11:07:17 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:17 UTC] isLoggedIn check result: true
[13-Nov-2025 11:07:17 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:17 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:07:17 UTC] Session role: not set
[13-Nov-2025 11:07:17 UTC] Session user_role: teacher
[13-Nov-2025 12:07:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:07:31 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 11:07:31 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:31 UTC] isLoggedIn check result: true
[13-Nov-2025 11:07:31 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:31 UTC] isLoggedIn check result: true
[13-Nov-2025 11:07:31 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:07:31 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:07:31 UTC] Session role: not set
[13-Nov-2025 11:07:31 UTC] Session user_role: teacher
[13-Nov-2025 12:11:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:11:09 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 11:11:09 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:11:09 UTC] isLoggedIn check result: true
[13-Nov-2025 11:11:09 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:11:09 UTC] isLoggedIn check result: true
[13-Nov-2025 11:11:09 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:11:09 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:11:09 UTC] Session role: not set
[13-Nov-2025 11:11:09 UTC] Session user_role: teacher
[13-Nov-2025 12:11:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:11:10 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:11:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:10 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:11:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:10 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:11:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:11:10 Europe/Berlin] Session role: not set
[13-Nov-2025 12:11:10 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:11:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:11:20 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:11:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:20 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:20 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:11:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:11:20 Europe/Berlin] Session role: not set
[13-Nov-2025 12:11:20 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:12:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:12:09 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 11:12:09 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:12:09 UTC] isLoggedIn check result: true
[13-Nov-2025 11:12:09 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:12:09 UTC] isLoggedIn check result: true
[13-Nov-2025 11:12:09 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:12:09 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:12:09 UTC] Session role: not set
[13-Nov-2025 11:12:09 UTC] Session user_role: teacher
[13-Nov-2025 12:18:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:18:29 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:18:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:29 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:18:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:29 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:18:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:18:29 Europe/Berlin] Session role: not set
[13-Nov-2025 12:18:29 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:18:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:18:34 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:18:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:18:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:34 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:18:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:18:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:18:34 Europe/Berlin] Session role: not set
[13-Nov-2025 12:18:34 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 12:19:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 11:19:16 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 11:19:16 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:19:16 UTC] isLoggedIn check result: true
[13-Nov-2025 11:19:16 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:19:16 UTC] isLoggedIn check result: true
[13-Nov-2025 11:19:16 UTC] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 11:19:16 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 11:19:16 UTC] Session role: not set
[13-Nov-2025 11:19:16 UTC] Session user_role: teacher
[13-Nov-2025 12:19:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 12:19:56 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 12:19:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:19:56 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:19:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:19:56 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 12:19:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763026071
    [last_regeneration] => 1763026071
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763026071
    [session_started_at] => 2025-11-13 10:27:51
    [login_redirect_count] => 0
)

[13-Nov-2025 12:19:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 12:19:56 Europe/Berlin] Session role: not set
[13-Nov-2025 12:19:56 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:23:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 14:23:58 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 14:23:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
)

[13-Nov-2025 14:23:58 Europe/Berlin] isLoggedIn check result: false
[13-Nov-2025 14:23:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
)

[13-Nov-2025 14:24:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 14:24:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 14:24:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 1
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:06 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 1
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:06 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 1
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 14:24:06 Europe/Berlin] Session role: not set
[13-Nov-2025 14:24:06 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 13:24:07 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 13:24:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 13:24:07 UTC] Found 3 videos for teacher 14
[13-Nov-2025 14:24:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 14:24:12 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 14:24:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 14:24:12 Europe/Berlin] Session role: not set
[13-Nov-2025 14:24:12 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:24:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 14:24:17 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 14:24:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 14:24:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 14:24:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 14:24:17 Europe/Berlin] Session role: not set
[13-Nov-2025 14:24:17 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:24:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 13:24:38 UTC] Teacher Auth Check - Script: publish_to_library.php
[13-Nov-2025 13:24:38 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:38 UTC] isLoggedIn check result: true
[13-Nov-2025 13:24:38 UTC] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:38 UTC] isLoggedIn check result: true
[13-Nov-2025 13:24:38 UTC] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:38 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 13:24:38 UTC] Session role: not set
[13-Nov-2025 13:24:38 UTC] Session user_role: teacher
[13-Nov-2025 14:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 13:24:48 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 13:24:48 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:48 UTC] isLoggedIn check result: true
[13-Nov-2025 13:24:48 UTC] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:48 UTC] isLoggedIn check result: true
[13-Nov-2025 13:24:48 UTC] Session data: Array
(
    [session_started_at] => 2025-11-13 14:23:58
    [login_redirect_count] => 0
    [last_page] => /teacher/enrolled_students.php
    [created_at] => 1763040245
    [last_regeneration] => 1763040245
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763040245
)

[13-Nov-2025 13:24:48 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 13:24:48 UTC] Session role: not set
[13-Nov-2025 13:24:48 UTC] Session user_role: teacher
[13-Nov-2025 15:26:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:26:06 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 15:26:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 15:26:06
)

[13-Nov-2025 15:26:06 Europe/Berlin] isLoggedIn check result: false
[13-Nov-2025 15:26:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 15:26:06
)

[13-Nov-2025 15:26:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:26:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 15:26:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
)

[13-Nov-2025 15:26:10 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
)

[13-Nov-2025 15:26:10 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
)

[13-Nov-2025 15:26:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:26:10 Europe/Berlin] Session role: not set
[13-Nov-2025 15:26:10 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:26:10 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 14:26:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 14:26:10 UTC] Found 3 videos for teacher 14
[13-Nov-2025 15:31:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:31:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 15:31:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:31:59 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:31:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:31:59 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:31:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:31:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:31:59 Europe/Berlin] Session role: not set
[13-Nov-2025 15:31:59 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:31:59 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 14:31:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 14:31:59 UTC] Found 3 videos for teacher 14
[13-Nov-2025 15:35:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:35:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 15:35:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:35:56 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:35:56 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:35:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:35:56 Europe/Berlin] Session role: not set
[13-Nov-2025 15:35:56 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:35:56 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 14:35:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 14:35:56 UTC] Found 3 videos for teacher 14
[13-Nov-2025 15:36:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:36:26 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 15:36:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:36:26 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:36:26 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:36:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:36:26 Europe/Berlin] Session role: not set
[13-Nov-2025 15:36:26 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:36:26 UTC] Prepare statement failed in analytics.php: Unknown column 'vv.watch_duration' in 'field list'
[13-Nov-2025 14:36:26 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 14:36:26 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 15:47:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:47:33 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 15:47:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:47:33 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:47:33 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 15:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:47:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:47:33 Europe/Berlin] Session role: not set
[13-Nov-2025 15:47:33 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 14:47:33 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 14:47:33 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:14:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:14:47 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:14:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:14:47 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:14:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:14:47 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:14:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:14:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:14:47 Europe/Berlin] Session role: not set
[13-Nov-2025 16:14:47 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:14:51 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:14:52 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:19:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:19:55 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:19:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:19:55 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:19:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:19:55 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:19:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:19:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:19:55 Europe/Berlin] Session role: not set
[13-Nov-2025 16:19:55 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:19:55 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:19:55 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:23:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:23:15 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:23:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:23:15 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:23:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:23:15 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:23:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:23:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:23:15 Europe/Berlin] Session role: not set
[13-Nov-2025 16:23:15 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:23:17 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:23:17 UTC] Analytics: No courses with enrollments found. Trying all courses for teacher.
[13-Nov-2025 15:23:17 UTC] Analytics: Still no courses found. Checking if any courses exist for teacher.
[13-Nov-2025 15:23:17 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:23:17 UTC] Analytics: Final top_courses count: 1
[13-Nov-2025 15:23:17 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:23:18 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:27:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:27:21 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:27:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:27:21 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:27:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:27:21 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:27:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:27:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:27:21 Europe/Berlin] Session role: not set
[13-Nov-2025 16:27:21 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:27:21 UTC] Analytics: Using Teacher ID 4 for testing - this teacher has course data
[13-Nov-2025 15:27:21 UTC] Analytics: Looking for courses for teacher ID: 4
[13-Nov-2025 15:27:21 UTC] Analytics: No courses with enrollments found. Trying all courses for teacher.
[13-Nov-2025 15:27:21 UTC] Analytics: Still no courses found. Checking if any courses exist for teacher.
[13-Nov-2025 15:27:21 UTC] Analytics: Teacher has 0 total courses in database
[13-Nov-2025 15:27:21 UTC] Analytics: Final top_courses count: 1
[13-Nov-2025 15:27:21 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:27:21 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:28:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:28:14 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:28:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:28:14 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:28:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:28:14 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:28:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:28:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:28:14 Europe/Berlin] Session role: not set
[13-Nov-2025 16:28:14 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:28:16 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:28:16 UTC] Analytics: No courses with enrollments found. Trying all courses for teacher.
[13-Nov-2025 15:28:16 UTC] Analytics: Still no courses found. Checking if any courses exist for teacher.
[13-Nov-2025 15:28:16 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:28:16 UTC] Analytics: Final top_courses count: 1
[13-Nov-2025 15:28:16 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:28:16 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:33:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:33:05 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:33:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:33:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:33:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:33:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:33:05 Europe/Berlin] Session role: not set
[13-Nov-2025 16:33:05 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:33:06 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:33:06 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 15:33:06 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:33:06 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 15:33:06 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:33:06 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:34:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 15:34:07 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 15:34:07 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:34:07 UTC] isLoggedIn check result: true
[13-Nov-2025 15:34:07 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:34:07 UTC] isLoggedIn check result: true
[13-Nov-2025 15:34:07 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 15:34:07 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 15:34:07 UTC] Session role: not set
[13-Nov-2025 15:34:07 UTC] Session user_role: teacher
[13-Nov-2025 16:34:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:34:11 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Nov-2025 16:34:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:34:11 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:34:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:34:11 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:34:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:34:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:34:11 Europe/Berlin] Session role: not set
[13-Nov-2025 16:34:11 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:42:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:42:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 16:42:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-13 16:42:08
)

[13-Nov-2025 16:42:08 Europe/Berlin] isLoggedIn check result: false
[13-Nov-2025 16:42:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-13 16:42:08
)

[13-Nov-2025 16:45:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:45:32 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 16:45:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:45:32 Europe/Berlin] Session role: not set
[13-Nov-2025 16:45:32 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:45:32 UTC] DB Connection Status: Connected
[13-Nov-2025 15:45:33 UTC] User with ID 14 found
[13-Nov-2025 15:45:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 16:45:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:45:41 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[13-Nov-2025 16:45:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:41 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:41 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:45:41 Europe/Berlin] Session role: not set
[13-Nov-2025 16:45:41 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:45:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 16:45:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:45:47 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:45:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:47 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:47 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:45:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:45:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:45:47 Europe/Berlin] Session role: not set
[13-Nov-2025 16:45:47 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:45:47 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:45:47 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 15:45:47 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:45:47 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 15:45:47 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:45:47 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:56:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:56:46 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:56:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:56:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:56:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:56:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:56:46 Europe/Berlin] Session role: not set
[13-Nov-2025 16:56:46 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:56:47 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:56:47 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 15:56:47 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:56:47 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 15:56:47 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:56:47 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 16:59:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:59:31 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 16:59:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:59:31 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:59:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:59:31 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 16:59:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:59:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:59:31 Europe/Berlin] Session role: not set
[13-Nov-2025 16:59:31 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 15:59:31 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 15:59:31 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 15:59:31 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 15:59:31 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 15:59:31 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 15:59:31 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:03:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:03:42 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:03:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:03:42 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:03:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:03:42 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:03:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:03:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:03:42 Europe/Berlin] Session role: not set
[13-Nov-2025 17:03:42 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:03:43 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:03:43 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:03:43 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:03:43 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:03:43 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:03:43 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:08:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:08:35 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:08:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:08:35 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:08:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:08:35 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:08:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:08:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:08:35 Europe/Berlin] Session role: not set
[13-Nov-2025 17:08:35 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:08:36 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:08:36 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:08:36 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:08:36 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:08:36 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:08:36 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:09:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:09:03 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:09:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:03 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:09:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:03 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:09:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:09:03 Europe/Berlin] Session role: not set
[13-Nov-2025 17:09:03 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:09:06 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:09:06 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:09:06 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:09:06 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:09:06 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:09:07 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:09:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:09:36 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:09:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:09:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:36 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:09:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:09:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:09:36 Europe/Berlin] Session role: not set
[13-Nov-2025 17:09:36 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:09:38 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:09:38 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:09:38 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:09:38 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:09:38 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:09:39 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:15:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:15:46 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:15:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:15:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:15:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:15:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:15:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:15:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:15:46 Europe/Berlin] Session role: not set
[13-Nov-2025 17:15:46 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:15:46 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:15:46 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:15:47 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:15:47 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:15:47 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:15:47 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:20:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:20:05 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:20:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:20:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:20:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:20:05 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:20:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:20:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:20:05 Europe/Berlin] Session role: not set
[13-Nov-2025 17:20:05 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:20:06 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:20:06 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:20:06 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:20:06 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:20:06 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:20:06 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:34:46 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:34:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:34:46 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:34:46 Europe/Berlin] Session role: not set
[13-Nov-2025 17:34:46 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:34:46 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:34:46 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:34:46 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:34:46 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:34:46 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:34:46 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:35:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:35:00 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 16:35:00 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:35:00 UTC] isLoggedIn check result: true
[13-Nov-2025 16:35:00 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:35:00 UTC] isLoggedIn check result: true
[13-Nov-2025 16:35:00 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:35:00 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:35:00 UTC] Session role: not set
[13-Nov-2025 16:35:00 UTC] Session user_role: teacher
[13-Nov-2025 17:35:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:36:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:36:03 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 16:36:03 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:36:03 UTC] isLoggedIn check result: true
[13-Nov-2025 16:36:03 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:36:03 UTC] isLoggedIn check result: true
[13-Nov-2025 16:36:03 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:36:03 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:36:03 UTC] Session role: not set
[13-Nov-2025 16:36:03 UTC] Session user_role: teacher
[13-Nov-2025 17:52:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:52:53 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[13-Nov-2025 17:52:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:52:53 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:52:53 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:52:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:52:53 Europe/Berlin] Session role: not set
[13-Nov-2025 17:52:53 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:52:53 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/course-materials.php:912
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/course-materials.php on line 912
[13-Nov-2025 17:55:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:55:09 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[13-Nov-2025 17:55:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:55:09 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:55:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:55:09 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:55:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:55:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:55:09 Europe/Berlin] Session role: not set
[13-Nov-2025 17:55:09 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:55:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 16:55:28 UTC] Teacher Auth Check - Script: library.php
[13-Nov-2025 16:55:28 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:55:28 UTC] isLoggedIn check result: true
[13-Nov-2025 16:55:28 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:55:28 UTC] isLoggedIn check result: true
[13-Nov-2025 16:55:28 UTC] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 16:55:28 UTC] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 16:55:28 UTC] Session role: not set
[13-Nov-2025 16:55:28 UTC] Session user_role: teacher
[13-Nov-2025 17:58:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:58:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 17:58:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:12 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:58:12 Europe/Berlin] Session role: not set
[13-Nov-2025 17:58:12 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:58:12 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 16:58:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 16:58:12 UTC] Found 3 videos for teacher 14
[13-Nov-2025 17:58:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:58:24 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:58:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:24 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:24 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:58:24 Europe/Berlin] Session role: not set
[13-Nov-2025 17:58:24 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:58:25 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:58:25 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:58:25 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:58:25 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:58:25 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:58:25 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 17:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:58:57 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 17:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:57 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:57 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:58:57 Europe/Berlin] Session role: not set
[13-Nov-2025 17:58:57 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:59:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:59:01 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 17:59:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:01 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:01 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:59:01 Europe/Berlin] Session role: not set
[13-Nov-2025 17:59:01 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:59:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:59:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Nov-2025 17:59:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:06 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:06 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:59:06 Europe/Berlin] Session role: not set
[13-Nov-2025 17:59:06 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:59:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 16:59:06 UTC] DEBUG: Teacher ID = 14
[13-Nov-2025 16:59:06 UTC] DEBUG: Courses found = 1
[13-Nov-2025 16:59:06 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[13-Nov-2025 17:59:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 17:59:17 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[13-Nov-2025 17:59:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:17 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 17:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 17:59:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 17:59:17 Europe/Berlin] Session role: not set
[13-Nov-2025 17:59:17 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 16:59:17 UTC] Analytics: Looking for courses for teacher ID: 14
[13-Nov-2025 16:59:17 UTC] Analytics: No courses found for teacher 14
[13-Nov-2025 16:59:17 UTC] Analytics: Teacher has 1 total courses in database
[13-Nov-2025 16:59:17 UTC] Analytics: Final top_courses count: 0
[13-Nov-2025 16:59:17 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[13-Nov-2025 16:59:17 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[13-Nov-2025 18:00:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:00:30 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Nov-2025 18:00:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:30 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:30 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:00:30 Europe/Berlin] Session role: not set
[13-Nov-2025 18:00:30 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 18:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:00:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[13-Nov-2025 18:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:35 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:35 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:00:35 Europe/Berlin] Session role: not set
[13-Nov-2025 18:00:35 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:00:35 UTC] DB Connection Status: Connected
[13-Nov-2025 17:00:35 UTC] User with ID 14 found
[13-Nov-2025 17:00:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 18:00:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:00:39 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[13-Nov-2025 18:00:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:39 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:39 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:00:39 Europe/Berlin] Session role: not set
[13-Nov-2025 18:00:39 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:00:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[13-Nov-2025 18:00:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:00:42 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[13-Nov-2025 18:00:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:42 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:42 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:00:42 Europe/Berlin] Session role: not set
[13-Nov-2025 18:00:42 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 18:00:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:00:45 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Nov-2025 18:00:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:45 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:45 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:00:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:00:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:00:45 Europe/Berlin] Session role: not set
[13-Nov-2025 18:00:45 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 18:01:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Nov-2025 18:01:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Nov-2025 18:01:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:01:07 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:01:07 Europe/Berlin] isLoggedIn check result: true
[13-Nov-2025 18:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763043970
    [last_regeneration] => 1763043970
    [stored_redirect] => /teacher/enrolled_students.php
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763043970
    [session_started_at] => 2025-11-13 15:26:10
    [login_redirect_count] => 0
)

[13-Nov-2025 18:01:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Nov-2025 18:01:07 Europe/Berlin] Session role: not set
[13-Nov-2025 18:01:07 Europe/Berlin] Session user_role: teacher
[13-Nov-2025 17:01:07 UTC] Fetching videos for teacher_id: 14
[13-Nov-2025 17:01:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Nov-2025 17:01:07 UTC] Found 3 videos for teacher 14
[14-Nov-2025 09:53:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 09:53:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Nov-2025 09:53:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
)

[14-Nov-2025 09:53:10 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
)

[14-Nov-2025 09:53:10 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
)

[14-Nov-2025 09:53:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 09:53:10 Europe/Berlin] Session role: not set
[14-Nov-2025 09:53:10 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 08:53:12 UTC] Fetching videos for teacher_id: 14
[14-Nov-2025 08:53:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Nov-2025 08:53:12 UTC] Found 3 videos for teacher 14
[14-Nov-2025 09:53:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 08:53:19 UTC] Teacher Auth Check - Script: library.php
[14-Nov-2025 08:53:19 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:19 UTC] isLoggedIn check result: true
[14-Nov-2025 08:53:19 UTC] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:19 UTC] isLoggedIn check result: true
[14-Nov-2025 08:53:19 UTC] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:19 UTC] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 08:53:19 UTC] Session role: not set
[14-Nov-2025 08:53:19 UTC] Session user_role: teacher
[14-Nov-2025 09:53:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 09:53:26 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Nov-2025 09:53:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:26 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:26 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 09:53:26 Europe/Berlin] Session role: not set
[14-Nov-2025 09:53:26 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 09:53:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 08:53:29 UTC] Teacher Auth Check - Script: library.php
[14-Nov-2025 08:53:29 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:29 UTC] isLoggedIn check result: true
[14-Nov-2025 08:53:29 UTC] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:29 UTC] isLoggedIn check result: true
[14-Nov-2025 08:53:29 UTC] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 08:53:29 UTC] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 08:53:29 UTC] Session role: not set
[14-Nov-2025 08:53:29 UTC] Session user_role: teacher
[14-Nov-2025 09:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 09:53:49 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Nov-2025 09:53:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 09:53:49 Europe/Berlin] Session role: not set
[14-Nov-2025 09:53:49 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 09:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 09:53:49 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Nov-2025 09:53:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 09:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763110390
    [last_regeneration] => 1763110390
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763110390
    [session_started_at] => 2025-11-14 09:53:10
    [login_redirect_count] => 0
)

[14-Nov-2025 09:53:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 09:53:49 Europe/Berlin] Session role: not set
[14-Nov-2025 09:53:49 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 15:05:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 15:05:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Nov-2025 15:05:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
)

[14-Nov-2025 15:05:41 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
)

[14-Nov-2025 15:05:41 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
)

[14-Nov-2025 15:05:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 15:05:41 Europe/Berlin] Session role: not set
[14-Nov-2025 15:05:41 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 14:05:41 UTC] Fetching videos for teacher_id: 14
[14-Nov-2025 14:05:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Nov-2025 14:05:41 UTC] Found 3 videos for teacher 14
[14-Nov-2025 15:05:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 15:05:48 Europe/Berlin] Teacher Auth Check - Script: courses.php
[14-Nov-2025 15:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:48 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:48 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 15:05:48 Europe/Berlin] Session role: not set
[14-Nov-2025 15:05:48 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 14:05:48 UTC] DB Connection Status: Connected
[14-Nov-2025 14:05:48 UTC] User with ID 14 found
[14-Nov-2025 14:05:48 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[14-Nov-2025 15:05:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 15:05:52 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[14-Nov-2025 15:05:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:52 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:52 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:05:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:05:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 15:05:52 Europe/Berlin] Session role: not set
[14-Nov-2025 15:05:52 Europe/Berlin] Session user_role: teacher
[14-Nov-2025 14:05:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[14-Nov-2025 15:06:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Nov-2025 15:06:12 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[14-Nov-2025 15:06:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:06:12 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:06:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:06:12 Europe/Berlin] isLoggedIn check result: true
[14-Nov-2025 15:06:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-14 14:03:32
    [created_at] => 1763129140
    [last_regeneration] => 1763129140
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763129140
    [login_redirect_count] => 0
)

[14-Nov-2025 15:06:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Nov-2025 15:06:12 Europe/Berlin] Session role: not set
[14-Nov-2025 15:06:12 Europe/Berlin] Session user_role: teacher
[16-Nov-2025 00:54:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Nov-2025 00:54:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Nov-2025 00:54:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-16 00:54:23
)

[16-Nov-2025 00:54:23 Europe/Berlin] isLoggedIn check result: false
[16-Nov-2025 00:54:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-16 00:54:23
)

[16-Nov-2025 22:38:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Nov-2025 22:38:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Nov-2025 22:38:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-16 21:37:21
    [created_at] => 1763329096
    [last_regeneration] => 1763329096
)

[16-Nov-2025 22:38:31 Europe/Berlin] isLoggedIn check result: false
[16-Nov-2025 22:38:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-16 21:37:21
    [created_at] => 1763329096
    [last_regeneration] => 1763329096
)

[16-Nov-2025 22:38:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Nov-2025 22:38:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Nov-2025 22:38:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-16 21:37:20
    [created_at] => 1763329070
    [last_regeneration] => 1763329070
    [stored_redirect] => course.php?id=1
)

[16-Nov-2025 22:38:33 Europe/Berlin] isLoggedIn check result: false
[16-Nov-2025 22:38:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-16 21:37:20
    [created_at] => 1763329070
    [last_regeneration] => 1763329070
    [stored_redirect] => course.php?id=1
)

[17-Nov-2025 13:59:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Nov-2025 13:59:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[17-Nov-2025 13:59:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-17 12:30:03
    [created_at] => 1763384361
    [last_regeneration] => 1763384361
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763384361
)

[17-Nov-2025 13:59:21 Europe/Berlin] isLoggedIn check result: true
[17-Nov-2025 13:59:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-17 12:30:03
    [created_at] => 1763384361
    [last_regeneration] => 1763384361
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763384361
)

[17-Nov-2025 13:59:21 Europe/Berlin] isLoggedIn check result: true
[17-Nov-2025 13:59:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-17 12:30:03
    [created_at] => 1763384361
    [last_regeneration] => 1763384361
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763384361
)

[17-Nov-2025 13:59:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Nov-2025 13:59:21 Europe/Berlin] Session role: not set
[17-Nov-2025 13:59:21 Europe/Berlin] Session user_role: teacher
[17-Nov-2025 12:59:22 UTC] Fetching videos for teacher_id: 14
[17-Nov-2025 12:59:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[17-Nov-2025 12:59:22 UTC] Found 3 videos for teacher 14
[17-Nov-2025 15:32:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Nov-2025 15:32:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[17-Nov-2025 15:32:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763389945
    [last_regeneration] => 1763389945
    [session_started_at] => 2025-11-17 13:11:25
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763389945
)

[17-Nov-2025 15:32:25 Europe/Berlin] isLoggedIn check result: true
[17-Nov-2025 15:32:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763389945
    [last_regeneration] => 1763389945
    [session_started_at] => 2025-11-17 13:11:25
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763389945
)

[17-Nov-2025 15:32:25 Europe/Berlin] isLoggedIn check result: true
[17-Nov-2025 15:32:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763389945
    [last_regeneration] => 1763389945
    [session_started_at] => 2025-11-17 13:11:25
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763389945
)

[17-Nov-2025 15:32:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Nov-2025 15:32:25 Europe/Berlin] Session role: not set
[17-Nov-2025 15:32:25 Europe/Berlin] Session user_role: teacher
[17-Nov-2025 14:32:25 UTC] Fetching videos for teacher_id: 14
[17-Nov-2025 14:32:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[17-Nov-2025 14:32:25 UTC] Found 3 videos for teacher 14
[18-Nov-2025 01:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Nov-2025 01:07:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Nov-2025 01:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-18 01:07:08
)

[18-Nov-2025 01:07:08 Europe/Berlin] isLoggedIn check result: false
[18-Nov-2025 01:07:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-18 01:07:08
)

[18-Nov-2025 04:14:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Nov-2025 04:14:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Nov-2025 04:14:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-18 04:14:46
)

[18-Nov-2025 04:14:46 Europe/Berlin] isLoggedIn check result: false
[18-Nov-2025 04:14:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-18 04:14:46
)

[19-Nov-2025 11:26:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 11:26:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 11:26:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763547969
    [last_regeneration] => 1763547969
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763547969
    [session_started_at] => 2025-11-19 11:26:09
)

[19-Nov-2025 11:26:09 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 11:26:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1763547969
    [last_regeneration] => 1763547969
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763547969
    [session_started_at] => 2025-11-19 11:26:09
)

[19-Nov-2025 11:26:09 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 11:26:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1763547969
    [last_regeneration] => 1763547969
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763547969
    [session_started_at] => 2025-11-19 11:26:09
)

[19-Nov-2025 11:26:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 11:26:09 Europe/Berlin] Session role: not set
[19-Nov-2025 11:26:09 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 10:26:09 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 10:26:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 10:26:09 UTC] Found 3 videos for teacher 14
[19-Nov-2025 14:37:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:37:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 14:37:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
)

[19-Nov-2025 14:37:52 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
)

[19-Nov-2025 14:37:52 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
)

[19-Nov-2025 14:37:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 14:37:52 Europe/Berlin] Session role: not set
[19-Nov-2025 14:37:52 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 13:37:52 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 13:37:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 13:37:52 UTC] Found 3 videos for teacher 14
[19-Nov-2025 14:39:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:39:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 14:39:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:39:30 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:39:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:39:30 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:39:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:39:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 14:39:30 Europe/Berlin] Session role: not set
[19-Nov-2025 14:39:30 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 13:39:32 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 13:39:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 13:39:32 UTC] Found 3 videos for teacher 14
[19-Nov-2025 14:39:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:39:41 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:40:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:40:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 14:40:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:40:30 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:40:30 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:40:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 14:40:30 Europe/Berlin] Session role: not set
[19-Nov-2025 14:40:30 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 13:40:30 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 13:40:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 13:40:30 UTC] Found 3 videos for teacher 14
[19-Nov-2025 14:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:48 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:48 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 14:47:48 Europe/Berlin] Session role: not set
[19-Nov-2025 14:47:48 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 13:47:49 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 13:47:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 13:47:49 UTC] Found 3 videos for teacher 14
[19-Nov-2025 14:47:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 14:47:56 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[19-Nov-2025 14:47:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:56 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:56 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 14:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763559471
    [last_regeneration] => 1763559471
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763559471
    [session_started_at] => 2025-11-19 14:37:52
    [login_redirect_count] => 0
)

[19-Nov-2025 14:47:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 14:47:56 Europe/Berlin] Session role: not set
[19-Nov-2025 14:47:56 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 15:08:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 15:08:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 15:08:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
)

[19-Nov-2025 15:08:15 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 15:08:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
)

[19-Nov-2025 15:08:15 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 15:08:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
)

[19-Nov-2025 15:08:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 15:08:15 Europe/Berlin] Session role: not set
[19-Nov-2025 15:08:15 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 14:08:18 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 14:08:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 14:08:18 UTC] Found 3 videos for teacher 14
[19-Nov-2025 15:08:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 15:08:25 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[19-Nov-2025 15:08:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
    [login_redirect_count] => 0
)

[19-Nov-2025 15:08:25 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 15:08:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
    [login_redirect_count] => 0
)

[19-Nov-2025 15:08:25 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 15:08:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1763561295
    [last_regeneration] => 1763561295
    [session_started_at] => 2025-11-19 15:00:27
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763561295
    [login_redirect_count] => 0
)

[19-Nov-2025 15:08:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 15:08:25 Europe/Berlin] Session role: not set
[19-Nov-2025 15:08:25 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 16:08:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 16:08:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 16:08:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
)

[19-Nov-2025 16:08:07 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 16:08:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
)

[19-Nov-2025 16:08:07 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 16:08:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
)

[19-Nov-2025 16:08:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 16:08:07 Europe/Berlin] Session role: not set
[19-Nov-2025 16:08:07 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 15:08:15 UTC] Fetching videos for teacher_id: 14
[19-Nov-2025 15:08:15 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Nov-2025 15:08:15 UTC] Found 3 videos for teacher 14
[19-Nov-2025 16:08:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 16:08:22 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[19-Nov-2025 16:08:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
    [login_redirect_count] => 0
)

[19-Nov-2025 16:08:22 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 16:08:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
    [login_redirect_count] => 0
)

[19-Nov-2025 16:08:22 Europe/Berlin] isLoggedIn check result: true
[19-Nov-2025 16:08:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1763564886
    [last_regeneration] => 1763564886
    [session_started_at] => 2025-11-19 16:01:15
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763564886
    [login_redirect_count] => 0
)

[19-Nov-2025 16:08:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Nov-2025 16:08:22 Europe/Berlin] Session role: not set
[19-Nov-2025 16:08:22 Europe/Berlin] Session user_role: teacher
[19-Nov-2025 18:26:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 18:26:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 18:26:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763573173
    [last_regeneration] => 1763573173
    [session_started_at] => 2025-11-19 18:26:15
)

[19-Nov-2025 18:26:56 Europe/Berlin] isLoggedIn check result: false
[19-Nov-2025 18:26:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763573173
    [last_regeneration] => 1763573173
    [session_started_at] => 2025-11-19 18:26:15
)

[19-Nov-2025 18:27:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Nov-2025 18:27:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Nov-2025 18:27:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-19 18:27:20
)

[19-Nov-2025 18:27:21 Europe/Berlin] isLoggedIn check result: false
[19-Nov-2025 18:27:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-19 18:27:20
)

[20-Nov-2025 02:10:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Nov-2025 02:10:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Nov-2025 02:10:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-20 02:10:24
)

[20-Nov-2025 02:10:24 Europe/Berlin] isLoggedIn check result: false
[20-Nov-2025 02:10:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-20 02:10:24
)

[20-Nov-2025 16:40:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Nov-2025 16:40:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Nov-2025 16:40:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
)

[20-Nov-2025 16:40:16 Europe/Berlin] isLoggedIn check result: true
[20-Nov-2025 16:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
)

[20-Nov-2025 16:40:16 Europe/Berlin] isLoggedIn check result: true
[20-Nov-2025 16:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
)

[20-Nov-2025 16:40:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Nov-2025 16:40:16 Europe/Berlin] Session role: not set
[20-Nov-2025 16:40:16 Europe/Berlin] Session user_role: teacher
[20-Nov-2025 15:40:17 UTC] Fetching videos for teacher_id: 14
[20-Nov-2025 15:40:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Nov-2025 15:40:17 UTC] Found 3 videos for teacher 14
[20-Nov-2025 16:40:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Nov-2025 16:40:32 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[20-Nov-2025 16:40:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
    [login_redirect_count] => 0
)

[20-Nov-2025 16:40:32 Europe/Berlin] isLoggedIn check result: true
[20-Nov-2025 16:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
    [login_redirect_count] => 0
)

[20-Nov-2025 16:40:32 Europe/Berlin] isLoggedIn check result: true
[20-Nov-2025 16:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763653216
    [last_regeneration] => 1763653216
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763653216
    [session_started_at] => 2025-11-20 16:40:16
    [login_redirect_count] => 0
)

[20-Nov-2025 16:40:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Nov-2025 16:40:32 Europe/Berlin] Session role: not set
[20-Nov-2025 16:40:32 Europe/Berlin] Session user_role: teacher
[21-Nov-2025 13:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 13:55:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Nov-2025 13:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
)

[21-Nov-2025 13:55:55 Europe/Berlin] isLoggedIn check result: true
[21-Nov-2025 13:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
)

[21-Nov-2025 13:55:55 Europe/Berlin] isLoggedIn check result: true
[21-Nov-2025 13:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
)

[21-Nov-2025 13:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 13:55:55 Europe/Berlin] Session role: not set
[21-Nov-2025 13:55:55 Europe/Berlin] Session user_role: teacher
[21-Nov-2025 12:56:04 UTC] Fetching videos for teacher_id: 14
[21-Nov-2025 12:56:04 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[21-Nov-2025 12:56:04 UTC] Found 3 videos for teacher 14
[21-Nov-2025 13:56:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 12:56:10 UTC] Teacher Auth Check - Script: library.php
[21-Nov-2025 12:56:10 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
    [login_redirect_count] => 0
)

[21-Nov-2025 12:56:10 UTC] isLoggedIn check result: true
[21-Nov-2025 12:56:10 UTC] Session data: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
    [login_redirect_count] => 0
)

[21-Nov-2025 12:56:10 UTC] isLoggedIn check result: true
[21-Nov-2025 12:56:10 UTC] Session data: Array
(
    [created_at] => 1763729754
    [last_regeneration] => 1763729754
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763729754
    [session_started_at] => 2025-11-21 13:55:55
    [login_redirect_count] => 0
)

[21-Nov-2025 12:56:10 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 12:56:10 UTC] Session role: not set
[21-Nov-2025 12:56:10 UTC] Session user_role: teacher
[21-Nov-2025 15:36:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 15:36:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Nov-2025 15:36:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
)

[21-Nov-2025 15:36:35 Europe/Berlin] isLoggedIn check result: true
[21-Nov-2025 15:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
)

[21-Nov-2025 15:36:35 Europe/Berlin] isLoggedIn check result: true
[21-Nov-2025 15:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
)

[21-Nov-2025 15:36:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 15:36:35 Europe/Berlin] Session role: not set
[21-Nov-2025 15:36:35 Europe/Berlin] Session user_role: teacher
[21-Nov-2025 14:36:39 UTC] Fetching videos for teacher_id: 14
[21-Nov-2025 14:36:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[21-Nov-2025 14:36:39 UTC] Found 3 videos for teacher 14
[21-Nov-2025 15:36:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 14:36:48 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 14:36:48 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:36:48 UTC] isLoggedIn check result: true
[21-Nov-2025 14:36:48 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:36:48 UTC] isLoggedIn check result: true
[21-Nov-2025 14:36:48 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:36:48 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 14:36:48 UTC] Session role: not set
[21-Nov-2025 14:36:48 UTC] Session user_role: teacher
[21-Nov-2025 15:53:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 14:53:57 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 14:53:57 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:53:57 UTC] isLoggedIn check result: true
[21-Nov-2025 14:53:57 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:53:57 UTC] isLoggedIn check result: true
[21-Nov-2025 14:53:57 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:53:57 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 14:53:57 UTC] Session role: not set
[21-Nov-2025 14:53:57 UTC] Session user_role: teacher
[21-Nov-2025 15:58:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 14:58:49 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 14:58:49 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:58:49 UTC] isLoggedIn check result: true
[21-Nov-2025 14:58:49 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:58:49 UTC] isLoggedIn check result: true
[21-Nov-2025 14:58:49 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 14:58:49 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 14:58:49 UTC] Session role: not set
[21-Nov-2025 14:58:49 UTC] Session user_role: teacher
[21-Nov-2025 16:17:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 15:17:39 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 15:17:39 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:17:39 UTC] isLoggedIn check result: true
[21-Nov-2025 15:17:39 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:17:39 UTC] isLoggedIn check result: true
[21-Nov-2025 15:17:39 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:17:39 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 15:17:39 UTC] Session role: not set
[21-Nov-2025 15:17:39 UTC] Session user_role: teacher
[21-Nov-2025 16:26:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 15:26:56 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 15:26:56 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:26:56 UTC] isLoggedIn check result: true
[21-Nov-2025 15:26:56 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:26:56 UTC] isLoggedIn check result: true
[21-Nov-2025 15:26:56 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:26:56 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 15:26:56 UTC] Session role: not set
[21-Nov-2025 15:26:56 UTC] Session user_role: teacher
[21-Nov-2025 16:32:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 15:32:21 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 15:32:21 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:32:21 UTC] isLoggedIn check result: true
[21-Nov-2025 15:32:21 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:32:21 UTC] isLoggedIn check result: true
[21-Nov-2025 15:32:21 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 15:32:21 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 15:32:21 UTC] Session role: not set
[21-Nov-2025 15:32:21 UTC] Session user_role: teacher
[21-Nov-2025 17:00:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:00:59 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:00:59 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:00:59 UTC] isLoggedIn check result: true
[21-Nov-2025 16:00:59 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:00:59 UTC] isLoggedIn check result: true
[21-Nov-2025 16:00:59 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:00:59 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:00:59 UTC] Session role: not set
[21-Nov-2025 16:00:59 UTC] Session user_role: teacher
[21-Nov-2025 17:01:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:01:47 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:01:47 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:01:47 UTC] isLoggedIn check result: true
[21-Nov-2025 16:01:47 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:01:47 UTC] isLoggedIn check result: true
[21-Nov-2025 16:01:47 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:01:47 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:01:47 UTC] Session role: not set
[21-Nov-2025 16:01:47 UTC] Session user_role: teacher
[21-Nov-2025 17:11:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:11:45 UTC] === FORM SUBMISSION DEBUG ===
[21-Nov-2025 16:11:45 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => we
    [category] => 3
    [custom_category] => 
    [tags] => begg
    [submit_document] => 
)

[21-Nov-2025 16:11:45 UTC] FILES data: Array
(
)

[21-Nov-2025 16:11:45 UTC] Checking document_file: NOT SET
[21-Nov-2025 16:11:45 UTC] Document file name: EMPTY
[21-Nov-2025 16:11:45 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:11:45 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:11:45 UTC] isLoggedIn check result: true
[21-Nov-2025 16:11:45 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:11:45 UTC] isLoggedIn check result: true
[21-Nov-2025 16:11:45 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:11:45 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:11:45 UTC] Session role: not set
[21-Nov-2025 16:11:45 UTC] Session user_role: teacher
[21-Nov-2025 17:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:16:30 UTC] === FORM SUBMISSION DEBUG ===
[21-Nov-2025 16:16:30 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => we
    [category] => 3
    [custom_category] => 
    [tags] => begg
    [submit_document] => 
)

[21-Nov-2025 16:16:30 UTC] FILES data: Array
(
)

[21-Nov-2025 16:16:30 UTC] Checking document_file: NOT SET
[21-Nov-2025 16:16:30 UTC] Document file name: EMPTY
[21-Nov-2025 16:16:30 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:16:30 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:16:30 UTC] isLoggedIn check result: true
[21-Nov-2025 16:16:30 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:16:30 UTC] isLoggedIn check result: true
[21-Nov-2025 16:16:30 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:16:30 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:16:30 UTC] Session role: not set
[21-Nov-2025 16:16:30 UTC] Session user_role: teacher
[21-Nov-2025 17:29:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:29:28 UTC] === FORM SUBMISSION DEBUG ===
[21-Nov-2025 16:29:28 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => we
    [category] => 3
    [custom_category] => 
    [tags] => begg
    [submit_document] => 
)

[21-Nov-2025 16:29:28 UTC] FILES data: Array
(
)

[21-Nov-2025 16:29:28 UTC] Checking document_file: NOT SET
[21-Nov-2025 16:29:28 UTC] Document file name: EMPTY
[21-Nov-2025 16:29:29 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:29:29 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:29:29 UTC] isLoggedIn check result: true
[21-Nov-2025 16:29:29 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:29:29 UTC] isLoggedIn check result: true
[21-Nov-2025 16:29:29 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:29:29 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:29:29 UTC] Session role: not set
[21-Nov-2025 16:29:29 UTC] Session user_role: teacher
[21-Nov-2025 17:41:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Nov-2025 16:41:29 UTC] === FORM SUBMISSION DEBUG ===
[21-Nov-2025 16:41:29 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => we
    [category] => 3
    [custom_category] => 
    [tags] => begg
    [submit_document] => 
)

[21-Nov-2025 16:41:29 UTC] FILES data: Array
(
)

[21-Nov-2025 16:41:29 UTC] Checking document_file: NOT SET
[21-Nov-2025 16:41:29 UTC] Document file name: EMPTY
[21-Nov-2025 16:41:31 UTC] Teacher Auth Check - Script: library_submissions.php
[21-Nov-2025 16:41:31 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:41:31 UTC] isLoggedIn check result: true
[21-Nov-2025 16:41:31 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:41:31 UTC] isLoggedIn check result: true
[21-Nov-2025 16:41:31 UTC] Session data: Array
(
    [created_at] => 1763735794
    [last_regeneration] => 1763735794
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763735794
    [session_started_at] => 2025-11-21 15:36:34
    [login_redirect_count] => 0
)

[21-Nov-2025 16:41:31 UTC] hasPermission check - Required: teacher, User: teacher
[21-Nov-2025 16:41:31 UTC] Session role: not set
[21-Nov-2025 16:41:31 UTC] Session user_role: teacher
[22-Nov-2025 06:31:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:31:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 06:31:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
)

[22-Nov-2025 06:31:58 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 06:31:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
)

[22-Nov-2025 06:31:58 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 06:31:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
)

[22-Nov-2025 06:31:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:31:58 Europe/Berlin] Session role: not set
[22-Nov-2025 06:31:58 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 05:31:58 UTC] Fetching videos for teacher_id: 14
[22-Nov-2025 05:31:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Nov-2025 05:31:58 UTC] Found 3 videos for teacher 14
[22-Nov-2025 06:32:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:32:29 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 05:32:29 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:32:29 UTC] isLoggedIn check result: true
[22-Nov-2025 05:32:29 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:32:29 UTC] isLoggedIn check result: true
[22-Nov-2025 05:32:29 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:32:29 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:32:29 UTC] Session role: not set
[22-Nov-2025 05:32:29 UTC] Session user_role: teacher
[22-Nov-2025 06:38:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:38:39 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 05:38:39 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:38:39 UTC] isLoggedIn check result: true
[22-Nov-2025 05:38:39 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:38:39 UTC] isLoggedIn check result: true
[22-Nov-2025 05:38:39 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:38:39 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:38:39 UTC] Session role: not set
[22-Nov-2025 05:38:39 UTC] Session user_role: teacher
[22-Nov-2025 06:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:39:37 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 05:39:37 UTC] POST data: Array
(
    [title] => Web dev
    [priority] => medium
    [description] => wedwed
    [category] => 4
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[22-Nov-2025 05:39:37 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Black Gold Modern Elegant Certificate of Competition Certificate (1).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpKpXHAK
            [error] => 0
            [size] => 391904
        )

)

[22-Nov-2025 05:39:37 UTC] Checking document_file: SET
[22-Nov-2025 05:39:37 UTC] Document file name: Black Gold Modern Elegant Certificate of Competition Certificate (1).pdf
[22-Nov-2025 05:39:38 UTC] PHP Warning:  mysqli_stmt::bind_param(): Undefined fieldtype l (parameter 10) in /home/twpurnyc/public_html/teacher/library_submissions.php on line 159
[22-Nov-2025 05:39:38 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 05:39:38 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:39:38 UTC] isLoggedIn check result: true
[22-Nov-2025 05:39:38 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:39:38 UTC] isLoggedIn check result: true
[22-Nov-2025 05:39:38 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:39:38 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:39:38 UTC] Session role: not set
[22-Nov-2025 05:39:38 UTC] Session user_role: teacher
[22-Nov-2025 06:41:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:41:34 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 05:41:34 UTC] POST data: Array
(
    [title] => Web dev
    [priority] => medium
    [description] => wedwed
    [category] => 4
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[22-Nov-2025 05:41:34 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Black Gold Modern Elegant Certificate of Competition Certificate (1).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpuEGcAE
            [error] => 0
            [size] => 391904
        )

)

[22-Nov-2025 05:41:34 UTC] Checking document_file: SET
[22-Nov-2025 05:41:34 UTC] Document file name: Black Gold Modern Elegant Certificate of Competition Certificate (1).pdf
[22-Nov-2025 05:41:34 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 05:41:34 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:41:34 UTC] isLoggedIn check result: true
[22-Nov-2025 05:41:34 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:41:34 UTC] isLoggedIn check result: true
[22-Nov-2025 05:41:34 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:41:34 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:41:34 UTC] Session role: not set
[22-Nov-2025 05:41:34 UTC] Session user_role: teacher
[22-Nov-2025 06:46:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:46:23 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 05:46:23 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:23 UTC] isLoggedIn check result: true
[22-Nov-2025 05:46:23 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:23 UTC] isLoggedIn check result: true
[22-Nov-2025 05:46:23 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:23 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:46:23 UTC] Session role: not set
[22-Nov-2025 05:46:23 UTC] Session user_role: teacher
[22-Nov-2025 06:46:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:46:34 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 05:46:34 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:34 UTC] isLoggedIn check result: true
[22-Nov-2025 05:46:34 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:34 UTC] isLoggedIn check result: true
[22-Nov-2025 05:46:34 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:46:34 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:46:34 UTC] Session role: not set
[22-Nov-2025 05:46:34 UTC] Session user_role: teacher
[22-Nov-2025 06:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 05:54:49 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 05:54:49 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:54:49 UTC] isLoggedIn check result: true
[22-Nov-2025 05:54:49 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:54:49 UTC] isLoggedIn check result: true
[22-Nov-2025 05:54:49 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 05:54:49 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 05:54:49 UTC] Session role: not set
[22-Nov-2025 05:54:49 UTC] Session user_role: teacher
[22-Nov-2025 05:54:49 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 747
[22-Nov-2025 07:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:01:49 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:01:49 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:01:49 UTC] isLoggedIn check result: true
[22-Nov-2025 06:01:49 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:01:49 UTC] isLoggedIn check result: true
[22-Nov-2025 06:01:49 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:01:49 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:01:49 UTC] Session role: not set
[22-Nov-2025 06:01:49 UTC] Session user_role: teacher
[22-Nov-2025 06:01:49 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 748
[22-Nov-2025 07:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:02:20 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:02:20 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:02:20 UTC] isLoggedIn check result: true
[22-Nov-2025 06:02:20 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:02:20 UTC] isLoggedIn check result: true
[22-Nov-2025 06:02:20 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:02:20 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:02:20 UTC] Session role: not set
[22-Nov-2025 06:02:20 UTC] Session user_role: teacher
[22-Nov-2025 06:02:20 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 748
[22-Nov-2025 07:09:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:09:07 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:09:07 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:07 UTC] isLoggedIn check result: true
[22-Nov-2025 06:09:07 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:07 UTC] isLoggedIn check result: true
[22-Nov-2025 06:09:07 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:07 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:09:07 UTC] Session role: not set
[22-Nov-2025 06:09:07 UTC] Session user_role: teacher
[22-Nov-2025 06:09:07 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 775
[22-Nov-2025 07:09:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:09:46 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 06:09:46 UTC] POST data: Array
(
    [title] => jhbnm
    [priority] => high
    [description] => bhjn 
    [category] => 6
    [custom_category] => 
    [tags] => jhn 
    [submit_document] => 
)

[22-Nov-2025 06:09:46 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Website development from Webectak- quotation (1).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpNri8uP
            [error] => 0
            [size] => 77705
        )

)

[22-Nov-2025 06:09:46 UTC] Checking document_file: SET
[22-Nov-2025 06:09:46 UTC] Document file name: Website development from Webectak- quotation (1).pdf
[22-Nov-2025 06:09:46 UTC] === DATABASE INSERT DEBUG ===
[22-Nov-2025 06:09:46 UTC] teacher_id: 14
[22-Nov-2025 06:09:46 UTC] title: jhbnm
[22-Nov-2025 06:09:46 UTC] description: bhjn
[22-Nov-2025 06:09:46 UTC] category_id: 6
[22-Nov-2025 06:09:46 UTC] tags: jhn
[22-Nov-2025 06:09:46 UTC] relative_path: uploads/library_submissions/1763791786_692153aae2d33.pdf
[22-Nov-2025 06:09:46 UTC] file_name: Website development from Webectak- quotation (1).pdf
[22-Nov-2025 06:09:46 UTC] file_extension: pdf
[22-Nov-2025 06:09:46 UTC] file_size: 77705
[22-Nov-2025 06:09:46 UTC] priority: high
[22-Nov-2025 06:09:46 UTC] thumbnail_path: NULL
[22-Nov-2025 06:09:46 UTC] SUCCESS: Submission inserted with ID: 2
[22-Nov-2025 06:09:46 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:09:46 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:46 UTC] isLoggedIn check result: true
[22-Nov-2025 06:09:46 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:46 UTC] isLoggedIn check result: true
[22-Nov-2025 06:09:46 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:09:46 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:09:46 UTC] Session role: not set
[22-Nov-2025 06:09:46 UTC] Session user_role: teacher
[22-Nov-2025 06:09:46 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 775
[22-Nov-2025 06:09:46 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 775
[22-Nov-2025 07:15:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:15:44 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:15:44 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:15:44 UTC] isLoggedIn check result: true
[22-Nov-2025 06:15:44 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:15:44 UTC] isLoggedIn check result: true
[22-Nov-2025 06:15:44 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:15:44 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:15:44 UTC] Session role: not set
[22-Nov-2025 06:15:44 UTC] Session user_role: teacher
[22-Nov-2025 06:15:44 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 770
[22-Nov-2025 06:15:44 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 770
[22-Nov-2025 07:16:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:16:23 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 06:16:23 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => wef
    [category] => 2
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[22-Nov-2025 06:16:23 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Website development from Webectak- quotation (1).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpY09RmC
            [error] => 0
            [size] => 77705
        )

    [thumbnail] => Array
        (
            [name] => website development pricing (8).png
            [type] => image/png
            [tmp_name] => /tmp/php3b6qa6
            [error] => 0
            [size] => 538518
        )

)

[22-Nov-2025 06:16:23 UTC] PHP Notice:  Undefined variable: upload_dir in /home/twpurnyc/public_html/teacher/library_submissions.php on line 113
[22-Nov-2025 06:16:23 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function resizeThumbnail() in /home/twpurnyc/public_html/teacher/library_submissions.php:120
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/library_submissions.php on line 120
[22-Nov-2025 07:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 06:18:20 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 06:18:20 UTC] POST data: Array
(
    [title] => welcome
    [priority] => low
    [description] => wef
    [category] => 2
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[22-Nov-2025 06:18:20 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Website development from Webectak- quotation (1).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/php9YtQ6R
            [error] => 0
            [size] => 77705
        )

    [thumbnail] => Array
        (
            [name] => website development pricing (8).png
            [type] => image/png
            [tmp_name] => /tmp/php3UsLZl
            [error] => 0
            [size] => 538518
        )

)

[22-Nov-2025 06:18:20 UTC] Checking document_file: SET
[22-Nov-2025 06:18:20 UTC] Document file name: Website development from Webectak- quotation (1).pdf
[22-Nov-2025 06:18:20 UTC] === DATABASE INSERT DEBUG ===
[22-Nov-2025 06:18:20 UTC] teacher_id: 14
[22-Nov-2025 06:18:20 UTC] title: welcome
[22-Nov-2025 06:18:20 UTC] description: wef
[22-Nov-2025 06:18:20 UTC] category_id: 2
[22-Nov-2025 06:18:20 UTC] tags: welcome
[22-Nov-2025 06:18:20 UTC] relative_path: uploads/library_submissions/1763792300_692155ace2d87.pdf
[22-Nov-2025 06:18:20 UTC] file_name: Website development from Webectak- quotation (1).pdf
[22-Nov-2025 06:18:20 UTC] file_extension: pdf
[22-Nov-2025 06:18:20 UTC] file_size: 77705
[22-Nov-2025 06:18:20 UTC] priority: low
[22-Nov-2025 06:18:20 UTC] thumbnail_path: uploads/library_submissions/thumb_1763792300_692155acd4124.png
[22-Nov-2025 06:18:20 UTC] SUCCESS: Submission inserted with ID: 3
[22-Nov-2025 06:18:20 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 06:18:20 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:18:20 UTC] isLoggedIn check result: true
[22-Nov-2025 06:18:20 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:18:20 UTC] isLoggedIn check result: true
[22-Nov-2025 06:18:20 UTC] Session data: Array
(
    [session_started_at] => 2025-11-22 05:31:35
    [created_at] => 1763789517
    [last_regeneration] => 1763789517
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763789517
    [login_redirect_count] => 0
)

[22-Nov-2025 06:18:20 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 06:18:20 UTC] Session role: not set
[22-Nov-2025 06:18:20 UTC] Session user_role: teacher
[22-Nov-2025 06:18:20 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 06:18:20 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 06:18:20 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:15:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:15:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 08:15:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
)

[22-Nov-2025 08:15:02 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
)

[22-Nov-2025 08:15:02 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
)

[22-Nov-2025 08:15:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:15:02 Europe/Berlin] Session role: not set
[22-Nov-2025 08:15:02 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 07:15:03 UTC] Fetching videos for teacher_id: 14
[22-Nov-2025 07:15:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Nov-2025 07:15:03 UTC] Found 3 videos for teacher 14
[22-Nov-2025 08:15:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:15:12 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 07:15:12 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:15:12 UTC] isLoggedIn check result: true
[22-Nov-2025 07:15:12 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:15:12 UTC] isLoggedIn check result: true
[22-Nov-2025 07:15:12 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:15:12 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:15:12 UTC] Session role: not set
[22-Nov-2025 07:15:12 UTC] Session user_role: teacher
[22-Nov-2025 08:16:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:16:33 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 07:16:33 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:16:33 UTC] isLoggedIn check result: true
[22-Nov-2025 07:16:33 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:16:33 UTC] isLoggedIn check result: true
[22-Nov-2025 07:16:33 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:16:33 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:16:33 UTC] Session role: not set
[22-Nov-2025 07:16:33 UTC] Session user_role: teacher
[22-Nov-2025 08:17:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:17:07 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:17:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:17:07 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:17:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:17:07 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:17:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:17:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:17:07 Europe/Berlin] Session role: not set
[22-Nov-2025 08:17:07 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:30:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:30:19 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 07:30:19 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:19 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:19 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:19 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:19 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:19 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:30:19 UTC] Session role: not set
[22-Nov-2025 07:30:19 UTC] Session user_role: teacher
[22-Nov-2025 08:30:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:30:45 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 07:30:45 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:45 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:45 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:45 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:45 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:45 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:30:45 UTC] Session role: not set
[22-Nov-2025 07:30:45 UTC] Session user_role: teacher
[22-Nov-2025 07:30:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:30:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:30:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:30:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:30:56 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 07:30:56 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:56 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:56 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:56 UTC] isLoggedIn check result: true
[22-Nov-2025 07:30:56 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:30:56 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:30:56 UTC] Session role: not set
[22-Nov-2025 07:30:56 UTC] Session user_role: teacher
[22-Nov-2025 08:31:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:31:01 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[22-Nov-2025 08:31:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:31:01 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:31:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:31:01 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:31:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:31:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:31:01 Europe/Berlin] Session role: not set
[22-Nov-2025 08:31:01 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 07:31:01 UTC] Analytics: Looking for courses for teacher ID: 14
[22-Nov-2025 07:31:01 UTC] Analytics: No courses found for teacher 14
[22-Nov-2025 07:31:01 UTC] Analytics: Teacher has 1 total courses in database
[22-Nov-2025 07:31:01 UTC] Analytics: Final top_courses count: 0
[22-Nov-2025 07:31:01 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[22-Nov-2025 07:31:01 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[22-Nov-2025 08:33:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:33:58 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 07:33:58 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:33:58 UTC] isLoggedIn check result: true
[22-Nov-2025 07:33:58 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:33:58 UTC] isLoggedIn check result: true
[22-Nov-2025 07:33:58 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:33:58 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:33:58 UTC] Session role: not set
[22-Nov-2025 07:33:58 UTC] Session user_role: teacher
[22-Nov-2025 08:34:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:34:04 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[22-Nov-2025 08:34:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:04 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:04 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:34:04 Europe/Berlin] Session role: not set
[22-Nov-2025 08:34:04 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:34:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:34:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Nov-2025 08:34:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:08 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:08 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:34:08 Europe/Berlin] Session role: not set
[22-Nov-2025 08:34:08 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 07:34:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Nov-2025 07:34:08 UTC] DEBUG: Teacher ID = 14
[22-Nov-2025 07:34:08 UTC] DEBUG: Courses found = 1
[22-Nov-2025 07:34:08 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[22-Nov-2025 08:34:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:34:12 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 07:34:12 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:12 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:12 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:12 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:12 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:12 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:34:12 UTC] Session role: not set
[22-Nov-2025 07:34:12 UTC] Session user_role: teacher
[22-Nov-2025 08:34:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:34:15 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 07:34:15 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:15 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:15 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:15 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:15 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:15 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:34:15 UTC] Session role: not set
[22-Nov-2025 07:34:15 UTC] Session user_role: teacher
[22-Nov-2025 07:34:15 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:34:15 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:34:15 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:34:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:34:19 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 07:34:19 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:19 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:19 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:19 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:19 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:19 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:34:19 UTC] Session role: not set
[22-Nov-2025 07:34:19 UTC] Session user_role: teacher
[22-Nov-2025 08:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:34:46 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 07:34:46 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:46 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:46 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:46 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:46 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:46 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:34:46 UTC] Session role: not set
[22-Nov-2025 07:34:46 UTC] Session user_role: teacher
[22-Nov-2025 07:34:46 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:34:46 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 07:34:46 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 07:34:49 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 07:34:49 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:49 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:49 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:49 UTC] isLoggedIn check result: true
[22-Nov-2025 07:34:49 UTC] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 07:34:49 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 07:34:49 UTC] Session role: not set
[22-Nov-2025 07:34:49 UTC] Session user_role: teacher
[22-Nov-2025 08:34:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:34:51 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:34:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:51 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:51 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:34:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:34:51 Europe/Berlin] Session role: not set
[22-Nov-2025 08:34:51 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:37:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:37:56 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:37:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:56 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:37:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:56 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:37:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:37:56 Europe/Berlin] Session role: not set
[22-Nov-2025 08:37:56 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:46:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:46:19 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:46:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:46:19 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:46:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:46:19 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:46:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:46:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:46:19 Europe/Berlin] Session role: not set
[22-Nov-2025 08:46:19 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:48:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:48:24 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:48:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:24 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:24 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:48:24 Europe/Berlin] Session role: not set
[22-Nov-2025 08:48:24 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:53:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:53:13 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:53:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:13 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:53:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:13 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:53:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:53:13 Europe/Berlin] Session role: not set
[22-Nov-2025 08:53:13 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:56:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:56:04 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:56:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:04 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:04 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:56:04 Europe/Berlin] Session role: not set
[22-Nov-2025 08:56:04 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:56:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:56:33 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:56:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:33 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:33 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:56:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:56:33 Europe/Berlin] Session role: not set
[22-Nov-2025 08:56:33 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:57:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:57:32 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 08:57:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:57:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:57:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:57:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 08:57:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 08:57:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:57:32 Europe/Berlin] Session role: not set
[22-Nov-2025 08:57:32 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:01:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:01:32 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:01:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:01:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:01:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:01:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:01:32 Europe/Berlin] Session role: not set
[22-Nov-2025 09:01:32 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:05:31 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:05:31 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:05:31 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:05:31 Europe/Berlin] Session role: not set
[22-Nov-2025 09:05:31 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:09:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:09:33 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:09:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:09:33 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:09:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:09:33 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:09:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:09:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:09:33 Europe/Berlin] Session role: not set
[22-Nov-2025 09:09:33 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:11:02 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:11:02 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:11:02 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:11:02 Europe/Berlin] Session role: not set
[22-Nov-2025 09:11:02 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:12:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:12:29 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:12:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:12:29 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:12:29 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1763795702
    [last_regeneration] => 1763795702
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763795702
    [session_started_at] => 2025-11-22 08:15:02
    [login_redirect_count] => 0
)

[22-Nov-2025 09:12:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:12:29 Europe/Berlin] Session role: not set
[22-Nov-2025 09:12:29 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:20:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:20:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 09:20:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
)

[22-Nov-2025 09:20:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
)

[22-Nov-2025 09:20:32 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
)

[22-Nov-2025 09:20:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:20:32 Europe/Berlin] Session role: not set
[22-Nov-2025 09:20:32 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 08:20:35 UTC] Fetching videos for teacher_id: 14
[22-Nov-2025 08:20:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Nov-2025 08:20:35 UTC] Found 3 videos for teacher 14
[22-Nov-2025 09:20:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:20:40 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 08:20:40 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:20:40 UTC] isLoggedIn check result: true
[22-Nov-2025 08:20:40 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:20:40 UTC] isLoggedIn check result: true
[22-Nov-2025 08:20:40 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:20:40 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:20:40 UTC] Session role: not set
[22-Nov-2025 08:20:40 UTC] Session user_role: teacher
[22-Nov-2025 09:20:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:20:53 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:20:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:20:53 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:20:53 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:20:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:20:53 Europe/Berlin] Session role: not set
[22-Nov-2025 09:20:53 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:21:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:21:26 UTC] Teacher Auth Check - Script: library.php
[22-Nov-2025 08:21:26 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:21:26 UTC] isLoggedIn check result: true
[22-Nov-2025 08:21:26 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:21:26 UTC] isLoggedIn check result: true
[22-Nov-2025 08:21:26 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:21:26 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:21:26 UTC] Session role: not set
[22-Nov-2025 08:21:26 UTC] Session user_role: teacher
[22-Nov-2025 09:22:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:22:24 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:22:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:22:24 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:22:24 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:22:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:22:24 Europe/Berlin] Session role: not set
[22-Nov-2025 09:22:24 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:31:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:31:42 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:31:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:31:42 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:31:42 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:31:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:31:42 Europe/Berlin] Session role: not set
[22-Nov-2025 09:31:42 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 09:32:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:32:00 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:32:00 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:00 UTC] isLoggedIn check result: true
[22-Nov-2025 08:32:00 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:00 UTC] isLoggedIn check result: true
[22-Nov-2025 08:32:00 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:00 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:32:00 UTC] Session role: not set
[22-Nov-2025 08:32:00 UTC] Session user_role: teacher
[22-Nov-2025 09:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:32:48 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:32:48 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:48 UTC] isLoggedIn check result: true
[22-Nov-2025 08:32:48 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:48 UTC] isLoggedIn check result: true
[22-Nov-2025 08:32:48 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:32:48 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:32:48 UTC] Session role: not set
[22-Nov-2025 08:32:48 UTC] Session user_role: teacher
[22-Nov-2025 08:32:48 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:32:48 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:32:48 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 09:33:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:33:11 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:33:11 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:11 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:11 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:11 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:11 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:11 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:33:11 UTC] Session role: not set
[22-Nov-2025 08:33:11 UTC] Session user_role: teacher
[22-Nov-2025 09:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:33:37 UTC] Teacher Auth Check - Script: manage-course-materials.php
[22-Nov-2025 08:33:37 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:37 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:37 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:37 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:37 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:37 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:33:37 UTC] Session role: not set
[22-Nov-2025 08:33:37 UTC] Session user_role: teacher
[22-Nov-2025 09:33:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:33:50 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:33:50 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:50 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:50 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:50 UTC] isLoggedIn check result: true
[22-Nov-2025 08:33:50 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:33:50 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:33:50 UTC] Session role: not set
[22-Nov-2025 08:33:50 UTC] Session user_role: teacher
[22-Nov-2025 09:34:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:34:12 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:34:12 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:12 UTC] isLoggedIn check result: true
[22-Nov-2025 08:34:12 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:12 UTC] isLoggedIn check result: true
[22-Nov-2025 08:34:12 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:12 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:34:12 UTC] Session role: not set
[22-Nov-2025 08:34:12 UTC] Session user_role: teacher
[22-Nov-2025 08:34:12 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:34:12 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:34:12 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 09:34:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:34:44 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:34:44 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:44 UTC] isLoggedIn check result: true
[22-Nov-2025 08:34:44 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:44 UTC] isLoggedIn check result: true
[22-Nov-2025 08:34:44 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:34:44 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:34:44 UTC] Session role: not set
[22-Nov-2025 08:34:44 UTC] Session user_role: teacher
[22-Nov-2025 09:37:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:37:28 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:37:28 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:28 UTC] isLoggedIn check result: true
[22-Nov-2025 08:37:28 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:28 UTC] isLoggedIn check result: true
[22-Nov-2025 08:37:28 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:28 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:37:28 UTC] Session role: not set
[22-Nov-2025 08:37:28 UTC] Session user_role: teacher
[22-Nov-2025 08:37:28 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:37:28 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:37:28 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 09:37:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:37:57 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:37:57 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:57 UTC] isLoggedIn check result: true
[22-Nov-2025 08:37:57 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:57 UTC] isLoggedIn check result: true
[22-Nov-2025 08:37:57 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:37:57 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:37:57 UTC] Session role: not set
[22-Nov-2025 08:37:57 UTC] Session user_role: teacher
[22-Nov-2025 09:48:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:48:15 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:48:15 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:15 UTC] isLoggedIn check result: true
[22-Nov-2025 08:48:15 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:15 UTC] isLoggedIn check result: true
[22-Nov-2025 08:48:15 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:48:15 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:48:15 UTC] Session role: not set
[22-Nov-2025 08:48:15 UTC] Session user_role: teacher
[22-Nov-2025 08:48:15 UTC] Error 8: Undefined variable: source_material_column in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 345
[22-Nov-2025 08:48:15 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/publish_to_library.php:353
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 353
[22-Nov-2025 09:49:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:49:59 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:49:59 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:49:59 UTC] isLoggedIn check result: true
[22-Nov-2025 08:49:59 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:49:59 UTC] isLoggedIn check result: true
[22-Nov-2025 08:49:59 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:49:59 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:49:59 UTC] Session role: not set
[22-Nov-2025 08:49:59 UTC] Session user_role: teacher
[22-Nov-2025 08:49:59 UTC] Error 8: Undefined variable: source_material_column in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 354
[22-Nov-2025 08:49:59 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/publish_to_library.php:362
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 362
[22-Nov-2025 09:50:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:50:29 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:50:29 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:29 UTC] isLoggedIn check result: true
[22-Nov-2025 08:50:29 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:29 UTC] isLoggedIn check result: true
[22-Nov-2025 08:50:29 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:29 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:50:29 UTC] Session role: not set
[22-Nov-2025 08:50:29 UTC] Session user_role: teacher
[22-Nov-2025 08:50:29 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:50:29 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:50:29 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 09:50:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:50:51 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:50:51 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:51 UTC] isLoggedIn check result: true
[22-Nov-2025 08:50:51 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:51 UTC] isLoggedIn check result: true
[22-Nov-2025 08:50:51 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:50:51 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:50:51 UTC] Session role: not set
[22-Nov-2025 08:50:51 UTC] Session user_role: teacher
[22-Nov-2025 08:50:51 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:50:51 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 08:50:51 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/library_submissions.php on line 849
[22-Nov-2025 09:51:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:51:36 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:51:36 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:51:36 UTC] isLoggedIn check result: true
[22-Nov-2025 08:51:36 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:51:36 UTC] isLoggedIn check result: true
[22-Nov-2025 08:51:36 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:51:36 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:51:36 UTC] Session role: not set
[22-Nov-2025 08:51:36 UTC] Session user_role: teacher
[22-Nov-2025 08:51:36 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:51:36 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:51:36 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 09:53:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:53:30 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:53:30 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:30 UTC] isLoggedIn check result: true
[22-Nov-2025 08:53:30 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:30 UTC] isLoggedIn check result: true
[22-Nov-2025 08:53:30 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:30 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:53:30 UTC] Session role: not set
[22-Nov-2025 08:53:30 UTC] Session user_role: teacher
[22-Nov-2025 08:53:30 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:53:30 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:53:30 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 09:53:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:53:44 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:53:44 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:44 UTC] isLoggedIn check result: true
[22-Nov-2025 08:53:44 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:44 UTC] isLoggedIn check result: true
[22-Nov-2025 08:53:44 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:53:44 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:53:44 UTC] Session role: not set
[22-Nov-2025 08:53:44 UTC] Session user_role: teacher
[22-Nov-2025 08:53:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:53:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:53:45 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 09:54:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:54:08 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:54:08 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:54:08 UTC] isLoggedIn check result: true
[22-Nov-2025 08:54:08 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:54:08 UTC] isLoggedIn check result: true
[22-Nov-2025 08:54:08 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:54:08 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:54:08 UTC] Session role: not set
[22-Nov-2025 08:54:08 UTC] Session user_role: teacher
[22-Nov-2025 09:55:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:55:04 UTC] === FORM SUBMISSION DEBUG ===
[22-Nov-2025 08:55:04 UTC] POST data: Array
(
    [title] => Web development
    [priority] => low
    [description] => welcome
    [category] => 6
    [custom_category] => 
    [tags] => programming
    [submit_document] => 
)

[22-Nov-2025 08:55:04 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => 1763790094_69214d0e0cc6b.pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpmRu57f
            [error] => 0
            [size] => 391904
        )

    [thumbnail] => Array
        (
            [name] => website development pricing (7).png
            [type] => image/png
            [tmp_name] => /tmp/phpo0I0Hs
            [error] => 0
            [size] => 447223
        )

)

[22-Nov-2025 08:55:04 UTC] Checking document_file: SET
[22-Nov-2025 08:55:04 UTC] Document file name: 1763790094_69214d0e0cc6b.pdf
[22-Nov-2025 08:55:04 UTC] === DATABASE INSERT DEBUG ===
[22-Nov-2025 08:55:04 UTC] teacher_id: 14
[22-Nov-2025 08:55:04 UTC] title: Web development
[22-Nov-2025 08:55:04 UTC] description: welcome
[22-Nov-2025 08:55:04 UTC] category_id: 6
[22-Nov-2025 08:55:04 UTC] tags: programming
[22-Nov-2025 08:55:04 UTC] relative_path: uploads/library_submissions/1763801704_69217a6889db7.pdf
[22-Nov-2025 08:55:04 UTC] file_name: 1763790094_69214d0e0cc6b.pdf
[22-Nov-2025 08:55:04 UTC] file_extension: pdf
[22-Nov-2025 08:55:04 UTC] file_size: 391904
[22-Nov-2025 08:55:04 UTC] priority: low
[22-Nov-2025 08:55:04 UTC] thumbnail_path: uploads/library_submissions/thumb_1763801704_69217a687b9bd.png
[22-Nov-2025 08:55:04 UTC] SUCCESS: Submission inserted with ID: 4
[22-Nov-2025 08:55:04 UTC] Teacher Auth Check - Script: library_submissions.php
[22-Nov-2025 08:55:04 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:04 UTC] isLoggedIn check result: true
[22-Nov-2025 08:55:04 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:04 UTC] isLoggedIn check result: true
[22-Nov-2025 08:55:04 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:04 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:55:04 UTC] Session role: not set
[22-Nov-2025 08:55:04 UTC] Session user_role: teacher
[22-Nov-2025 09:55:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 08:55:38 UTC] Teacher Auth Check - Script: publish_to_library.php
[22-Nov-2025 08:55:38 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:38 UTC] isLoggedIn check result: true
[22-Nov-2025 08:55:38 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:38 UTC] isLoggedIn check result: true
[22-Nov-2025 08:55:38 UTC] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 08:55:38 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 08:55:38 UTC] Session role: not set
[22-Nov-2025 08:55:38 UTC] Session user_role: teacher
[22-Nov-2025 08:55:38 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:55:38 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:55:38 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 08:55:38 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[22-Nov-2025 09:56:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 09:56:00 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[22-Nov-2025 09:56:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:56:00 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:56:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:56:00 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 09:56:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1763799632
    [last_regeneration] => 1763799632
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763799632
    [session_started_at] => 2025-11-22 09:20:32
    [login_redirect_count] => 0
)

[22-Nov-2025 09:56:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 09:56:00 Europe/Berlin] Session role: not set
[22-Nov-2025 09:56:00 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 13:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 13:09:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 13:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
)

[22-Nov-2025 13:09:19 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 13:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
)

[22-Nov-2025 13:09:19 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 13:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
)

[22-Nov-2025 13:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 13:09:19 Europe/Berlin] Session role: not set
[22-Nov-2025 13:09:19 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 12:09:19 UTC] Fetching videos for teacher_id: 14
[22-Nov-2025 12:09:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Nov-2025 12:09:19 UTC] Found 3 videos for teacher 14
[22-Nov-2025 13:09:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 13:09:23 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[22-Nov-2025 13:09:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 13:09:23 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 13:09:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 13:09:23 Europe/Berlin] isLoggedIn check result: true
[22-Nov-2025 13:09:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 13:09:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 13:09:23 Europe/Berlin] Session role: not set
[22-Nov-2025 13:09:23 Europe/Berlin] Session user_role: teacher
[22-Nov-2025 13:09:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 12:09:26 UTC] Teacher Auth Check - Script: manage-course-materials.php
[22-Nov-2025 12:09:26 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 12:09:26 UTC] isLoggedIn check result: true
[22-Nov-2025 12:09:26 UTC] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 12:09:26 UTC] isLoggedIn check result: true
[22-Nov-2025 12:09:26 UTC] Session data: Array
(
    [created_at] => 1763813358
    [last_regeneration] => 1763813358
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763813358
    [session_started_at] => 2025-11-22 13:09:19
    [login_redirect_count] => 0
)

[22-Nov-2025 12:09:26 UTC] hasPermission check - Required: teacher, User: teacher
[22-Nov-2025 12:09:26 UTC] Session role: not set
[22-Nov-2025 12:09:26 UTC] Session user_role: teacher
[22-Nov-2025 19:52:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 19:52:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 19:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 19:52:37
)

[22-Nov-2025 19:52:38 Europe/Berlin] isLoggedIn check result: false
[22-Nov-2025 19:52:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-22 19:52:37
)

[22-Nov-2025 20:45:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 20:45:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 20:45:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 20:45:11
)

[22-Nov-2025 20:45:11 Europe/Berlin] isLoggedIn check result: false
[22-Nov-2025 20:45:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-22 20:45:11
)

[22-Nov-2025 22:29:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Nov-2025 22:29:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Nov-2025 22:29:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-22 22:29:38
)

[22-Nov-2025 22:29:38 Europe/Berlin] isLoggedIn check result: false
[22-Nov-2025 22:29:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-22 22:29:38
)

[23-Nov-2025 23:22:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Nov-2025 23:22:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Nov-2025 23:22:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-23 23:22:34
)

[23-Nov-2025 23:22:34 Europe/Berlin] isLoggedIn check result: false
[23-Nov-2025 23:22:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-23 23:22:34
)

[24-Nov-2025 13:16:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:16:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Nov-2025 13:16:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
)

[24-Nov-2025 13:16:12 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
)

[24-Nov-2025 13:16:12 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
)

[24-Nov-2025 13:16:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:16:12 Europe/Berlin] Session role: not set
[24-Nov-2025 13:16:12 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:16:12 UTC] Fetching videos for teacher_id: 14
[24-Nov-2025 12:16:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Nov-2025 12:16:12 UTC] Found 3 videos for teacher 14
[24-Nov-2025 13:16:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:16:17 Europe/Berlin] Teacher Auth Check - Script: videos.php
[24-Nov-2025 13:16:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:17 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:17 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:16:17 Europe/Berlin] Session role: not set
[24-Nov-2025 13:16:17 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:16:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:16:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:16:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:27 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:27 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:16:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:16:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:16:27 Europe/Berlin] Session role: not set
[24-Nov-2025 13:16:27 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:16:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:16:28 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:16:28 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:16:28 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 13:28:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:28:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:28:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:28:43 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:28:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:28:43 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:28:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:28:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:28:43 Europe/Berlin] Session role: not set
[24-Nov-2025 13:28:43 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:28:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:28:43 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:28:43 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:28:43 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 13:33:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:33:02 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:33:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:33:02 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:33:02 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:33:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:33:02 Europe/Berlin] Session role: not set
[24-Nov-2025 13:33:02 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:33:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:33:02 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:33:02 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:33:02 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 13:44:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:44:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:44:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:44:41 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:44:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:44:41 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:44:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:44:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:44:41 Europe/Berlin] Session role: not set
[24-Nov-2025 13:44:41 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:44:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:44:42 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:44:42 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:44:42 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 13:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:53:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:53:59 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:53:59 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:53:59 Europe/Berlin] Session role: not set
[24-Nov-2025 13:53:59 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:53:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:53:59 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:53:59 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:53:59 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 13:57:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 13:57:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 13:57:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:57:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:57:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:57:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 13:57:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 13:57:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 13:57:31 Europe/Berlin] Session role: not set
[24-Nov-2025 13:57:31 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 12:57:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 12:57:32 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 12:57:32 UTC] DEBUG: Courses found = 1
[24-Nov-2025 12:57:32 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:13:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:13:28 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:13:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:13:28 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:13:28 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:13:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:13:28 Europe/Berlin] Session role: not set
[24-Nov-2025 14:13:28 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:13:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:13:29 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:13:29 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:13:29 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:20:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:20:13 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:20:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:20:13 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:20:13 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:20:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:20:13 Europe/Berlin] Session role: not set
[24-Nov-2025 14:20:13 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:20:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:20:13 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:20:13 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:20:13 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:25:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:25:14 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:25:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:25:14 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:25:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:25:14 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:25:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:25:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:25:14 Europe/Berlin] Session role: not set
[24-Nov-2025 14:25:14 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:25:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:25:14 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:25:14 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:25:14 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:34:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:34:58 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:34:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:34:58 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:34:58 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:34:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:34:58 Europe/Berlin] Session role: not set
[24-Nov-2025 14:34:58 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:34:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:34:59 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:34:59 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:34:59 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:38:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:38:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:38:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:38:08 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:38:08 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:38:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:38:08 Europe/Berlin] Session role: not set
[24-Nov-2025 14:38:08 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:38:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:38:08 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:38:08 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:38:08 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:40:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:40:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:40:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:23 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:40:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:23 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:40:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:40:23 Europe/Berlin] Session role: not set
[24-Nov-2025 14:40:23 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:40:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:40:23 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:40:23 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:40:23 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:40:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:40:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:40:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:43 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:40:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:43 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:40:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:40:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:40:43 Europe/Berlin] Session role: not set
[24-Nov-2025 14:40:43 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:40:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:40:43 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:40:43 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:40:43 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:44:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:44:16 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:44:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:44:16 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:44:16 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:44:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:44:16 Europe/Berlin] Session role: not set
[24-Nov-2025 14:44:16 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:44:16 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:44:16 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:44:16 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:44:16 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:51:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:51:28 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:51:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:28 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:28 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:51:28 Europe/Berlin] Session role: not set
[24-Nov-2025 14:51:28 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:51:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:51:28 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:51:28 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:51:28 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:51:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:51:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:51:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:51:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:51:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:51:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:51:31 Europe/Berlin] Session role: not set
[24-Nov-2025 14:51:31 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:51:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:51:31 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:51:31 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:51:31 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 14:56:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 14:56:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 14:56:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:56:27 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:56:27 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 14:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 14:56:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 14:56:27 Europe/Berlin] Session role: not set
[24-Nov-2025 14:56:27 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 13:56:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 13:56:27 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 13:56:27 UTC] DEBUG: Courses found = 1
[24-Nov-2025 13:56:27 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:02:54 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:02:54 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:02:54 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:02:54 Europe/Berlin] Session role: not set
[24-Nov-2025 15:02:54 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:02:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:02:54 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:02:54 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:02:54 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:05:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:05:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:05:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:05:55 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:05:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:05:55 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:05:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:05:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:05:55 Europe/Berlin] Session role: not set
[24-Nov-2025 15:05:55 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:05:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:05:55 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:05:55 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:05:55 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:08:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:08:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:08:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:08:05 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:08:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:08:05 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:08:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:08:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:08:05 Europe/Berlin] Session role: not set
[24-Nov-2025 15:08:05 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:08:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:08:05 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:08:05 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:08:05 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:17:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:17:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:17:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:17:51 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:17:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:17:51 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:17:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:17:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:17:51 Europe/Berlin] Session role: not set
[24-Nov-2025 15:17:51 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:17:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:17:51 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:17:51 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:17:51 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:18:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:18:42 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:18:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:18:42 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:18:42 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:18:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:18:42 Europe/Berlin] Session role: not set
[24-Nov-2025 15:18:42 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:18:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:18:42 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:18:42 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:18:42 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:19:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:19:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:19:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:32 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:32 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:19:32 Europe/Berlin] Session role: not set
[24-Nov-2025 15:19:32 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:19:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:19:32 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:19:32 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:19:32 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:19:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:19:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:19:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:52 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:19:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:52 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:19:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:19:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:19:52 Europe/Berlin] Session role: not set
[24-Nov-2025 15:19:52 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:19:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:19:52 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:19:52 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:19:52 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:24:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:24:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:24:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:24:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:24:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:24:31 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:24:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:24:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:24:31 Europe/Berlin] Session role: not set
[24-Nov-2025 15:24:31 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:24:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:24:31 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:24:31 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:24:31 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:28:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:28:53 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:28:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:28:53 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:28:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:28:53 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:28:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:28:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:28:53 Europe/Berlin] Session role: not set
[24-Nov-2025 15:28:53 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:28:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:28:53 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:28:53 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:28:53 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 15:29:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 15:29:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 15:29:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:29:38 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:29:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:29:38 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 15:29:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 15:29:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 15:29:38 Europe/Berlin] Session role: not set
[24-Nov-2025 15:29:38 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 14:29:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 14:29:38 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 14:29:38 UTC] DEBUG: Courses found = 1
[24-Nov-2025 14:29:38 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 16:16:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 16:16:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 16:16:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:16:06 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:16:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:16:06 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:16:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:16:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 16:16:06 Europe/Berlin] Session role: not set
[24-Nov-2025 16:16:06 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 15:16:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 15:16:06 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 15:16:06 UTC] DEBUG: Courses found = 1
[24-Nov-2025 15:16:06 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 16:22:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 16:22:10 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 16:22:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:22:10 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:22:10 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:22:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 16:22:10 Europe/Berlin] Session role: not set
[24-Nov-2025 16:22:10 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 15:22:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 15:22:11 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 15:22:11 UTC] DEBUG: Courses found = 1
[24-Nov-2025 15:22:11 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 16:26:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 16:26:22 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 16:26:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:26:22 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:26:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:26:22 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:26:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:26:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 16:26:22 Europe/Berlin] Session role: not set
[24-Nov-2025 16:26:22 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 15:26:22 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 15:26:22 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 15:26:22 UTC] DEBUG: Courses found = 1
[24-Nov-2025 15:26:22 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 16:36:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 16:36:44 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 16:36:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:44 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:36:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:44 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:36:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 16:36:44 Europe/Berlin] Session role: not set
[24-Nov-2025 16:36:44 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 15:36:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 15:36:44 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 15:36:44 UTC] DEBUG: Courses found = 1
[24-Nov-2025 15:36:44 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[24-Nov-2025 16:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Nov-2025 16:36:49 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Nov-2025 16:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:49 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:49 Europe/Berlin] isLoggedIn check result: true
[24-Nov-2025 16:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1763986571
    [last_regeneration] => 1763986571
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1763986571
    [session_started_at] => 2025-11-24 13:16:12
    [login_redirect_count] => 0
)

[24-Nov-2025 16:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Nov-2025 16:36:49 Europe/Berlin] Session role: not set
[24-Nov-2025 16:36:49 Europe/Berlin] Session user_role: teacher
[24-Nov-2025 15:36:49 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Nov-2025 15:36:49 UTC] DEBUG: Teacher ID = 14
[24-Nov-2025 15:36:49 UTC] DEBUG: Courses found = 1
[24-Nov-2025 15:36:49 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 07:14:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 07:14:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 07:14:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
)

[25-Nov-2025 07:14:00 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
)

[25-Nov-2025 07:14:00 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
)

[25-Nov-2025 07:14:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 07:14:00 Europe/Berlin] Session role: not set
[25-Nov-2025 07:14:00 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 06:14:00 UTC] Fetching videos for teacher_id: 14
[25-Nov-2025 06:14:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[25-Nov-2025 06:14:00 UTC] Found 3 videos for teacher 14
[25-Nov-2025 07:14:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 07:14:10 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 07:14:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 07:14:10 Europe/Berlin] Session role: not set
[25-Nov-2025 07:14:10 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 06:14:10 UTC] DB Connection Status: Connected
[25-Nov-2025 06:14:10 UTC] User with ID 14 found
[25-Nov-2025 06:14:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:14:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 07:14:20 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 07:14:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:20 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:20 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:14:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 07:14:20 Europe/Berlin] Session role: not set
[25-Nov-2025 07:14:20 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 06:14:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 06:14:20 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 06:14:20 UTC] DEBUG: Courses found = 1
[25-Nov-2025 06:14:20 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 07:47:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 07:47:22 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 07:47:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:22 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:22 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 07:47:22 Europe/Berlin] Session role: not set
[25-Nov-2025 07:47:22 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 06:47:22 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 06:47:22 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 06:47:22 UTC] DEBUG: Courses found = 1
[25-Nov-2025 06:47:22 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 07:47:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 07:47:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 07:47:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:40 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:47:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:40 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 07:47:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 07:47:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 07:47:40 Europe/Berlin] Session role: not set
[25-Nov-2025 07:47:40 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 06:47:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 06:47:40 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 06:47:40 UTC] DEBUG: Courses found = 1
[25-Nov-2025 06:47:40 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:00:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:00:02 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:00:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:00:02 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:00:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:00:02 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:00:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:00:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:00:02 Europe/Berlin] Session role: not set
[25-Nov-2025 08:00:02 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:00:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:00:03 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:00:03 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:00:03 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:09:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:09:50 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:09:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:09:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:09:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:09:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:09:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:09:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:09:50 Europe/Berlin] Session role: not set
[25-Nov-2025 08:09:50 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:09:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:09:50 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:09:50 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:09:50 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:13:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:13:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:13:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:13:55 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:13:55 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:13:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:13:55 Europe/Berlin] Session role: not set
[25-Nov-2025 08:13:55 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:13:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:13:56 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:13:56 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:13:56 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:20:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:20:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:20:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:20:03 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:20:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:20:03 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:20:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:20:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:20:03 Europe/Berlin] Session role: not set
[25-Nov-2025 08:20:03 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:20:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:20:03 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:20:03 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:20:03 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:27:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:27:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:27:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:27:23 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:27:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:27:23 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:27:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:27:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:27:23 Europe/Berlin] Session role: not set
[25-Nov-2025 08:27:23 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:27:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:27:23 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:27:23 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:27:23 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:29:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:29:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:29:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:29:40 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:29:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:29:40 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:29:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:29:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:29:40 Europe/Berlin] Session role: not set
[25-Nov-2025 08:29:40 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:29:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:29:40 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:29:40 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:29:40 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:33:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:33:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:33:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:33:59 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:33:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:33:59 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:33:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:33:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:33:59 Europe/Berlin] Session role: not set
[25-Nov-2025 08:33:59 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:33:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:33:59 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:33:59 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:33:59 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:34:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:34:39 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:34:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:34:39 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:34:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:34:39 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:34:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:34:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:34:39 Europe/Berlin] Session role: not set
[25-Nov-2025 08:34:39 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:34:39 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:34:39 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:34:39 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:34:39 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:38:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:38:19 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:38:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:38:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:38:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:38:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:38:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:38:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:38:19 Europe/Berlin] Session role: not set
[25-Nov-2025 08:38:19 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:38:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:38:19 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:38:19 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:38:19 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:42:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:42:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:42:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:42:38 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:42:38 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:42:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:42:38 Europe/Berlin] Session role: not set
[25-Nov-2025 08:42:38 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:42:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:42:39 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:42:39 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:42:39 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:45:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:45:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:45:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:45:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:45:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:45:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:45:31 Europe/Berlin] Session role: not set
[25-Nov-2025 08:45:31 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:45:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:45:35 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:45:35 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:45:35 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 08:59:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 08:59:42 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 08:59:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:59:42 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:59:42 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 08:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 08:59:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 08:59:42 Europe/Berlin] Session role: not set
[25-Nov-2025 08:59:42 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 07:59:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 07:59:42 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 07:59:42 UTC] DEBUG: Courses found = 1
[25-Nov-2025 07:59:42 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:00:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:00:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:00:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:00:32 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:00:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:00:32 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:00:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:00:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:00:32 Europe/Berlin] Session role: not set
[25-Nov-2025 09:00:32 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:00:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:00:33 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:00:33 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:00:33 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:11:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:11:36 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:11:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:11:36 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:11:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:11:36 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:11:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:11:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:11:36 Europe/Berlin] Session role: not set
[25-Nov-2025 09:11:36 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:11:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:11:36 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:11:36 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:11:36 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:19:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:19:02 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:19:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:19:02 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:19:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:19:02 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:19:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:19:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:19:02 Europe/Berlin] Session role: not set
[25-Nov-2025 09:19:02 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:19:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:19:03 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:19:03 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:19:03 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:23:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:23:04 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:23:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:23:04 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:23:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:23:04 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:23:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:23:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:23:04 Europe/Berlin] Session role: not set
[25-Nov-2025 09:23:04 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:23:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:23:04 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:23:04 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:23:04 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:24:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:24:24 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:24:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:24:24 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:24:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:24:24 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:24:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:24:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:24:24 Europe/Berlin] Session role: not set
[25-Nov-2025 09:24:24 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:24:24 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:24:24 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:24:24 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:24:24 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:26:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:26:35 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:26:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:26:35 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:26:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:26:35 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:26:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:26:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:26:35 Europe/Berlin] Session role: not set
[25-Nov-2025 09:26:35 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:26:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:26:35 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:26:35 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:26:35 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:31:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:31:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:31:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:31:41 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:31:41 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:31:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:31:41 Europe/Berlin] Session role: not set
[25-Nov-2025 09:31:41 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:31:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:31:41 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:31:41 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:31:41 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:35:49 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:35:49 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:35:49 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:35:49 Europe/Berlin] Session role: not set
[25-Nov-2025 09:35:49 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:35:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:35:53 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:35:53 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:35:53 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:37:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:37:34 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:37:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:37:34 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:37:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:37:34 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:37:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:37:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:37:34 Europe/Berlin] Session role: not set
[25-Nov-2025 09:37:34 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:37:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:37:34 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:37:34 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:37:34 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 09:39:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 09:39:10 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 09:39:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:39:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:39:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 09:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 09:39:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 09:39:10 Europe/Berlin] Session role: not set
[25-Nov-2025 09:39:10 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 08:39:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 08:39:10 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 08:39:10 UTC] DEBUG: Courses found = 1
[25-Nov-2025 08:39:10 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:05:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:05:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:05:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:05:09 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:05:09 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:05:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:05:09 Europe/Berlin] Session role: not set
[25-Nov-2025 10:05:09 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:05:09 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:05:09 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:05:09 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:05:09 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:18:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:18:33 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:18:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:18:33 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:18:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:18:33 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:18:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:18:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:18:33 Europe/Berlin] Session role: not set
[25-Nov-2025 10:18:33 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:18:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:18:33 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:18:33 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:18:33 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:26:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:26:47 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:26:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:26:47 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:26:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:26:47 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:26:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:26:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:26:47 Europe/Berlin] Session role: not set
[25-Nov-2025 10:26:47 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:26:47 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:26:48 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:26:48 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:26:48 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:35:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:35:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:35:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:35:12 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:35:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:35:12 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:35:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:35:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:35:12 Europe/Berlin] Session role: not set
[25-Nov-2025 10:35:12 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:35:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:35:14 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:35:14 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:35:14 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:39:37 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:39:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:39:37 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:39:37 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:39:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:39:37 Europe/Berlin] Session role: not set
[25-Nov-2025 10:39:37 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:39:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:39:38 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:39:38 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:39:38 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 10:43:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 10:43:18 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 10:43:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:43:18 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:43:18 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 10:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 10:43:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 10:43:18 Europe/Berlin] Session role: not set
[25-Nov-2025 10:43:18 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 09:43:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 09:43:19 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 09:43:19 UTC] DEBUG: Courses found = 1
[25-Nov-2025 09:43:19 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:02:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:02:11 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:02:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:02:11 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:02:11 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:02:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:02:11 Europe/Berlin] Session role: not set
[25-Nov-2025 11:02:11 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:02:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:02:11 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:02:11 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:02:11 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:11:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:11:04 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:11:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:04 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:11:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:04 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:11:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:11:04 Europe/Berlin] Session role: not set
[25-Nov-2025 11:11:04 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:11:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:11:04 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:11:04 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:11:04 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:11:54 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:54 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:54 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:11:54 Europe/Berlin] Session role: not set
[25-Nov-2025 11:11:54 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:11:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:11:54 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:11:54 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:11:54 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:24:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:24:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:24:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:24:43 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:24:43 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:24:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:24:43 Europe/Berlin] Session role: not set
[25-Nov-2025 11:24:43 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:24:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:24:44 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:24:44 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:24:44 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:25:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:25:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:25:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:25:09 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:25:09 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:25:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:25:09 Europe/Berlin] Session role: not set
[25-Nov-2025 11:25:09 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:25:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:25:10 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:25:10 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:25:10 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 11:43:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 11:43:34 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 11:43:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:43:34 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:43:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:43:34 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 11:43:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764051239
    [last_regeneration] => 1764051239
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764051239
    [session_started_at] => 2025-11-25 07:14:00
    [login_redirect_count] => 0
)

[25-Nov-2025 11:43:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 11:43:34 Europe/Berlin] Session role: not set
[25-Nov-2025 11:43:34 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 10:43:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 10:43:34 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 10:43:34 UTC] DEBUG: Courses found = 1
[25-Nov-2025 10:43:34 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 13:48:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 13:48:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 13:48:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 13:48:36
)

[25-Nov-2025 13:48:36 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 13:48:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
)

[25-Nov-2025 15:03:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 15:03:19 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 15:03:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 15:03:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 15:03:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 15:03:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 15:03:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 1
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 15:03:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 15:03:19 Europe/Berlin] Session role: not set
[25-Nov-2025 15:03:19 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 14:03:19 UTC] DB Connection Status: Connected
[25-Nov-2025 14:03:19 UTC] User with ID 14 found
[25-Nov-2025 14:03:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:14:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:14:53 Europe/Berlin] Teacher Auth Check - Script: videos.php
[25-Nov-2025 16:14:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:53 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:14:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:53 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:14:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:14:53 Europe/Berlin] Session role: not set
[25-Nov-2025 16:14:53 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:14:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:14:59 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[25-Nov-2025 16:14:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:59 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:14:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:59 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:14:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:14:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:14:59 Europe/Berlin] Session role: not set
[25-Nov-2025 16:14:59 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:14:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:15:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:15:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:15:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:15:03 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:15:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:15:03 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:15:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 13:48:36
    [login_redirect_count] => 0
    [last_page] => /teacher/courses.php
    [created_at] => 1764079399
    [last_regeneration] => 1764079399
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764079399
)

[25-Nov-2025 16:15:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:15:03 Europe/Berlin] Session role: not set
[25-Nov-2025 16:15:03 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:15:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:15:03 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:15:03 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:15:03 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:20:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:20:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:20:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 16:20:02
)

[25-Nov-2025 16:20:02 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 16:20:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 16:20:02
)

[25-Nov-2025 16:20:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:20:06 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:20:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
)

[25-Nov-2025 16:20:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
)

[25-Nov-2025 16:20:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
)

[25-Nov-2025 16:20:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:20:06 Europe/Berlin] Session role: not set
[25-Nov-2025 16:20:06 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:20:07 UTC] DB Connection Status: Connected
[25-Nov-2025 15:20:07 UTC] User with ID 14 found
[25-Nov-2025 15:20:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:20:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:20:14 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:20:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:20:14 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:20:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:20:14 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:20:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:20:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:20:14 Europe/Berlin] Session role: not set
[25-Nov-2025 16:20:14 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:20:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:20:16 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:20:16 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:20:16 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:21:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:21:01 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:21:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:21:01 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:21:01 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:21:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:21:01 Europe/Berlin] Session role: not set
[25-Nov-2025 16:21:01 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:21:01 UTC] DB Connection Status: Connected
[25-Nov-2025 15:21:01 UTC] User with ID 14 found
[25-Nov-2025 15:21:01 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:27:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:27:15 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:27:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:27:15 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:27:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:27:15 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:27:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:27:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:27:15 Europe/Berlin] Session role: not set
[25-Nov-2025 16:27:15 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:27:16 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:27:16 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:27:16 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:27:16 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:39:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:39:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:39:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:39:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:39:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764084006
    [last_regeneration] => 1764084006
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764084006
    [session_started_at] => 2025-11-25 16:20:06
    [login_redirect_count] => 0
)

[25-Nov-2025 16:39:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:39:06 Europe/Berlin] Session role: not set
[25-Nov-2025 16:39:06 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:39:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:39:06 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:39:06 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:39:06 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:40:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:40:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:40:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 16:40:02
)

[25-Nov-2025 16:40:02 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 16:40:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 16:40:02
)

[25-Nov-2025 16:40:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:40:10 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:40:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
)

[25-Nov-2025 16:40:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
)

[25-Nov-2025 16:40:10 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
)

[25-Nov-2025 16:40:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:40:10 Europe/Berlin] Session role: not set
[25-Nov-2025 16:40:10 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:40:10 UTC] DB Connection Status: Connected
[25-Nov-2025 15:40:10 UTC] User with ID 14 found
[25-Nov-2025 15:40:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:40:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:40:19 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:40:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:19 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:40:19 Europe/Berlin] Session role: not set
[25-Nov-2025 16:40:19 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:40:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:40:19 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:40:19 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:40:19 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:40:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:40:56 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:40:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:56 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:56 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:40:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:40:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:40:56 Europe/Berlin] Session role: not set
[25-Nov-2025 16:40:56 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:40:56 UTC] DB Connection Status: Connected
[25-Nov-2025 15:40:56 UTC] User with ID 14 found
[25-Nov-2025 15:40:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:45:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:45:05 Europe/Berlin] Teacher Auth Check - Script: videos.php
[25-Nov-2025 16:45:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:45:05 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:45:05 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:45:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:45:05 Europe/Berlin] Session role: not set
[25-Nov-2025 16:45:05 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:48:18 Europe/Berlin] Teacher Auth Check - Script: videos.php
[25-Nov-2025 16:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:48:18 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:48:18 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:48:18 Europe/Berlin] Session role: not set
[25-Nov-2025 16:48:18 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:49:07 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/4sosXZ4y-5
[25-Nov-2025 16:49:14 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/4sosXZ4y-5
[25-Nov-2025 16:51:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:51:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:51:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:51:51 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:51:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:51:51 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:51:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085210
    [last_regeneration] => 1764085210
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085210
    [session_started_at] => 2025-11-25 16:40:10
    [login_redirect_count] => 0
)

[25-Nov-2025 16:51:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:51:51 Europe/Berlin] Session role: not set
[25-Nov-2025 16:51:51 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:51:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:51:51 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:51:51 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:51:51 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:52:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:52:21 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:52:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 16:52:21
)

[25-Nov-2025 16:52:21 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 16:52:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 16:52:21
)

[25-Nov-2025 16:52:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:52:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:52:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
)

[25-Nov-2025 16:52:28 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
)

[25-Nov-2025 16:52:28 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
)

[25-Nov-2025 16:52:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:52:28 Europe/Berlin] Session role: not set
[25-Nov-2025 16:52:28 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:52:28 UTC] DB Connection Status: Connected
[25-Nov-2025 15:52:28 UTC] User with ID 14 found
[25-Nov-2025 15:52:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:52:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:52:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 16:52:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:52:31 Europe/Berlin] Session role: not set
[25-Nov-2025 16:52:31 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:52:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 15:52:31 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 15:52:31 UTC] DEBUG: Courses found = 1
[25-Nov-2025 15:52:31 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 16:52:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 16:52:58 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 16:52:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:58 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:58 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 16:52:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764085948
    [last_regeneration] => 1764085948
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764085948
    [session_started_at] => 2025-11-25 16:52:28
    [login_redirect_count] => 0
)

[25-Nov-2025 16:52:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 16:52:58 Europe/Berlin] Session role: not set
[25-Nov-2025 16:52:58 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 15:52:58 UTC] DB Connection Status: Connected
[25-Nov-2025 15:52:58 UTC] User with ID 14 found
[25-Nov-2025 15:52:58 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 17:04:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:04:30 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 17:04:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 17:04:30
)

[25-Nov-2025 17:04:30 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 17:04:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 17:04:30
)

[25-Nov-2025 17:04:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:04:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[25-Nov-2025 17:04:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086675
    [last_regeneration] => 1764086675
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086675
    [session_started_at] => 2025-11-25 17:04:35
)

[25-Nov-2025 17:04:35 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086675
    [last_regeneration] => 1764086675
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086675
    [session_started_at] => 2025-11-25 17:04:35
)

[25-Nov-2025 17:04:35 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086675
    [last_regeneration] => 1764086675
    [stored_redirect] => /teacher/courses.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086675
    [session_started_at] => 2025-11-25 17:04:35
)

[25-Nov-2025 17:04:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:04:35 Europe/Berlin] Session role: not set
[25-Nov-2025 17:04:35 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:04:35 UTC] DB Connection Status: Connected
[25-Nov-2025 16:04:35 UTC] User with ID 14 found
[25-Nov-2025 16:04:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 17:04:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:04:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 17:04:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
)

[25-Nov-2025 17:04:46 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
)

[25-Nov-2025 17:04:46 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
)

[25-Nov-2025 17:04:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:04:46 Europe/Berlin] Session role: not set
[25-Nov-2025 17:04:46 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:04:46 UTC] Fetching videos for teacher_id: 14
[25-Nov-2025 16:04:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[25-Nov-2025 16:04:46 UTC] Found 3 videos for teacher 14
[25-Nov-2025 17:04:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:04:54 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:04:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:04:54 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:04:54 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:04:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:04:54 Europe/Berlin] Session role: not set
[25-Nov-2025 17:04:54 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:04:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:04:54 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:04:54 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:04:54 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 17:05:21 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[25-Nov-2025 17:05:21 Europe/Berlin] 🔍 USER ID: NOT SET
[25-Nov-2025 17:05:21 Europe/Berlin] 🔍 USER ROLE: NOT SET
[25-Nov-2025 17:05:21 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[25-Nov-2025 17:05:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:05:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 17:05:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:05:22 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:05:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:05:22 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:05:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:05:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:05:22 Europe/Berlin] Session role: not set
[25-Nov-2025 17:05:22 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:05:24 UTC] Fetching videos for teacher_id: 14
[25-Nov-2025 16:05:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[25-Nov-2025 16:05:24 UTC] Found 3 videos for teacher 14
[25-Nov-2025 17:09:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:09:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[25-Nov-2025 17:09:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:09:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:09:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:09:50 Europe/Berlin] Session role: not set
[25-Nov-2025 17:09:50 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 17:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:09:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:52 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:52 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1764086686
    [last_regeneration] => 1764086686
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764086686
    [session_started_at] => 2025-11-25 17:04:46
    [login_redirect_count] => 0
)

[25-Nov-2025 17:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:09:52 Europe/Berlin] Session role: not set
[25-Nov-2025 17:09:52 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:09:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:09:52 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:09:52 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:09:52 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 17:10:42 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[25-Nov-2025 17:10:42 Europe/Berlin] 🔍 USER ID: NOT SET
[25-Nov-2025 17:10:42 Europe/Berlin] 🔍 USER ROLE: NOT SET
[25-Nov-2025 17:10:42 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[25-Nov-2025 17:10:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:10:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 17:10:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 17:10:42
)

[25-Nov-2025 17:10:42 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 17:10:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 17:10:42
)

[25-Nov-2025 17:10:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:10:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 17:10:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
)

[25-Nov-2025 17:10:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
)

[25-Nov-2025 17:10:50 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
)

[25-Nov-2025 17:10:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:10:50 Europe/Berlin] Session role: not set
[25-Nov-2025 17:10:50 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:10:50 UTC] Fetching videos for teacher_id: 14
[25-Nov-2025 16:10:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[25-Nov-2025 16:10:50 UTC] Found 3 videos for teacher 14
[25-Nov-2025 17:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:10:53 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:10:53 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:10:53 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:10:53 Europe/Berlin] Session role: not set
[25-Nov-2025 17:10:53 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:10:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:10:53 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:10:53 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:10:53 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 17:11:22 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[25-Nov-2025 17:11:22 Europe/Berlin] 🔍 USER ID: NOT SET
[25-Nov-2025 17:11:22 Europe/Berlin] 🔍 USER ROLE: NOT SET
[25-Nov-2025 17:11:22 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[25-Nov-2025 17:11:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:11:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 17:11:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:23 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:23 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:11:23 Europe/Berlin] Session role: not set
[25-Nov-2025 17:11:23 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:11:23 UTC] Fetching videos for teacher_id: 14
[25-Nov-2025 16:11:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[25-Nov-2025 16:11:23 UTC] Found 3 videos for teacher 14
[25-Nov-2025 17:11:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:11:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:11:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:51 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:51 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:11:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:11:51 Europe/Berlin] Session role: not set
[25-Nov-2025 17:11:51 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:11:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:11:51 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:11:51 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:11:51 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 17:21:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:21:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:21:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:21:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:21:06 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:21:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:21:06 Europe/Berlin] Session role: not set
[25-Nov-2025 17:21:06 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:21:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:21:06 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:21:06 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:21:06 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 17:40:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 17:40:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 17:40:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:40:12 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:40:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:40:12 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 17:40:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 17:40:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 17:40:12 Europe/Berlin] Session role: not set
[25-Nov-2025 17:40:12 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 16:40:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 16:40:13 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 16:40:13 UTC] DEBUG: Courses found = 1
[25-Nov-2025 16:40:13 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 18:02:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 18:02:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 18:02:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 18:02:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 18:02:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 18:02:31 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 18:02:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764087050
    [last_regeneration] => 1764087050
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764087050
    [session_started_at] => 2025-11-25 17:10:50
    [login_redirect_count] => 0
)

[25-Nov-2025 18:02:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 18:02:31 Europe/Berlin] Session role: not set
[25-Nov-2025 18:02:31 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 17:02:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 17:02:31 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 17:02:31 UTC] DEBUG: Courses found = 1
[25-Nov-2025 17:02:31 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[25-Nov-2025 18:02:32 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[25-Nov-2025 18:02:32 Europe/Berlin] 🔍 USER ID: NOT SET
[25-Nov-2025 18:02:32 Europe/Berlin] 🔍 USER ROLE: NOT SET
[25-Nov-2025 18:02:32 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[25-Nov-2025 18:02:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 18:02:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Nov-2025 18:02:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 18:02:33
)

[25-Nov-2025 18:02:33 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 18:02:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 18:02:33
)

[25-Nov-2025 18:02:34 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/4sosXZ4y-5
[25-Nov-2025 18:02:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 18:02:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 18:02:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-25 18:02:52
)

[25-Nov-2025 18:02:52 Europe/Berlin] isLoggedIn check result: false
[25-Nov-2025 18:02:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-25 18:02:52
)

[25-Nov-2025 18:02:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Nov-2025 18:02:57 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[25-Nov-2025 18:02:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764090176
    [last_regeneration] => 1764090176
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764090176
    [session_started_at] => 2025-11-25 18:02:57
)

[25-Nov-2025 18:02:57 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 18:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764090176
    [last_regeneration] => 1764090176
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764090176
    [session_started_at] => 2025-11-25 18:02:57
)

[25-Nov-2025 18:02:57 Europe/Berlin] isLoggedIn check result: true
[25-Nov-2025 18:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764090176
    [last_regeneration] => 1764090176
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764090176
    [session_started_at] => 2025-11-25 18:02:57
)

[25-Nov-2025 18:02:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[25-Nov-2025 18:02:57 Europe/Berlin] Session role: not set
[25-Nov-2025 18:02:57 Europe/Berlin] Session user_role: teacher
[25-Nov-2025 17:02:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[25-Nov-2025 17:02:57 UTC] DEBUG: Teacher ID = 14
[25-Nov-2025 17:02:57 UTC] DEBUG: Courses found = 1
[25-Nov-2025 17:02:57 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[26-Nov-2025 08:05:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 08:05:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[26-Nov-2025 08:05:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
)

[26-Nov-2025 08:05:40 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 08:05:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
)

[26-Nov-2025 08:05:40 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 08:05:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
)

[26-Nov-2025 08:05:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 08:05:40 Europe/Berlin] Session role: not set
[26-Nov-2025 08:05:40 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 07:05:40 UTC] Fetching videos for teacher_id: 14
[26-Nov-2025 07:05:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[26-Nov-2025 07:05:40 UTC] Found 3 videos for teacher 14
[26-Nov-2025 08:05:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 08:05:50 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 08:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 08:05:50 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 08:05:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 08:05:50 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 08:05:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 08:05:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 08:05:50 Europe/Berlin] Session role: not set
[26-Nov-2025 08:05:50 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 07:05:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 07:05:50 UTC] DEBUG: Teacher ID = 14
[26-Nov-2025 07:05:50 UTC] DEBUG: Courses found = 1
[26-Nov-2025 07:05:50 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[26-Nov-2025 09:26:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 09:26:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 09:26:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:26:52 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:26:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:26:52 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:26:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:26:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 09:26:52 Europe/Berlin] Session role: not set
[26-Nov-2025 09:26:52 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 08:26:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 08:26:52 UTC] DEBUG: Teacher ID = 14
[26-Nov-2025 08:26:52 UTC] DEBUG: Courses found = 1
[26-Nov-2025 08:26:52 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[26-Nov-2025 09:48:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 09:48:14 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 09:48:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:48:14 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:48:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:48:14 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:48:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:48:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 09:48:14 Europe/Berlin] Session role: not set
[26-Nov-2025 09:48:14 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 08:48:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 08:48:14 UTC] DEBUG: Teacher ID = 14
[26-Nov-2025 08:48:14 UTC] DEBUG: Courses found = 1
[26-Nov-2025 08:48:14 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[26-Nov-2025 09:49:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 09:49:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 09:49:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:49:55 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:49:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:49:55 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 09:49:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 09:49:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 09:49:55 Europe/Berlin] Session role: not set
[26-Nov-2025 09:49:55 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 08:49:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 08:49:55 UTC] DEBUG: Teacher ID = 14
[26-Nov-2025 08:49:55 UTC] DEBUG: Courses found = 1
[26-Nov-2025 08:49:55 UTC] DEBUG: Courses data = Array
(
    [0] => Array
        (
            [course_id] => 13
            [title] => Computer science
        )

)

[26-Nov-2025 10:55:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 10:55:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 10:55:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 10:55:32 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 10:55:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 10:55:32 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 10:55:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 07:03:51
    [created_at] => 1764140740
    [last_regeneration] => 1764140740
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764140740
    [login_redirect_count] => 0
)

[26-Nov-2025 10:55:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 10:55:32 Europe/Berlin] Session role: not set
[26-Nov-2025 10:55:32 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 10:57:38 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 10:57:38 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 10:57:38 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 10:57:38 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[26-Nov-2025 11:01:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:01:53 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:01:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 11:01:53
)

[26-Nov-2025 11:01:53 Europe/Berlin] isLoggedIn check result: false
[26-Nov-2025 11:01:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:01:53
)

[26-Nov-2025 11:01:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:01:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:01:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 1
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:01:59 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:01:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 1
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:01:59 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:01:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 1
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:01:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:01:59 Europe/Berlin] Session role: not set
[26-Nov-2025 11:01:59 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 11:07:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:07:54 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:07:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 0
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:07:54 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:07:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 0
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:07:54 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:07:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:01:53
    [login_redirect_count] => 0
    [last_page] => /teacher/upload-video.php
    [created_at] => 1764151319
    [last_regeneration] => 1764151319
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764151319
)

[26-Nov-2025 11:07:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:07:54 Europe/Berlin] Session role: not set
[26-Nov-2025 11:07:54 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 11:09:47 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 11:09:47 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 11:09:47 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 11:09:47 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[26-Nov-2025 11:10:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:10:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:10:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 11:10:00
)

[26-Nov-2025 11:10:00 Europe/Berlin] isLoggedIn check result: false
[26-Nov-2025 11:10:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:10:00
)

[26-Nov-2025 11:10:51 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 11:10:51 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 11:10:51 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 11:10:51 Europe/Berlin] ❌ Session exists but user_id not set - session may be corrupted
[26-Nov-2025 11:17:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:17:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:17:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-26 11:17:55
)

[26-Nov-2025 11:17:55 Europe/Berlin] isLoggedIn check result: false
[26-Nov-2025 11:17:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-26 11:17:55
)

[26-Nov-2025 11:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:18:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
)

[26-Nov-2025 11:18:00 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
)

[26-Nov-2025 11:18:00 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
)

[26-Nov-2025 11:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:18:00 Europe/Berlin] Session role: not set
[26-Nov-2025 11:18:00 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 11:18:39 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 11:18:39 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 11:18:39 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 11:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
    [login_redirect_count] => 0
)

[26-Nov-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
    [login_redirect_count] => 0
)

[26-Nov-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152279
    [last_regeneration] => 1764152279
    [stored_redirect] => /teacher/upload-video.php
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152279
    [session_started_at] => 2025-11-26 11:18:00
    [login_redirect_count] => 0
)

[26-Nov-2025 11:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:18:48 Europe/Berlin] Session role: not set
[26-Nov-2025 11:18:48 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 11:19:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:19:03 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[26-Nov-2025 11:19:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
)

[26-Nov-2025 11:19:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:19:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
)

[26-Nov-2025 11:19:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:19:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
)

[26-Nov-2025 11:19:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:19:03 Europe/Berlin] Session role: not set
[26-Nov-2025 11:19:03 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 10:19:03 UTC] Fetching videos for teacher_id: 14
[26-Nov-2025 10:19:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[26-Nov-2025 10:19:03 UTC] Found 3 videos for teacher 14
[26-Nov-2025 11:19:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:19:07 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:19:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:19:07 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:19:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:19:07 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:19:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:19:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:19:07 Europe/Berlin] Session role: not set
[26-Nov-2025 11:19:07 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 11:20:48 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 11:20:48 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 11:20:48 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 11:21:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:21:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[26-Nov-2025 11:21:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:21:31 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:21:31 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:21:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:21:31 Europe/Berlin] Session role: not set
[26-Nov-2025 11:21:31 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 10:21:31 UTC] Fetching videos for teacher_id: 14
[26-Nov-2025 10:21:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[26-Nov-2025 10:21:31 UTC] Found 3 videos for teacher 14
[26-Nov-2025 11:32:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 11:32:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 11:32:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:32:09 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:32:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:32:09 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 11:32:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 11:32:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 11:32:09 Europe/Berlin] Session role: not set
[26-Nov-2025 11:32:09 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 12:58:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 12:58:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 12:58:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 12:58:05 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 12:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 12:58:05 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 12:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 12:58:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 12:58:05 Europe/Berlin] Session role: not set
[26-Nov-2025 12:58:05 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 12:58:50 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => bhj
    [category_name] => Technoprenuer
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 12:58:50 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 12:58:50 Europe/Berlin] 🎬 FETCHING YouTube metadata for: MyCvTSjkD74
[26-Nov-2025 12:58:50 Europe/Berlin] 🔗 Trying oEmbed URL: https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=MyCvTSjkD74&format=json
[26-Nov-2025 12:58:50 Europe/Berlin] ❌ allow_url_fopen is disabled, trying cURL...
[26-Nov-2025 12:58:50 Europe/Berlin] ✅ cURL oEmbed response: {"title":"\ud83d\udc69\ud83c\udffc\u200d\ud83d\udcbb What is Bootstrap? / Beginner CSS Framework","a...
[26-Nov-2025 12:58:50 Europe/Berlin] ✅ YouTube metadata fetched via oEmbed
[26-Nov-2025 13:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:06:49 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 13:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:06:49 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:06:49 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:06:49 Europe/Berlin] Session role: not set
[26-Nov-2025 13:06:49 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 13:07:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => hbh
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 13:07:31 Europe/Berlin]   video_type: url
[26-Nov-2025 13:07:31 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:07:31 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 13:07:31 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 13:07:31 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:07:31 Europe/Berlin] 🎬 FETCHING YouTube metadata for: MyCvTSjkD74
[26-Nov-2025 13:07:31 Europe/Berlin] 🔗 Trying oEmbed URL: https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=MyCvTSjkD74&format=json
[26-Nov-2025 13:07:31 Europe/Berlin] ❌ allow_url_fopen is disabled, trying cURL...
[26-Nov-2025 13:07:31 Europe/Berlin] ✅ cURL oEmbed response: {"title":"\ud83d\udc69\ud83c\udffc\u200d\ud83d\udcbb What is Bootstrap? / Beginner CSS Framework","a...
[26-Nov-2025 13:07:31 Europe/Berlin] ✅ YouTube metadata fetched via oEmbed
[26-Nov-2025 13:07:31 Europe/Berlin] 🔍 BIND PARAM VALUES:
[26-Nov-2025 13:07:31 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 13:07:31 Europe/Berlin]   course_id: 13
[26-Nov-2025 13:07:31 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 13:07:31 Europe/Berlin]   description: hbh
[26-Nov-2025 13:07:31 Europe/Berlin]   videoPathForDB: NULL
[26-Nov-2025 13:07:31 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:07:31 Europe/Berlin]   video_type: url
[26-Nov-2025 13:07:31 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:07:31 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:07:31 Europe/Berlin]   embed_code_final: <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
[26-Nov-2025 13:07:31 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:07:31 Europe/Berlin]   module_order: 1
[26-Nov-2025 13:07:31 Europe/Berlin]   price: 0
[26-Nov-2025 13:07:31 Europe/Berlin]   category_name: Data Science
[26-Nov-2025 13:07:31 Europe/Berlin]   is_published: 1
[26-Nov-2025 13:07:31 Europe/Berlin]   is_free: 1
[26-Nov-2025 13:07:31 Europe/Berlin]   contentTypesJson: ["quiz"]
[26-Nov-2025 13:12:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:12:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 13:12:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:12:23 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:12:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:12:23 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:12:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:12:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:12:23 Europe/Berlin] Session role: not set
[26-Nov-2025 13:12:23 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 13:12:57 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => sdcsd
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 13:12:57 Europe/Berlin]   video_type: url
[26-Nov-2025 13:12:57 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:12:57 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 13:12:57 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 13:12:57 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:12:57 Europe/Berlin] 🎬 FETCHING YouTube metadata for: MyCvTSjkD74
[26-Nov-2025 13:12:57 Europe/Berlin] 🔗 Trying oEmbed URL: https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=MyCvTSjkD74&format=json
[26-Nov-2025 13:12:57 Europe/Berlin] ❌ allow_url_fopen is disabled, trying cURL...
[26-Nov-2025 13:12:57 Europe/Berlin] ✅ cURL oEmbed response: {"title":"\ud83d\udc69\ud83c\udffc\u200d\ud83d\udcbb What is Bootstrap? / Beginner CSS Framework","a...
[26-Nov-2025 13:12:57 Europe/Berlin] ✅ YouTube metadata fetched via oEmbed
[26-Nov-2025 13:12:57 Europe/Berlin] 🔍 BIND PARAM VALUES:
[26-Nov-2025 13:12:57 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 13:12:57 Europe/Berlin]   course_id: 13
[26-Nov-2025 13:12:57 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 13:12:57 Europe/Berlin]   description: sdcsd
[26-Nov-2025 13:12:57 Europe/Berlin]   videoPathForDB: NULL
[26-Nov-2025 13:12:57 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:12:57 Europe/Berlin]   video_type: url
[26-Nov-2025 13:12:57 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[26-Nov-2025 13:12:57 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:12:57 Europe/Berlin]   embed_code_final: <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
[26-Nov-2025 13:12:57 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:12:57 Europe/Berlin]   module_order: 1
[26-Nov-2025 13:12:57 Europe/Berlin]   price: 0
[26-Nov-2025 13:12:57 Europe/Berlin]   category_name: Cyber Security
[26-Nov-2025 13:12:57 Europe/Berlin]   is_published: 1
[26-Nov-2025 13:12:57 Europe/Berlin]   is_free: 1
[26-Nov-2025 13:12:57 Europe/Berlin]   contentTypesJson: ["quiz"]
[26-Nov-2025 13:13:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:13:09 Europe/Berlin] Teacher Auth Check - Script: content-creation-workflow.php
[26-Nov-2025 13:13:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:13:09 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:13:09 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 13:13:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:13:09 Europe/Berlin] Session role: not set
[26-Nov-2025 13:13:09 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 12:13:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/content-creation-workflow.php on line 19
[26-Nov-2025 13:24:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:24:57 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 13:24:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:24:57 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:24:57 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:24:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:24:57 Europe/Berlin] Session role: not set
[26-Nov-2025 13:24:57 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:37:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:37:46 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 13:37:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:46 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:37:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:46 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:37:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:37:46 Europe/Berlin] Session role: not set
[26-Nov-2025 13:37:46 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:37:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:37:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 13:37:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:52 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:52 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:37:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:37:52 Europe/Berlin] Session role: not set
[26-Nov-2025 13:37:52 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 13:39:00 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => asx
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 13:39:00 Europe/Berlin]   video_type: url
[26-Nov-2025 13:39:00 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:39:00 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 13:39:00 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 13:39:00 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 VIDEOEMBED_DEBUG_ORIGINAL_URL: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:39:00 Europe/Berlin] 🎬 FETCHING YouTube metadata for: MyCvTSjkD74
[26-Nov-2025 13:39:00 Europe/Berlin] 🔗 Trying oEmbed URL: https://www.youtube.com/oembed?url=https://www.youtube.com/watch?v=MyCvTSjkD74&format=json
[26-Nov-2025 13:39:00 Europe/Berlin] ❌ allow_url_fopen is disabled, trying cURL...
[26-Nov-2025 13:39:00 Europe/Berlin] ✅ cURL oEmbed response: {"title":"\ud83d\udc69\ud83c\udffc\u200d\ud83d\udcbb What is Bootstrap? / Beginner CSS Framework","a...
[26-Nov-2025 13:39:00 Europe/Berlin] ✅ YouTube metadata fetched via oEmbed
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 13:39:00 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:39:00 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:39:00 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:39:00 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:39:00 Europe/Berlin] 🔍 BIND PARAM VALUES:
[26-Nov-2025 13:39:00 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 13:39:00 Europe/Berlin]   course_id: 13
[26-Nov-2025 13:39:00 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 13:39:00 Europe/Berlin]   description: asx
[26-Nov-2025 13:39:00 Europe/Berlin]   videoPathForDB: NULL
[26-Nov-2025 13:39:00 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:39:00 Europe/Berlin]   video_type: url
[26-Nov-2025 13:39:00 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:39:00 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:39:00 Europe/Berlin]   embed_code_final: <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
[26-Nov-2025 13:39:00 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:39:00 Europe/Berlin]   module_order: 1
[26-Nov-2025 13:39:00 Europe/Berlin]   price: 0
[26-Nov-2025 13:39:00 Europe/Berlin]   category_name: Cyber Security
[26-Nov-2025 13:39:00 Europe/Berlin]   is_published: 1
[26-Nov-2025 13:39:00 Europe/Berlin]   is_free: 1
[26-Nov-2025 13:39:00 Europe/Berlin]   contentTypesJson: ["quiz"]
[26-Nov-2025 13:39:00 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[26-Nov-2025 13:39:00 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[26-Nov-2025 13:39:00 Europe/Berlin]   Error Number: 2031
[26-Nov-2025 13:39:00 Europe/Berlin]   SQL: 
            INSERT INTO videos (
                teacher_id, course_id, title, description, video_url, thumbnail, 
                video_type, external_url, platform, embed_code, video_id_external,
                video_order, price, category_name, is_published, is_free, 
                linked_content_types, created_at
            ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
        
[26-Nov-2025 13:47:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:47:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 13:47:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:47:00 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:47:00 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:47:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:47:00 Europe/Berlin] Session role: not set
[26-Nov-2025 13:47:00 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 13:47:46 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => cv
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 13:47:46 Europe/Berlin]   video_type: url
[26-Nov-2025 13:47:46 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:47:46 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 13:47:46 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 13:47:46 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 13:47:46 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:47:46 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:47:46 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:47:46 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:47:46 Europe/Berlin] 🔍 BIND PARAM VALUES:
[26-Nov-2025 13:47:46 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 13:47:46 Europe/Berlin]   course_id: 13
[26-Nov-2025 13:47:46 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 13:47:46 Europe/Berlin]   description: cv
[26-Nov-2025 13:47:46 Europe/Berlin]   videoPathForDB: NULL
[26-Nov-2025 13:47:46 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:47:46 Europe/Berlin]   video_type: url
[26-Nov-2025 13:47:46 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:47:46 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:47:46 Europe/Berlin]   embed_code_final: <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
[26-Nov-2025 13:47:46 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:47:46 Europe/Berlin]   module_order: 1
[26-Nov-2025 13:47:46 Europe/Berlin]   price: 0
[26-Nov-2025 13:47:46 Europe/Berlin]   category_name: Data Science
[26-Nov-2025 13:47:46 Europe/Berlin]   is_published: 1
[26-Nov-2025 13:47:46 Europe/Berlin]   is_free: 1
[26-Nov-2025 13:47:46 Europe/Berlin]   contentTypesJson: ["quiz"]
[26-Nov-2025 13:47:46 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[26-Nov-2025 13:47:46 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[26-Nov-2025 13:47:46 Europe/Berlin]   Error Number: 2031
[26-Nov-2025 13:47:46 Europe/Berlin]   SQL: 
            INSERT INTO videos (
                teacher_id, course_id, title, description, video_url, thumbnail, 
                video_type, external_url, platform, embed_code, video_id_external,
                video_order, price, category_name, is_published, is_free, 
                linked_content_types, created_at
            ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
        
[26-Nov-2025 13:57:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 13:57:36 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 13:57:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:57:36 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:57:36 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 13:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 13:57:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 13:57:36 Europe/Berlin] Session role: not set
[26-Nov-2025 13:57:36 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 13:58:13 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => ds
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 13:58:13 Europe/Berlin]   video_type: url
[26-Nov-2025 13:58:13 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:58:13 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 13:58:13 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 13:58:13 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 13:58:13 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:58:13 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:58:13 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:58:13 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 13:58:13 Europe/Berlin] 🔍 SIMPLIFIED BIND PARAM VALUES:
[26-Nov-2025 13:58:13 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 13:58:13 Europe/Berlin]   course_id: 13
[26-Nov-2025 13:58:13 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 13:58:13 Europe/Berlin]   description: ds
[26-Nov-2025 13:58:13 Europe/Berlin]   video_type: url
[26-Nov-2025 13:58:13 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 13:58:13 Europe/Berlin]   platform: youtube
[26-Nov-2025 13:58:13 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 13:58:13 Europe/Berlin]   is_published: 1
[26-Nov-2025 13:58:13 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[26-Nov-2025 13:58:13 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[26-Nov-2025 13:58:13 Europe/Berlin]   Error Number: 2031
[26-Nov-2025 13:58:13 Europe/Berlin]   SQL: 
            INSERT INTO videos (
                teacher_id, course_id, title, description, video_type, 
                external_url, platform, video_id_external, is_published, created_at
            ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
        
[26-Nov-2025 14:08:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:08:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 14:08:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:08:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:08:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:08:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:08:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:08:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:08:03 Europe/Berlin] Session role: not set
[26-Nov-2025 14:08:03 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 14:08:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => cs
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 14:08:31 Europe/Berlin]   video_type: url
[26-Nov-2025 14:08:31 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 14:08:31 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 14:08:31 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 14:08:31 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 14:08:31 Europe/Berlin]   platform: youtube
[26-Nov-2025 14:08:31 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 14:08:31 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 14:08:31 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 14:08:31 Europe/Berlin] 🔍 SIMPLIFIED BIND PARAM VALUES:
[26-Nov-2025 14:08:31 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 14:08:31 Europe/Berlin]   course_id: 13
[26-Nov-2025 14:08:31 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 14:08:31 Europe/Berlin]   description: cs
[26-Nov-2025 14:08:31 Europe/Berlin]   video_type: url
[26-Nov-2025 14:08:31 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 14:08:31 Europe/Berlin]   platform: youtube
[26-Nov-2025 14:08:31 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 14:08:31 Europe/Berlin]   is_published: 1
[26-Nov-2025 14:08:31 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[26-Nov-2025 14:08:31 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[26-Nov-2025 14:08:31 Europe/Berlin]   Error Number: 2031
[26-Nov-2025 14:08:31 Europe/Berlin]   SQL: 
            INSERT INTO videos (
                teacher_id, course_id, title, description, video_type, 
                external_url, platform, video_id_external, is_published, created_at
            ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
        
[26-Nov-2025 14:13:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:13:46 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 14:13:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:13:46 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:13:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:13:46 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:13:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:13:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:13:46 Europe/Berlin] Session role: not set
[26-Nov-2025 14:13:46 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:14:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:14:01 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 14:14:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:01 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:01 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:14:01 Europe/Berlin] Session role: not set
[26-Nov-2025 14:14:01 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 14:14:22 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => cddfv
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 14:14:22 Europe/Berlin]   video_type: url
[26-Nov-2025 14:14:22 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 14:14:22 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 14:14:22 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 14:14:22 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 14:14:22 Europe/Berlin]   platform: youtube
[26-Nov-2025 14:14:22 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 14:14:22 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 14:14:22 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 14:14:22 Europe/Berlin] 🔍 SIMPLIFIED BIND PARAM VALUES:
[26-Nov-2025 14:14:22 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 14:14:22 Europe/Berlin]   course_id: 13
[26-Nov-2025 14:14:22 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 14:14:22 Europe/Berlin]   description: cddfv
[26-Nov-2025 14:14:22 Europe/Berlin]   video_type: url
[26-Nov-2025 14:14:22 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 14:14:22 Europe/Berlin]   platform: youtube
[26-Nov-2025 14:14:22 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 14:14:22 Europe/Berlin]   is_published: 1
[26-Nov-2025 14:14:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:14:33 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 14:14:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:14:33 Europe/Berlin] Session role: not set
[26-Nov-2025 14:14:33 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:14:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:14:54 Europe/Berlin] Teacher Auth Check - Script: courses.php
[26-Nov-2025 14:14:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:54 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:54 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
    [error_message] => No content creation workflow found.
)

[26-Nov-2025 14:14:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:14:54 Europe/Berlin] Session role: not set
[26-Nov-2025 14:14:54 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 13:14:54 UTC] DB Connection Status: Connected
[26-Nov-2025 13:14:54 UTC] User with ID 14 found
[26-Nov-2025 13:14:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 14:15:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:15:01 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 14:15:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:01 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:01 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:15:01 Europe/Berlin] Session role: not set
[26-Nov-2025 14:15:01 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:15:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:15:04 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 14:15:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:04 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:04 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:15:04 Europe/Berlin] Session role: not set
[26-Nov-2025 14:15:04 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:15:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 14:15:44 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 14:15:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:44 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:44 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 14:15:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 14:15:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 14:15:44 Europe/Berlin] Session role: not set
[26-Nov-2025 14:15:44 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 15:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:06:38 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[26-Nov-2025 15:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:06:38 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:06:38 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:06:38 Europe/Berlin] Session role: not set
[26-Nov-2025 15:06:38 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:06:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 15:23:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:23:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[26-Nov-2025 15:23:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:35 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:35 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:23:35 Europe/Berlin] Session role: not set
[26-Nov-2025 15:23:35 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:23:35 UTC] DB Connection Status: Connected
[26-Nov-2025 14:23:35 UTC] User with ID 14 found
[26-Nov-2025 14:23:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 15:23:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:23:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 15:23:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:40 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:40 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:23:40 Europe/Berlin] Session role: not set
[26-Nov-2025 15:23:40 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 15:23:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:23:56 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[26-Nov-2025 15:23:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:56 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:56 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:23:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:23:56 Europe/Berlin] Session role: not set
[26-Nov-2025 15:23:56 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 14:23:56 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 15:24:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:24:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 15:24:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:24:03 Europe/Berlin] Session role: not set
[26-Nov-2025 15:24:03 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 15:24:45 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => hgvhgv
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 15:24:45 Europe/Berlin]   video_type: url
[26-Nov-2025 15:24:45 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 15:24:45 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 15:24:45 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 15:24:45 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 15:24:45 Europe/Berlin]   platform: youtube
[26-Nov-2025 15:24:45 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 15:24:45 Europe/Berlin]   generated thumbnail URL: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 15:24:45 Europe/Berlin]   thumbnailPath set to: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 15:24:45 Europe/Berlin] 🔍 SIMPLIFIED BIND PARAM VALUES:
[26-Nov-2025 15:24:45 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 15:24:45 Europe/Berlin]   course_id: 13
[26-Nov-2025 15:24:45 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 15:24:45 Europe/Berlin]   description: hgvhgv
[26-Nov-2025 15:24:45 Europe/Berlin]   video_type: url
[26-Nov-2025 15:24:45 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 15:24:45 Europe/Berlin]   platform: youtube
[26-Nov-2025 15:24:45 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 15:24:45 Europe/Berlin]   is_published: 1
[26-Nov-2025 15:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:24:49 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 15:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:49 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:49 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:24:49 Europe/Berlin] Session role: not set
[26-Nov-2025 15:24:49 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 15:45:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 15:45:23 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 15:45:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:45:23 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:45:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:45:23 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 15:45:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 15:45:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 15:45:23 Europe/Berlin] Session role: not set
[26-Nov-2025 15:45:23 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:01:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:01:14 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[26-Nov-2025 16:01:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:14 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:01:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:14 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:01:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:01:14 Europe/Berlin] Session role: not set
[26-Nov-2025 16:01:14 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 15:01:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[26-Nov-2025 16:01:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:01:33 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 16:01:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:01:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:01:33 Europe/Berlin] Session role: not set
[26-Nov-2025 16:01:33 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:02:21 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 13
    [description] => jjbjhb
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:02:21 Europe/Berlin]   video_type: url
[26-Nov-2025 16:02:21 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 16:02:21 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 16:02:21 Europe/Berlin]   video_id_external: MyCvTSjkD74
[26-Nov-2025 16:02:21 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 16:02:21 Europe/Berlin]   platform: youtube
[26-Nov-2025 16:02:21 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 16:02:21 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 16:02:21 Europe/Berlin] 🔍 BIND PARAM VALUES WITH THUMBNAIL:
[26-Nov-2025 16:02:21 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 16:02:21 Europe/Berlin]   course_id: 13
[26-Nov-2025 16:02:21 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[26-Nov-2025 16:02:21 Europe/Berlin]   description: jjbjhb
[26-Nov-2025 16:02:21 Europe/Berlin]   video_type: url
[26-Nov-2025 16:02:21 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[26-Nov-2025 16:02:21 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=GT7TQafCKM7mwK8y
[26-Nov-2025 16:02:21 Europe/Berlin]   platform: youtube
[26-Nov-2025 16:02:21 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[26-Nov-2025 16:02:21 Europe/Berlin]   is_published: 1
[26-Nov-2025 16:02:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:02:29 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 16:02:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:02:29 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:02:29 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:02:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:02:29 Europe/Berlin] Session role: not set
[26-Nov-2025 16:02:29 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:03:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:03:20 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 16:03:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:20 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:20 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:03:20 Europe/Berlin] Session role: not set
[26-Nov-2025 16:03:20 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:03:40 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/4sosXZsdy-s?si=S7ScxsY-b-oJDtjr
    [detected_platform] => youtube
    [video_id_external] => 4sosXZsdy-s
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/4sosXZsdy-s?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => Bootstrap 5 Crash Course | Website Build & Deploy
    [course_id] => 13
    [description] => sdc
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:03:40 Europe/Berlin]   video_type: url
[26-Nov-2025 16:03:40 Europe/Berlin]   video_url: https://youtu.be/4sosXZsdy-s?si=S7ScxsY-b-oJDtjr
[26-Nov-2025 16:03:40 Europe/Berlin]   detected_platform: youtube
[26-Nov-2025 16:03:40 Europe/Berlin]   video_id_external: 4sosXZsdy-s
[26-Nov-2025 16:03:40 Europe/Berlin]   embed_code length: 254
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[26-Nov-2025 16:03:40 Europe/Berlin]   platform: youtube
[26-Nov-2025 16:03:40 Europe/Berlin]   video_id_ext: 4sosXZsdy-s
[26-Nov-2025 16:03:40 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/4sosXZsdy-s/maxresdefault.jpg
[26-Nov-2025 16:03:40 Europe/Berlin] 🔍 BIND PARAM VALUES WITH THUMBNAIL:
[26-Nov-2025 16:03:40 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 16:03:40 Europe/Berlin]   course_id: 13
[26-Nov-2025 16:03:40 Europe/Berlin]   title: Bootstrap 5 Crash Course | Website Build & Deploy
[26-Nov-2025 16:03:40 Europe/Berlin]   description: sdc
[26-Nov-2025 16:03:40 Europe/Berlin]   video_type: url
[26-Nov-2025 16:03:40 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/4sosXZsdy-s/maxresdefault.jpg
[26-Nov-2025 16:03:40 Europe/Berlin]   external_url: https://youtu.be/4sosXZsdy-s?si=S7ScxsY-b-oJDtjr
[26-Nov-2025 16:03:40 Europe/Berlin]   platform: youtube
[26-Nov-2025 16:03:40 Europe/Berlin]   video_id_ext: 4sosXZsdy-s
[26-Nov-2025 16:03:40 Europe/Berlin]   is_published: 1
[26-Nov-2025 16:03:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:03:44 Europe/Berlin] Teacher Auth Check - Script: videos.php
[26-Nov-2025 16:03:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:44 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:44 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:03:44 Europe/Berlin] Session role: not set
[26-Nov-2025 16:03:44 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:03:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:03:58 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 16:03:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:58 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:58 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:03:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:03:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:03:58 Europe/Berlin] Session role: not set
[26-Nov-2025 16:03:58 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:06:35 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Website development
    [course_id] => 13
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => Clipto AI video downloader_SpaceX Falcon Heavy- Elon Musk's Engineering Masterpiece.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpUfpaOj
            [error] => 0
            [size] => 62166962
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpXbnucD
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:06:35 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:06:35 Europe/Berlin]   video_type: file
[26-Nov-2025 16:06:35 Europe/Berlin]   video_url: 
[26-Nov-2025 16:06:35 Europe/Berlin]   detected_platform: 
[26-Nov-2025 16:06:35 Europe/Berlin]   video_id_external: 
[26-Nov-2025 16:06:35 Europe/Berlin]   embed_code length: 0
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:07:28 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Website development
    [course_id] => 13
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpWkqh4r
            [error] => 0
            [size] => 9748423
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phplqqmbz
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:07:28 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:07:28 Europe/Berlin]   video_type: file
[26-Nov-2025 16:07:28 Europe/Berlin]   video_url: 
[26-Nov-2025 16:07:28 Europe/Berlin]   detected_platform: 
[26-Nov-2025 16:07:28 Europe/Berlin]   video_id_external: 
[26-Nov-2025 16:07:28 Europe/Berlin]   embed_code length: 0
[26-Nov-2025 16:53:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 16:53:33 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 16:53:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:53:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:53:33 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 16:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 16:53:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 16:53:33 Europe/Berlin] Session role: not set
[26-Nov-2025 16:53:33 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:54:25 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web development
    [course_id] => 13
    [description] => dfv
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpvchp34
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/php7c2hch
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:54:25 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:54:25 Europe/Berlin]   video_type: file
[26-Nov-2025 16:54:25 Europe/Berlin]   video_url: 
[26-Nov-2025 16:54:25 Europe/Berlin]   detected_platform: 
[26-Nov-2025 16:54:25 Europe/Berlin]   video_id_external: 
[26-Nov-2025 16:54:25 Europe/Berlin]   embed_code length: 0
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 16:54:48 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web development
    [course_id] => 13
    [description] => dfv
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpLAAkCn
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/php7QBUlF
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 16:54:48 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 16:54:48 Europe/Berlin]   video_type: file
[26-Nov-2025 16:54:48 Europe/Berlin]   video_url: 
[26-Nov-2025 16:54:48 Europe/Berlin]   detected_platform: 
[26-Nov-2025 16:54:48 Europe/Berlin]   video_id_external: 
[26-Nov-2025 16:54:48 Europe/Berlin]   embed_code length: 0
[26-Nov-2025 17:11:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 17:11:17 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 17:11:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:11:17 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 17:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:11:17 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 17:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:11:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 17:11:17 Europe/Berlin] Session role: not set
[26-Nov-2025 17:11:17 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 17:12:18 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => web development
    [course_id] => 13
    [description] => dfv
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => gvbc - Wisdom Academy.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpkqH88G
            [error] => 0
            [size] => 9748423
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpJFW6Ac
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 17:12:18 Europe/Berlin] 🔍 VIDEO VARIABLES:
[26-Nov-2025 17:12:18 Europe/Berlin]   video_type: file
[26-Nov-2025 17:12:18 Europe/Berlin]   video_url: 
[26-Nov-2025 17:12:18 Europe/Berlin]   detected_platform: 
[26-Nov-2025 17:12:18 Europe/Berlin]   video_id_external: 
[26-Nov-2025 17:12:18 Europe/Berlin]   embed_code length: 0
[26-Nov-2025 17:38:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 17:38:29 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 17:38:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:38:29 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 17:38:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:38:29 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 17:38:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 17:38:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 17:38:29 Europe/Berlin] Session role: not set
[26-Nov-2025 17:38:29 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 17:39:19 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => compu
    [course_id] => 13
    [description] => jhb
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => gvbc - Wisdom Academy.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpg9tRze
            [error] => 0
            [size] => 9748423
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpyey8yg
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 17:39:19 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[26-Nov-2025 17:39:19 Europe/Berlin] 📥 REQUEST METHOD: POST
[26-Nov-2025 17:39:19 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[26-Nov-2025 17:39:19 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[26-Nov-2025 17:39:19 Europe/Berlin] 📋 ALL POST DATA:
[26-Nov-2025 17:39:19 Europe/Berlin]   form_type: video_upload
[26-Nov-2025 17:39:19 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 17:39:19 Europe/Berlin]   video_url: 
[26-Nov-2025 17:39:19 Europe/Berlin]   detected_platform: 
[26-Nov-2025 17:39:19 Europe/Berlin]   video_id_external: 
[26-Nov-2025 17:39:19 Europe/Berlin]   embed_code: 
[26-Nov-2025 17:39:19 Europe/Berlin]   video_type: file
[26-Nov-2025 17:39:19 Europe/Berlin]   title: compu
[26-Nov-2025 17:39:19 Europe/Berlin]   course_id: 13
[26-Nov-2025 17:39:19 Europe/Berlin]   description: jhb
[26-Nov-2025 17:39:19 Europe/Berlin]   category_name: 
[26-Nov-2025 17:39:19 Europe/Berlin]   is_published: 1
[26-Nov-2025 17:39:19 Europe/Berlin]   content_types: [quiz]
[26-Nov-2025 17:39:19 Europe/Berlin]   ajax: 1
[26-Nov-2025 17:39:19 Europe/Berlin] 📂 ALL FILES DATA:
[26-Nov-2025 17:39:19 Europe/Berlin]   video: gvbc - Wisdom Academy.mp4 (9748423 bytes, error: 0)
[26-Nov-2025 17:39:19 Europe/Berlin]   thumbnail: images (3).jpeg (7824 bytes, error: 0)
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[26-Nov-2025 17:39:19 Europe/Berlin]   video_type: file
[26-Nov-2025 17:39:19 Europe/Berlin]   video_url: 
[26-Nov-2025 17:39:19 Europe/Berlin]   detected_platform: 
[26-Nov-2025 17:39:19 Europe/Berlin]   video_id_external: 
[26-Nov-2025 17:39:19 Europe/Berlin]   embed_code: EMPTY
[26-Nov-2025 17:39:19 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 18:06:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 18:06:28 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 18:06:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:06:28 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 18:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:06:28 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 18:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:06:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 18:06:28 Europe/Berlin] Session role: not set
[26-Nov-2025 18:06:28 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 18:07:26 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => hghg
    [course_id] => 13
    [description] => hjb
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => video_6888e5b561870_1753802165.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpKVJ95k
            [error] => 0
            [size] => 9748423
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[26-Nov-2025 18:07:26 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[26-Nov-2025 18:07:26 Europe/Berlin] 📥 REQUEST METHOD: POST
[26-Nov-2025 18:07:26 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[26-Nov-2025 18:07:26 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[26-Nov-2025 18:07:26 Europe/Berlin] 📋 ALL POST DATA:
[26-Nov-2025 18:07:26 Europe/Berlin]   form_type: video_upload
[26-Nov-2025 18:07:26 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 18:07:26 Europe/Berlin]   video_url: 
[26-Nov-2025 18:07:26 Europe/Berlin]   detected_platform: 
[26-Nov-2025 18:07:26 Europe/Berlin]   video_id_external: 
[26-Nov-2025 18:07:26 Europe/Berlin]   embed_code: 
[26-Nov-2025 18:07:26 Europe/Berlin]   video_type: file
[26-Nov-2025 18:07:26 Europe/Berlin]   title: hghg
[26-Nov-2025 18:07:26 Europe/Berlin]   course_id: 13
[26-Nov-2025 18:07:26 Europe/Berlin]   description: hjb
[26-Nov-2025 18:07:26 Europe/Berlin]   category_name: Data Science
[26-Nov-2025 18:07:26 Europe/Berlin]   is_published: 1
[26-Nov-2025 18:07:26 Europe/Berlin]   content_types: [quiz]
[26-Nov-2025 18:07:26 Europe/Berlin]   ajax: 1
[26-Nov-2025 18:07:26 Europe/Berlin] 📂 ALL FILES DATA:
[26-Nov-2025 18:07:26 Europe/Berlin]   video: video_6888e5b561870_1753802165.mp4 (9748423 bytes, error: 0)
[26-Nov-2025 18:07:26 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[26-Nov-2025 18:07:26 Europe/Berlin]   video_type: file
[26-Nov-2025 18:07:26 Europe/Berlin]   video_url: 
[26-Nov-2025 18:07:26 Europe/Berlin]   detected_platform: 
[26-Nov-2025 18:07:26 Europe/Berlin]   video_id_external: 
[26-Nov-2025 18:07:26 Europe/Berlin]   embed_code: EMPTY
[26-Nov-2025 18:07:26 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 18:17:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Nov-2025 18:17:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[26-Nov-2025 18:17:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:17:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 18:17:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:17:03 Europe/Berlin] isLoggedIn check result: true
[26-Nov-2025 18:17:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764152342
    [last_regeneration] => 1764152342
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764152342
    [session_started_at] => 2025-11-26 11:19:03
    [login_redirect_count] => 0
)

[26-Nov-2025 18:17:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[26-Nov-2025 18:17:03 Europe/Berlin] Session role: not set
[26-Nov-2025 18:17:03 Europe/Berlin] Session user_role: teacher
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 USER ID: NOT SET
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 USER ROLE: NOT SET
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 SESSION STATUS: 1
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 SESSION ID: 
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[26-Nov-2025 18:18:06 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => hgcgc
    [course_id] => 13
    [description] => jknkjb
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/php9Em3Jh
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/php7MinoM
            [error] => 0
            [size] => 7824
        )

)

[26-Nov-2025 18:18:06 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[26-Nov-2025 18:18:06 Europe/Berlin] 📥 REQUEST METHOD: POST
[26-Nov-2025 18:18:06 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[26-Nov-2025 18:18:06 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[26-Nov-2025 18:18:06 Europe/Berlin] 📋 ALL POST DATA:
[26-Nov-2025 18:18:06 Europe/Berlin]   form_type: video_upload
[26-Nov-2025 18:18:06 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 18:18:06 Europe/Berlin]   video_url: 
[26-Nov-2025 18:18:06 Europe/Berlin]   detected_platform: 
[26-Nov-2025 18:18:06 Europe/Berlin]   video_id_external: 
[26-Nov-2025 18:18:06 Europe/Berlin]   embed_code: 
[26-Nov-2025 18:18:06 Europe/Berlin]   video_type: file
[26-Nov-2025 18:18:06 Europe/Berlin]   title: hgcgc
[26-Nov-2025 18:18:06 Europe/Berlin]   course_id: 13
[26-Nov-2025 18:18:06 Europe/Berlin]   description: jknkjb
[26-Nov-2025 18:18:06 Europe/Berlin]   category_name: 
[26-Nov-2025 18:18:06 Europe/Berlin]   is_published: 1
[26-Nov-2025 18:18:06 Europe/Berlin]   content_types: [quiz]
[26-Nov-2025 18:18:06 Europe/Berlin]   ajax: 1
[26-Nov-2025 18:18:06 Europe/Berlin] 📂 ALL FILES DATA:
[26-Nov-2025 18:18:06 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[26-Nov-2025 18:18:06 Europe/Berlin]   thumbnail: images (3).jpeg (7824 bytes, error: 0)
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[26-Nov-2025 18:18:06 Europe/Berlin]   video_type: file
[26-Nov-2025 18:18:06 Europe/Berlin]   video_url: 
[26-Nov-2025 18:18:06 Europe/Berlin]   detected_platform: 
[26-Nov-2025 18:18:06 Europe/Berlin]   video_id_external: 
[26-Nov-2025 18:18:06 Europe/Berlin]   embed_code: EMPTY
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[26-Nov-2025 18:18:06 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[26-Nov-2025 18:18:06 Europe/Berlin] 📥 REQUEST METHOD: POST
[26-Nov-2025 18:18:06 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[26-Nov-2025 18:18:06 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[26-Nov-2025 18:18:06 Europe/Berlin] 📋 ALL POST DATA:
[26-Nov-2025 18:18:06 Europe/Berlin]   form_type: video_upload
[26-Nov-2025 18:18:06 Europe/Berlin]   teacher_id: 14
[26-Nov-2025 18:18:06 Europe/Berlin]   video_url: 
[26-Nov-2025 18:18:06 Europe/Berlin]   detected_platform: 
[26-Nov-2025 18:18:06 Europe/Berlin]   video_id_external: 
[26-Nov-2025 18:18:06 Europe/Berlin]   embed_code: 
[26-Nov-2025 18:18:06 Europe/Berlin]   video_type: file
[26-Nov-2025 18:18:06 Europe/Berlin]   title: hgcgc
[26-Nov-2025 18:18:06 Europe/Berlin]   course_id: 13
[26-Nov-2025 18:18:06 Europe/Berlin]   description: jknkjb
[26-Nov-2025 18:18:06 Europe/Berlin]   category_name: 
[26-Nov-2025 18:18:06 Europe/Berlin]   is_published: 1
[26-Nov-2025 18:18:06 Europe/Berlin]   content_types: [quiz]
[26-Nov-2025 18:18:06 Europe/Berlin]   ajax: 1
[26-Nov-2025 18:18:06 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[26-Nov-2025 18:18:06 Europe/Berlin]   videoFile exists: NO
[27-Nov-2025 10:46:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 10:46:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 10:46:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
)

[27-Nov-2025 10:46:00 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 10:46:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
)

[27-Nov-2025 10:46:00 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 10:46:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
)

[27-Nov-2025 10:46:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 10:46:00 Europe/Berlin] Session role: not set
[27-Nov-2025 10:46:00 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 09:46:00 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 09:46:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 09:46:00 UTC] Found 5 videos for teacher 14
[27-Nov-2025 11:07:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:07:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:07:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:07:52 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:07:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:07:52 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:07:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:07:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:07:52 Europe/Berlin] Session role: not set
[27-Nov-2025 11:07:52 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 11:09:19 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web development
    [course_id] => 13
    [description] => erf
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpqUmPZm
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpl9mnYI
            [error] => 0
            [size] => 7824
        )

)

[27-Nov-2025 11:09:19 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:09:19 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:09:19 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:09:19 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:09:19 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:09:19 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:09:19 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:09:19 Europe/Berlin]   video_url: 
[27-Nov-2025 11:09:19 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:09:19 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:09:19 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:09:19 Europe/Berlin]   video_type: file
[27-Nov-2025 11:09:19 Europe/Berlin]   title: Web development
[27-Nov-2025 11:09:19 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:09:19 Europe/Berlin]   description: erf
[27-Nov-2025 11:09:19 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:09:19 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:09:19 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:09:19 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:09:19 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 11:09:19 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 11:09:19 Europe/Berlin]   thumbnail: images (3).jpeg (7824 bytes, error: 0)
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 11:09:19 Europe/Berlin]   video_type: file
[27-Nov-2025 11:09:19 Europe/Berlin]   video_url: 
[27-Nov-2025 11:09:19 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:09:19 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:09:19 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 11:09:19 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:09:19 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:09:19 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:09:19 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:09:19 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:09:19 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:09:19 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:09:19 Europe/Berlin]   video_url: 
[27-Nov-2025 11:09:19 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:09:19 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:09:19 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:09:19 Europe/Berlin]   video_type: file
[27-Nov-2025 11:09:19 Europe/Berlin]   title: Web development
[27-Nov-2025 11:09:19 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:09:19 Europe/Berlin]   description: erf
[27-Nov-2025 11:09:19 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:09:19 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:09:19 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:09:19 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:09:19 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 11:09:19 Europe/Berlin]   videoFile exists: NO
[27-Nov-2025 11:15:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:15:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:15:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:15:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:15:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:15:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:15:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:15:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:15:51 Europe/Berlin] Session role: not set
[27-Nov-2025 11:15:51 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:18:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:18:56 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:18:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:18:56 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:18:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:18:56 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:18:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:18:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:18:56 Europe/Berlin] Session role: not set
[27-Nov-2025 11:18:56 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:23:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:23:01 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:23:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:23:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:23:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:23:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:23:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:23:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:23:01 Europe/Berlin] Session role: not set
[27-Nov-2025 11:23:01 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:29:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:29:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:29:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:29:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:29:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:29:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:29:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:29:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:29:08 Europe/Berlin] Session role: not set
[27-Nov-2025 11:29:08 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 11:30:20 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => web 
    [course_id] => 13
    [description] => dc
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => website development pricing (7).png
            [type] => image/png
            [tmp_name] => /tmp/phpLFjkM2
            [error] => 0
            [size] => 447223
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpCwaKdq
            [error] => 0
            [size] => 5847406
        )

)

[27-Nov-2025 11:30:20 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:30:20 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:30:20 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:30:20 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:30:20 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:30:20 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:30:20 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:30:20 Europe/Berlin]   video_url: 
[27-Nov-2025 11:30:20 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:30:20 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:30:20 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:30:20 Europe/Berlin]   video_type: file
[27-Nov-2025 11:30:20 Europe/Berlin]   title: web 
[27-Nov-2025 11:30:20 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:30:20 Europe/Berlin]   description: dc
[27-Nov-2025 11:30:20 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:30:20 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:30:20 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:30:20 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:30:20 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 11:30:20 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[27-Nov-2025 11:30:20 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 11:30:20 Europe/Berlin]   video_type: file
[27-Nov-2025 11:30:20 Europe/Berlin]   video_url: 
[27-Nov-2025 11:30:20 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:30:20 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:30:20 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 11:30:20 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:30:20 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:30:20 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:30:20 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:30:20 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:30:20 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:30:20 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:30:20 Europe/Berlin]   video_url: 
[27-Nov-2025 11:30:20 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:30:20 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:30:20 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:30:20 Europe/Berlin]   video_type: file
[27-Nov-2025 11:30:20 Europe/Berlin]   title: web 
[27-Nov-2025 11:30:20 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:30:20 Europe/Berlin]   description: dc
[27-Nov-2025 11:30:20 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:30:20 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:30:20 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:30:20 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:30:20 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 11:30:20 Europe/Berlin]   videoFile exists: NO
[27-Nov-2025 11:35:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:35:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:35:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:35:31 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:35:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:35:31 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:35:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:35:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:35:31 Europe/Berlin] Session role: not set
[27-Nov-2025 11:35:31 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 11:36:55 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web
    [course_id] => 13
    [description] => sdcs
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => website development pricing (7).png
            [type] => image/png
            [tmp_name] => /tmp/phpjGV0Ot
            [error] => 0
            [size] => 447223
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpsXrxiA
            [error] => 0
            [size] => 5847406
        )

)

[27-Nov-2025 11:36:55 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:36:55 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:36:55 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:36:55 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:36:55 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:36:55 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:36:55 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:36:55 Europe/Berlin]   video_url: 
[27-Nov-2025 11:36:55 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:36:55 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:36:55 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:36:55 Europe/Berlin]   video_type: file
[27-Nov-2025 11:36:55 Europe/Berlin]   title: Web
[27-Nov-2025 11:36:55 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:36:55 Europe/Berlin]   description: sdcs
[27-Nov-2025 11:36:55 Europe/Berlin]   category_name: Data Science
[27-Nov-2025 11:36:55 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:36:55 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:36:55 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:36:55 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 11:36:55 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[27-Nov-2025 11:36:55 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 11:36:55 Europe/Berlin]   video_type: file
[27-Nov-2025 11:36:55 Europe/Berlin]   video_url: 
[27-Nov-2025 11:36:55 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:36:55 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:36:55 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 11:36:55 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:36:55 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:36:55 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:36:55 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:36:55 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:36:55 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:36:55 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:36:55 Europe/Berlin]   video_url: 
[27-Nov-2025 11:36:55 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:36:55 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:36:55 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:36:55 Europe/Berlin]   video_type: file
[27-Nov-2025 11:36:55 Europe/Berlin]   title: Web
[27-Nov-2025 11:36:55 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:36:55 Europe/Berlin]   description: sdcs
[27-Nov-2025 11:36:55 Europe/Berlin]   category_name: Data Science
[27-Nov-2025 11:36:55 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:36:55 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:36:55 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:36:55 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 11:36:55 Europe/Berlin]   videoFile exists: NO
[27-Nov-2025 11:43:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:43:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:43:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:43:43 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:43:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:43:43 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:43:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:43:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:43:43 Europe/Berlin] Session role: not set
[27-Nov-2025 11:43:43 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 11:48:22 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web
    [course_id] => 13
    [description] => sdc
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => website development pricing (7).png
            [type] => image/png
            [tmp_name] => /tmp/php4BB5d8
            [error] => 0
            [size] => 447223
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpBxdYZl
            [error] => 0
            [size] => 5847406
        )

)

[27-Nov-2025 11:48:22 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:48:22 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:48:22 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:48:22 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:48:22 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:48:22 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:48:22 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:48:22 Europe/Berlin]   video_url: 
[27-Nov-2025 11:48:22 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:48:22 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:48:22 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:48:22 Europe/Berlin]   video_type: file
[27-Nov-2025 11:48:22 Europe/Berlin]   title: Web
[27-Nov-2025 11:48:22 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:48:22 Europe/Berlin]   description: sdc
[27-Nov-2025 11:48:22 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:48:22 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:48:22 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:48:22 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:48:22 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 11:48:22 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[27-Nov-2025 11:48:22 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 11:48:22 Europe/Berlin]   video_type: file
[27-Nov-2025 11:48:22 Europe/Berlin]   video_url: 
[27-Nov-2025 11:48:22 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:48:22 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:48:22 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 11:48:22 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 11:48:22 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 11:48:22 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 11:48:22 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 11:48:22 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 11:48:22 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 11:48:22 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:48:22 Europe/Berlin]   video_url: 
[27-Nov-2025 11:48:22 Europe/Berlin]   detected_platform: 
[27-Nov-2025 11:48:22 Europe/Berlin]   video_id_external: 
[27-Nov-2025 11:48:22 Europe/Berlin]   embed_code: 
[27-Nov-2025 11:48:22 Europe/Berlin]   video_type: file
[27-Nov-2025 11:48:22 Europe/Berlin]   title: Web
[27-Nov-2025 11:48:22 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:48:22 Europe/Berlin]   description: sdc
[27-Nov-2025 11:48:22 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 11:48:22 Europe/Berlin]   is_published: 1
[27-Nov-2025 11:48:22 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 11:48:22 Europe/Berlin]   ajax: 1
[27-Nov-2025 11:48:22 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 11:48:22 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[27-Nov-2025 11:48:22 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 11:48:22 Europe/Berlin]   video exists: YES
[27-Nov-2025 11:48:22 Europe/Berlin]   videoFile exists (old): NO
[27-Nov-2025 11:48:22 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   video size: 5847406
[27-Nov-2025 11:48:22 Europe/Berlin]   video error: 0
[27-Nov-2025 11:48:22 Europe/Berlin]   video tmp_name: /tmp/phpBxdYZl
[27-Nov-2025 11:48:22 Europe/Berlin]   Error meaning: No error
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 11:48:22 Europe/Berlin]   video_type: file
[27-Nov-2025 11:48:22 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 11:48:22 Europe/Berlin]   $_FILES keys: thumbnail, video
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[27-Nov-2025 11:48:22 Europe/Berlin] 📂 Video file details:
[27-Nov-2025 11:48:22 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   type: video/mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   size: 5847406
[27-Nov-2025 11:48:22 Europe/Berlin]   error: 0
[27-Nov-2025 11:48:22 Europe/Berlin]   tmp_name: /tmp/phpBxdYZl
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 File type validation:
[27-Nov-2025 11:48:22 Europe/Berlin]   Detected type: video/mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[27-Nov-2025 11:48:22 Europe/Berlin] ✅ File type validation passed
[27-Nov-2025 11:48:22 Europe/Berlin] 📁 File paths:
[27-Nov-2025 11:48:22 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[27-Nov-2025 11:48:22 Europe/Berlin]   Video filename: video_69282c7691a50_1764240502.mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69282c7691a50_1764240502.mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   Directory writable: YES
[27-Nov-2025 11:48:22 Europe/Berlin] 📸 Processing thumbnail upload
[27-Nov-2025 11:48:22 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69282c7691a50_1764240502.png
[27-Nov-2025 11:48:22 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69282c7691a50_1764240502.png
[27-Nov-2025 11:48:22 Europe/Berlin] 🎬 Moving video file from temp to final location
[27-Nov-2025 11:48:22 Europe/Berlin]   From: /tmp/phpBxdYZl
[27-Nov-2025 11:48:22 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69282c7691a50_1764240502.mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   Temp file exists: YES
[27-Nov-2025 11:48:22 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69282c7691a50_1764240502.mp4
[27-Nov-2025 11:48:22 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[27-Nov-2025 11:48:22 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 11:48:22 Europe/Berlin]   course_id: 13
[27-Nov-2025 11:48:22 Europe/Berlin]   title: Web
[27-Nov-2025 11:48:22 Europe/Berlin]   description: sdc
[27-Nov-2025 11:48:22 Europe/Berlin]   video_type: file
[27-Nov-2025 11:48:22 Europe/Berlin]   videoPathForDB: uploads/videos/video_69282c7691a50_1764240502.mp4
[27-Nov-2025 11:48:22 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69282c7691a50_1764240502.png
[27-Nov-2025 11:48:22 Europe/Berlin]   is_published: 0
[27-Nov-2025 11:48:22 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 11:48:22 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 11:48:22 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 11:48:22 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 11:48:22 Europe/Berlin]   Generated video_id: 12
[27-Nov-2025 11:56:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:56:14 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 11:56:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:14 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:56:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:14 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:56:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:56:14 Europe/Berlin] Session role: not set
[27-Nov-2025 11:56:14 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:56:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:56:38 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 11:56:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:56:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:56:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:56:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:56:38 Europe/Berlin] Session role: not set
[27-Nov-2025 11:56:38 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:58:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:58:18 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 11:58:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:18 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:58:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:18 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:58:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:58:18 Europe/Berlin] Session role: not set
[27-Nov-2025 11:58:18 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 11:58:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 11:58:22 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 11:58:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:22 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:58:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:22 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 11:58:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 11:58:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 11:58:22 Europe/Berlin] Session role: not set
[27-Nov-2025 11:58:22 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 12:00:24 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Web development
    [course_id] => 13
    [description] => welcome to web development
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => images (3).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phprBMGDE
            [error] => 0
            [size] => 7824
        )

    [video] => Array
        (
            [name] => gvbc - Wisdom Academy.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/php59W9hj
            [error] => 0
            [size] => 9748423
        )

)

[27-Nov-2025 12:00:24 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 12:00:24 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 12:00:24 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 12:00:24 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 12:00:24 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 12:00:24 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 12:00:24 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:00:24 Europe/Berlin]   video_url: 
[27-Nov-2025 12:00:24 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:00:24 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:00:24 Europe/Berlin]   embed_code: 
[27-Nov-2025 12:00:24 Europe/Berlin]   video_type: file
[27-Nov-2025 12:00:24 Europe/Berlin]   title: Web development
[27-Nov-2025 12:00:24 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:00:24 Europe/Berlin]   description: welcome to web development
[27-Nov-2025 12:00:24 Europe/Berlin]   category_name: 
[27-Nov-2025 12:00:24 Europe/Berlin]   is_published: 1
[27-Nov-2025 12:00:24 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 12:00:24 Europe/Berlin]   ajax: 1
[27-Nov-2025 12:00:24 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 12:00:24 Europe/Berlin]   thumbnail: images (3).jpeg (7824 bytes, error: 0)
[27-Nov-2025 12:00:24 Europe/Berlin]   video: gvbc - Wisdom Academy.mp4 (9748423 bytes, error: 0)
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 12:00:24 Europe/Berlin]   video_type: file
[27-Nov-2025 12:00:24 Europe/Berlin]   video_url: 
[27-Nov-2025 12:00:24 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:00:24 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:00:24 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 12:00:24 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 12:00:24 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 12:00:24 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 12:00:24 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 12:00:24 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 12:00:24 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 12:00:24 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:00:24 Europe/Berlin]   video_url: 
[27-Nov-2025 12:00:24 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:00:24 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:00:24 Europe/Berlin]   embed_code: 
[27-Nov-2025 12:00:24 Europe/Berlin]   video_type: file
[27-Nov-2025 12:00:24 Europe/Berlin]   title: Web development
[27-Nov-2025 12:00:24 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:00:24 Europe/Berlin]   description: welcome to web development
[27-Nov-2025 12:00:24 Europe/Berlin]   category_name: 
[27-Nov-2025 12:00:24 Europe/Berlin]   is_published: 1
[27-Nov-2025 12:00:24 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 12:00:24 Europe/Berlin]   ajax: 1
[27-Nov-2025 12:00:24 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 12:00:24 Europe/Berlin]   thumbnail: images (3).jpeg (7824 bytes, error: 0)
[27-Nov-2025 12:00:24 Europe/Berlin]   video: gvbc - Wisdom Academy.mp4 (9748423 bytes, error: 0)
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 12:00:24 Europe/Berlin]   video exists: YES
[27-Nov-2025 12:00:24 Europe/Berlin]   videoFile exists (old): NO
[27-Nov-2025 12:00:24 Europe/Berlin]   video name: gvbc - Wisdom Academy.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   video size: 9748423
[27-Nov-2025 12:00:24 Europe/Berlin]   video error: 0
[27-Nov-2025 12:00:24 Europe/Berlin]   video tmp_name: /tmp/php59W9hj
[27-Nov-2025 12:00:24 Europe/Berlin]   Error meaning: No error
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 12:00:24 Europe/Berlin]   video_type: file
[27-Nov-2025 12:00:24 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 12:00:24 Europe/Berlin]   $_FILES keys: thumbnail, video
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[27-Nov-2025 12:00:24 Europe/Berlin] 📂 Video file details:
[27-Nov-2025 12:00:24 Europe/Berlin]   name: gvbc - Wisdom Academy.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   type: video/mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   size: 9748423
[27-Nov-2025 12:00:24 Europe/Berlin]   error: 0
[27-Nov-2025 12:00:24 Europe/Berlin]   tmp_name: /tmp/php59W9hj
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 File type validation:
[27-Nov-2025 12:00:24 Europe/Berlin]   Detected type: video/mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[27-Nov-2025 12:00:24 Europe/Berlin] ✅ File type validation passed
[27-Nov-2025 12:00:24 Europe/Berlin] 📁 File paths:
[27-Nov-2025 12:00:24 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[27-Nov-2025 12:00:24 Europe/Berlin]   Video filename: video_69282f48d9b88_1764241224.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69282f48d9b88_1764241224.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   Directory writable: YES
[27-Nov-2025 12:00:24 Europe/Berlin] 📸 Processing thumbnail upload
[27-Nov-2025 12:00:24 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69282f48d9b88_1764241224.jpeg
[27-Nov-2025 12:00:24 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69282f48d9b88_1764241224.jpeg
[27-Nov-2025 12:00:24 Europe/Berlin] 🎬 Moving video file from temp to final location
[27-Nov-2025 12:00:24 Europe/Berlin]   From: /tmp/php59W9hj
[27-Nov-2025 12:00:24 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69282f48d9b88_1764241224.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   Temp file exists: YES
[27-Nov-2025 12:00:24 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69282f48d9b88_1764241224.mp4
[27-Nov-2025 12:00:24 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[27-Nov-2025 12:00:24 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:00:24 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:00:24 Europe/Berlin]   title: Web development
[27-Nov-2025 12:00:24 Europe/Berlin]   description: welcome to web development
[27-Nov-2025 12:00:24 Europe/Berlin]   video_type: file
[27-Nov-2025 12:00:24 Europe/Berlin]   videoPathForDB: uploads/videos/video_69282f48d9b88_1764241224.mp4
[27-Nov-2025 12:00:24 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69282f48d9b88_1764241224.jpeg
[27-Nov-2025 12:00:24 Europe/Berlin]   is_published: 0
[27-Nov-2025 12:00:24 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 12:00:24 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 12:00:24 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 12:00:24 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 12:00:24 Europe/Berlin]   Generated video_id: 13
[27-Nov-2025 12:00:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:00:29 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:00:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:29 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:29 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:00:29 Europe/Berlin] Session role: not set
[27-Nov-2025 12:00:29 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:00:38 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:00:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:00:38 Europe/Berlin] Session role: not set
[27-Nov-2025 12:00:38 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:00:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:00:41 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:00:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:41 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:41 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:00:41 Europe/Berlin] Session role: not set
[27-Nov-2025 12:00:41 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:00:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:00:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:00:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:00:45 Europe/Berlin] Session role: not set
[27-Nov-2025 12:00:45 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:00:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:00:58 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:00:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:00:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:00:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:00:58 Europe/Berlin] Session role: not set
[27-Nov-2025 12:00:58 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:01:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:01:01 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:01:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:01:01 Europe/Berlin] Session role: not set
[27-Nov-2025 12:01:01 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:01:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:01:13 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:01:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:13 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:13 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:01:13 Europe/Berlin] Session role: not set
[27-Nov-2025 12:01:13 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:01:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:01:30 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:01:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:30 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:30 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:01:30 Europe/Berlin] Session role: not set
[27-Nov-2025 12:01:30 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:01:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:01:36 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:01:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:36 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:36 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:01:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:01:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:01:36 Europe/Berlin] Session role: not set
[27-Nov-2025 12:01:36 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:07:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:07:53 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:07:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:53 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:07:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:53 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:07:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:07:53 Europe/Berlin] Session role: not set
[27-Nov-2025 12:07:53 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:07:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:07:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:07:59 Europe/Berlin] Session role: not set
[27-Nov-2025 12:07:59 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 12:09:41 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [title] => Cyber dash
    [course_id] => 13
    [description] => cddc
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => download (16).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpudtVMw
            [error] => 0
            [size] => 12556
        )

    [video] => Array
        (
            [name] => dannygokey_7154418921423097131.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpzgD5ug
            [error] => 0
            [size] => 2998135
        )

)

[27-Nov-2025 12:09:41 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 12:09:41 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 12:09:41 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 12:09:41 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 12:09:41 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 12:09:41 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 12:09:41 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:09:41 Europe/Berlin]   video_url: 
[27-Nov-2025 12:09:41 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:09:41 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:09:41 Europe/Berlin]   embed_code: 
[27-Nov-2025 12:09:41 Europe/Berlin]   video_type: file
[27-Nov-2025 12:09:41 Europe/Berlin]   title: Cyber dash
[27-Nov-2025 12:09:41 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:09:41 Europe/Berlin]   description: cddc
[27-Nov-2025 12:09:41 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 12:09:41 Europe/Berlin]   is_published: 1
[27-Nov-2025 12:09:41 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 12:09:41 Europe/Berlin]   ajax: 1
[27-Nov-2025 12:09:41 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 12:09:41 Europe/Berlin]   thumbnail: download (16).jpeg (12556 bytes, error: 0)
[27-Nov-2025 12:09:41 Europe/Berlin]   video: dannygokey_7154418921423097131.mp4 (2998135 bytes, error: 0)
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 12:09:41 Europe/Berlin]   video_type: file
[27-Nov-2025 12:09:41 Europe/Berlin]   video_url: 
[27-Nov-2025 12:09:41 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:09:41 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:09:41 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 12:09:41 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 12:09:41 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 12:09:41 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 12:09:41 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 12:09:41 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 12:09:41 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 12:09:41 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:09:41 Europe/Berlin]   video_url: 
[27-Nov-2025 12:09:41 Europe/Berlin]   detected_platform: 
[27-Nov-2025 12:09:41 Europe/Berlin]   video_id_external: 
[27-Nov-2025 12:09:41 Europe/Berlin]   embed_code: 
[27-Nov-2025 12:09:41 Europe/Berlin]   video_type: file
[27-Nov-2025 12:09:41 Europe/Berlin]   title: Cyber dash
[27-Nov-2025 12:09:41 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:09:41 Europe/Berlin]   description: cddc
[27-Nov-2025 12:09:41 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 12:09:41 Europe/Berlin]   is_published: 1
[27-Nov-2025 12:09:41 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 12:09:41 Europe/Berlin]   ajax: 1
[27-Nov-2025 12:09:41 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 12:09:41 Europe/Berlin]   thumbnail: download (16).jpeg (12556 bytes, error: 0)
[27-Nov-2025 12:09:41 Europe/Berlin]   video: dannygokey_7154418921423097131.mp4 (2998135 bytes, error: 0)
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 12:09:41 Europe/Berlin]   video exists: YES
[27-Nov-2025 12:09:41 Europe/Berlin]   videoFile exists (old): NO
[27-Nov-2025 12:09:41 Europe/Berlin]   video name: dannygokey_7154418921423097131.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   video size: 2998135
[27-Nov-2025 12:09:41 Europe/Berlin]   video error: 0
[27-Nov-2025 12:09:41 Europe/Berlin]   video tmp_name: /tmp/phpzgD5ug
[27-Nov-2025 12:09:41 Europe/Berlin]   Error meaning: No error
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 12:09:41 Europe/Berlin]   video_type: file
[27-Nov-2025 12:09:41 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 12:09:41 Europe/Berlin]   $_FILES keys: thumbnail, video
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[27-Nov-2025 12:09:41 Europe/Berlin] 📂 Video file details:
[27-Nov-2025 12:09:41 Europe/Berlin]   name: dannygokey_7154418921423097131.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   type: video/mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   size: 2998135
[27-Nov-2025 12:09:41 Europe/Berlin]   error: 0
[27-Nov-2025 12:09:41 Europe/Berlin]   tmp_name: /tmp/phpzgD5ug
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 File type validation:
[27-Nov-2025 12:09:41 Europe/Berlin]   Detected type: video/mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[27-Nov-2025 12:09:41 Europe/Berlin] ✅ File type validation passed
[27-Nov-2025 12:09:41 Europe/Berlin] 📁 File paths:
[27-Nov-2025 12:09:41 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[27-Nov-2025 12:09:41 Europe/Berlin]   Video filename: video_692831757d6e2_1764241781.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_692831757d6e2_1764241781.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   Directory writable: YES
[27-Nov-2025 12:09:41 Europe/Berlin] 📸 Processing thumbnail upload
[27-Nov-2025 12:09:41 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_692831757d6e2_1764241781.jpeg
[27-Nov-2025 12:09:41 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_692831757d6e2_1764241781.jpeg
[27-Nov-2025 12:09:41 Europe/Berlin] 🎬 Moving video file from temp to final location
[27-Nov-2025 12:09:41 Europe/Berlin]   From: /tmp/phpzgD5ug
[27-Nov-2025 12:09:41 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_692831757d6e2_1764241781.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   Temp file exists: YES
[27-Nov-2025 12:09:41 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_692831757d6e2_1764241781.mp4
[27-Nov-2025 12:09:41 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[27-Nov-2025 12:09:41 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 12:09:41 Europe/Berlin]   course_id: 13
[27-Nov-2025 12:09:41 Europe/Berlin]   title: Cyber dash
[27-Nov-2025 12:09:41 Europe/Berlin]   description: cddc
[27-Nov-2025 12:09:41 Europe/Berlin]   video_type: file
[27-Nov-2025 12:09:41 Europe/Berlin]   videoPathForDB: uploads/videos/video_692831757d6e2_1764241781.mp4
[27-Nov-2025 12:09:41 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_692831757d6e2_1764241781.jpeg
[27-Nov-2025 12:09:41 Europe/Berlin]   is_published: 1
[27-Nov-2025 12:09:41 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 12:09:41 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 12:09:41 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 12:09:41 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 12:09:41 Europe/Berlin]   Generated video_id: 14
[27-Nov-2025 12:10:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 12:10:02 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 12:10:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:10:02 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:10:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:10:02 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 12:10:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-27 09:45:31
    [created_at] => 1764236760
    [last_regeneration] => 1764236760
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764236760
    [login_redirect_count] => 0
)

[27-Nov-2025 12:10:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 12:10:02 Europe/Berlin] Session role: not set
[27-Nov-2025 12:10:02 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:14:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:14:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 14:14:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
)

[27-Nov-2025 14:14:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
)

[27-Nov-2025 14:14:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
)

[27-Nov-2025 14:14:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:14:45 Europe/Berlin] Session role: not set
[27-Nov-2025 14:14:45 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 13:14:47 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 13:14:47 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 13:14:47 UTC] Found 5 videos for teacher 14
[27-Nov-2025 14:14:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:14:51 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[27-Nov-2025 14:14:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:14:51 Europe/Berlin] Session role: not set
[27-Nov-2025 14:14:51 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 13:14:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 14:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:14:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 14:14:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:55 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:55 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:14:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:14:55 Europe/Berlin] Session role: not set
[27-Nov-2025 14:14:55 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:23:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:23:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 14:23:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:23:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:23:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:23:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:23:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764249285
    [last_regeneration] => 1764249285
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764249285
    [session_started_at] => 2025-11-27 14:14:45
    [login_redirect_count] => 0
)

[27-Nov-2025 14:23:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:23:08 Europe/Berlin] Session role: not set
[27-Nov-2025 14:23:08 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:47:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:47:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 14:47:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
)

[27-Nov-2025 14:47:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:47:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
)

[27-Nov-2025 14:47:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:47:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
)

[27-Nov-2025 14:47:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:47:58 Europe/Berlin] Session role: not set
[27-Nov-2025 14:47:58 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 13:47:58 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 13:47:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 13:47:58 UTC] Found 5 videos for teacher 14
[27-Nov-2025 14:48:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:48:02 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 14:48:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:48:02 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:48:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:48:02 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:48:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:48:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:48:02 Europe/Berlin] Session role: not set
[27-Nov-2025 14:48:02 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:52:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:52:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 14:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:52:38 Europe/Berlin] Session role: not set
[27-Nov-2025 14:52:38 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:52:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 14:52:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 14:52:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:43 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:52:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:43 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 14:52:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 14:52:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 14:52:43 Europe/Berlin] Session role: not set
[27-Nov-2025 14:52:43 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:08:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:08:33 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 15:08:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:08:33 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:08:33 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:08:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:08:33 Europe/Berlin] Session role: not set
[27-Nov-2025 15:08:33 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 15:09:32 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/eow125xV5-c?si=O0Rrv1yWvzX3k136
    [detected_platform] => youtube
    [video_id_external] => eow125xV5-c
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/eow125xV5-c?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [title] => Learn Bootstrap in less than 20 minutes - Responsive Website Tutorial
    [course_id] => 13
    [description] => xss
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[27-Nov-2025 15:09:32 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 15:09:32 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 15:09:32 Europe/Berlin] 📥 POST DATA SIZE: 14 fields
[27-Nov-2025 15:09:32 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 15:09:32 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 15:09:32 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 15:09:32 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 15:09:32 Europe/Berlin]   video_url: https://youtu.be/eow125xV5-c?si=O0Rrv1yWvzX3k136
[27-Nov-2025 15:09:32 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 15:09:32 Europe/Berlin]   video_id_external: eow125xV5-c
[27-Nov-2025 15:09:32 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/eow125xV5-c?rel=0&showinfo=0&mo...
[27-Nov-2025 15:09:32 Europe/Berlin]   video_type: url
[27-Nov-2025 15:09:32 Europe/Berlin]   title: Learn Bootstrap in less than 20 minutes - Responsive Website Tutorial
[27-Nov-2025 15:09:32 Europe/Berlin]   course_id: 13
[27-Nov-2025 15:09:32 Europe/Berlin]   description: xss
[27-Nov-2025 15:09:32 Europe/Berlin]   category_name: Cyber Security
[27-Nov-2025 15:09:32 Europe/Berlin]   is_published: 1
[27-Nov-2025 15:09:32 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 15:09:32 Europe/Berlin]   ajax: 1
[27-Nov-2025 15:09:32 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 15:09:32 Europe/Berlin]   video:  (0 bytes, error: 4)
[27-Nov-2025 15:09:32 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 15:09:32 Europe/Berlin]   video_type: url
[27-Nov-2025 15:09:32 Europe/Berlin]   video_url: https://youtu.be/eow125xV5-c?si=O0Rrv1yWvzX3k136
[27-Nov-2025 15:09:32 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 15:09:32 Europe/Berlin]   video_id_external: eow125xV5-c
[27-Nov-2025 15:09:32 Europe/Berlin]   embed_code: HAS_VALUE
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 15:09:32 Europe/Berlin]   video_type: url
[27-Nov-2025 15:09:32 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 15:09:32 Europe/Berlin]   $_FILES keys: video, thumbnail
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[27-Nov-2025 15:09:32 Europe/Berlin]   platform: youtube
[27-Nov-2025 15:09:32 Europe/Berlin]   video_id_ext: eow125xV5-c
[27-Nov-2025 15:09:32 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/eow125xV5-c/maxresdefault.jpg
[27-Nov-2025 15:09:32 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[27-Nov-2025 15:09:32 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 15:09:32 Europe/Berlin]   course_id: 13
[27-Nov-2025 15:09:32 Europe/Berlin]   title: Learn Bootstrap in less than 20 minutes - Responsive Website Tutorial
[27-Nov-2025 15:09:32 Europe/Berlin]   description: xss
[27-Nov-2025 15:09:32 Europe/Berlin]   video_type: url
[27-Nov-2025 15:09:32 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/eow125xV5-c/maxresdefault.jpg
[27-Nov-2025 15:09:32 Europe/Berlin]   external_url: https://youtu.be/eow125xV5-c?si=O0Rrv1yWvzX3k136
[27-Nov-2025 15:09:32 Europe/Berlin]   platform: youtube
[27-Nov-2025 15:09:32 Europe/Berlin]   video_id_ext: eow125xV5-c
[27-Nov-2025 15:09:32 Europe/Berlin]   is_published: 1
[27-Nov-2025 15:09:32 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 15:09:32 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 15:09:32 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 15:09:32 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 15:09:32 Europe/Berlin]   Generated video_id: 15
[27-Nov-2025 15:10:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:10:06 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 15:10:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:06 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:10:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:06 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:10:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:10:06 Europe/Berlin] Session role: not set
[27-Nov-2025 15:10:06 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:10:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:10:40 Europe/Berlin] Teacher Auth Check - Script: courses.php
[27-Nov-2025 15:10:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:40 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:10:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:40 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:10:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:10:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:10:40 Europe/Berlin] Session role: not set
[27-Nov-2025 15:10:40 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:10:40 UTC] DB Connection Status: Connected
[27-Nov-2025 14:10:40 UTC] User with ID 14 found
[27-Nov-2025 14:10:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 15:11:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:11:17 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[27-Nov-2025 15:11:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:17 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:17 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:11:17 Europe/Berlin] Session role: not set
[27-Nov-2025 15:11:17 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 452
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 8: Undefined index: upload_date in /home/twpurnyc/public_html/teacher/view-course.php on line 569
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:17 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:17 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 15:11:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:11:34 Europe/Berlin] Teacher Auth Check - Script: courses.php
[27-Nov-2025 15:11:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:34 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:34 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:11:34 Europe/Berlin] Session role: not set
[27-Nov-2025 15:11:34 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:11:34 UTC] DB Connection Status: Connected
[27-Nov-2025 14:11:34 UTC] User with ID 14 found
[27-Nov-2025 14:11:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 15:11:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:11:38 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[27-Nov-2025 15:11:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:38 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:11:38 Europe/Berlin] Session role: not set
[27-Nov-2025 15:11:38 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:11:38 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:38 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:38 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:38 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:38 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:38 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 14:11:38 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[27-Nov-2025 14:11:38 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[27-Nov-2025 15:11:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:11:51 Europe/Berlin] Teacher Auth Check - Script: courses.php
[27-Nov-2025 15:11:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:11:51 Europe/Berlin] Session role: not set
[27-Nov-2025 15:11:51 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:11:51 UTC] DB Connection Status: Connected
[27-Nov-2025 14:11:51 UTC] User with ID 14 found
[27-Nov-2025 14:11:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 15:11:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:11:58 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[27-Nov-2025 15:11:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:58 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:11:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:11:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:11:58 Europe/Berlin] Session role: not set
[27-Nov-2025 15:11:58 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:11:58 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 15:12:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:12:05 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[27-Nov-2025 15:12:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:12:05 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:12:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:12:05 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:12:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:12:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:12:05 Europe/Berlin] Session role: not set
[27-Nov-2025 15:12:05 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:12:05 UTC] Analytics: Looking for courses for teacher ID: 14
[27-Nov-2025 14:12:05 UTC] Analytics: No courses found for teacher 14
[27-Nov-2025 14:12:05 UTC] Analytics: Teacher has 1 total courses in database
[27-Nov-2025 14:12:05 UTC] Analytics: Final top_courses count: 0
[27-Nov-2025 14:12:05 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[27-Nov-2025 14:12:05 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[27-Nov-2025 15:14:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:14:09 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[27-Nov-2025 15:14:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:14:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:14:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:14:09 Europe/Berlin] Session role: not set
[27-Nov-2025 15:14:09 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:14:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:14:40 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[27-Nov-2025 15:14:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:40 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:14:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:40 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:14:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:14:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:14:40 Europe/Berlin] Session role: not set
[27-Nov-2025 15:14:40 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:15:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:15:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 15:15:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:15:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:15:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:15:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:15:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764251278
    [last_regeneration] => 1764251278
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764251278
    [session_started_at] => 2025-11-27 14:47:58
    [login_redirect_count] => 0
)

[27-Nov-2025 15:15:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:15:09 Europe/Berlin] Session role: not set
[27-Nov-2025 15:15:09 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:15:12 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 14:15:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 14:15:12 UTC] Found 5 videos for teacher 14
[27-Nov-2025 15:30:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:30:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 15:30:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
)

[27-Nov-2025 15:30:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
)

[27-Nov-2025 15:30:09 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
)

[27-Nov-2025 15:30:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:30:09 Europe/Berlin] Session role: not set
[27-Nov-2025 15:30:09 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:30:11 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 14:30:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 14:30:11 UTC] Found 5 videos for teacher 14
[27-Nov-2025 15:30:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:30:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[27-Nov-2025 15:30:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:14 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:14 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:30:14 Europe/Berlin] Session role: not set
[27-Nov-2025 15:30:14 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 14:30:14 UTC] DB Connection Status: Connected
[27-Nov-2025 14:30:14 UTC] User with ID 14 found
[27-Nov-2025 14:30:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[27-Nov-2025 15:30:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:30:19 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 15:30:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:19 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:19 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:30:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:30:19 Europe/Berlin] Session role: not set
[27-Nov-2025 15:30:19 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:42:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 15:42:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:42:00 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:42:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:42:00 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:42:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:42:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:42:00 Europe/Berlin] Session role: not set
[27-Nov-2025 15:42:00 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 15:49:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 15:49:53 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 15:49:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:49:53 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:49:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:49:53 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 15:49:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 15:49:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 15:49:53 Europe/Berlin] Session role: not set
[27-Nov-2025 15:49:53 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:07:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:07:30 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:07:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:07:30 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:07:30 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:07:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:07:30 Europe/Berlin] Session role: not set
[27-Nov-2025 16:07:30 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:08:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:08:29 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:08:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:08:29 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:08:29 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:08:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:08:29 Europe/Berlin] Session role: not set
[27-Nov-2025 16:08:29 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:18:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:18:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:18:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:18:27 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:18:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:18:27 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:18:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:18:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:18:27 Europe/Berlin] Session role: not set
[27-Nov-2025 16:18:27 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:21:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:21:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:21:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:21:32 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:21:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:21:32 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:21:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:21:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:21:32 Europe/Berlin] Session role: not set
[27-Nov-2025 16:21:32 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:30:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:30:19 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:30:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:30:19 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:30:19 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:30:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:30:19 Europe/Berlin] Session role: not set
[27-Nov-2025 16:30:19 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:40:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:40:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:40:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:40:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:40:08 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:40:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:40:08 Europe/Berlin] Session role: not set
[27-Nov-2025 16:40:08 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:46:44 Europe/Berlin] Session role: not set
[27-Nov-2025 16:46:44 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:48:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:48:16 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:48:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:16 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:16 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:48:16 Europe/Berlin] Session role: not set
[27-Nov-2025 16:48:16 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:48:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:48:39 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:48:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:39 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:48:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:39 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:48:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:48:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:48:39 Europe/Berlin] Session role: not set
[27-Nov-2025 16:48:39 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:54:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:54:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:54:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:54:27 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:54:27 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:54:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:54:27 Europe/Berlin] Session role: not set
[27-Nov-2025 16:54:27 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 16:55:07 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
    [detected_platform] => youtube
    [video_id_external] => lNcuSXFrngU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [manual_duration] => 6:14
    [title] => The Story of BootStrap
    [course_id] => 13
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[27-Nov-2025 16:55:07 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 16:55:07 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 16:55:07 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[27-Nov-2025 16:55:07 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 16:55:07 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 16:55:07 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 16:55:07 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 16:55:07 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:55:07 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 16:55:07 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 16:55:07 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&mo...
[27-Nov-2025 16:55:07 Europe/Berlin]   video_type: url
[27-Nov-2025 16:55:07 Europe/Berlin]   manual_duration: 6:14
[27-Nov-2025 16:55:07 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 16:55:07 Europe/Berlin]   course_id: 13
[27-Nov-2025 16:55:07 Europe/Berlin]   description: welcome
[27-Nov-2025 16:55:07 Europe/Berlin]   category_name: Data Science
[27-Nov-2025 16:55:07 Europe/Berlin]   is_published: 1
[27-Nov-2025 16:55:07 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 16:55:07 Europe/Berlin]   ajax: 1
[27-Nov-2025 16:55:07 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 16:55:07 Europe/Berlin]   video:  (0 bytes, error: 4)
[27-Nov-2025 16:55:07 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 16:55:07 Europe/Berlin]   video_type: url
[27-Nov-2025 16:55:07 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:55:07 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 16:55:07 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 16:55:07 Europe/Berlin]   embed_code: HAS_VALUE
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 16:55:07 Europe/Berlin]   video_type: url
[27-Nov-2025 16:55:07 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 16:55:07 Europe/Berlin]   $_FILES keys: video, thumbnail
[27-Nov-2025 16:55:07 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[27-Nov-2025 16:55:07 Europe/Berlin]   platform: youtube
[27-Nov-2025 16:55:07 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 16:55:07 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 16:55:07 Europe/Berlin] 🎬 DETECTING YOUTUBE VIDEO DURATION for video ID: lNcuSXFrngU
[27-Nov-2025 16:55:07 Europe/Berlin] ⚠️ YouTube API failed, trying fallback method
[27-Nov-2025 16:55:07 Europe/Berlin]   📊 YouTube duration detected: NULL
[27-Nov-2025 16:55:10 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[27-Nov-2025 16:55:10 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 16:55:10 Europe/Berlin]   course_id: 13
[27-Nov-2025 16:55:10 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 16:55:10 Europe/Berlin]   description: welcome
[27-Nov-2025 16:55:10 Europe/Berlin]   video_type: url
[27-Nov-2025 16:55:10 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 16:55:10 Europe/Berlin]   external_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:55:10 Europe/Berlin]   platform: youtube
[27-Nov-2025 16:55:10 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 16:55:10 Europe/Berlin]   is_published: 1
[27-Nov-2025 16:55:10 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 16:55:10 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 16:55:10 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 16:55:10 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[27-Nov-2025 16:55:10 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[27-Nov-2025 16:55:10 Europe/Berlin]   Error Number: 2031
[27-Nov-2025 16:55:10 Europe/Berlin]   SQL: 
                INSERT INTO videos (
                    teacher_id, course_id, title, description, video_type, thumbnail,
                    external_url, platform, video_id_external, duration, is_published, created_at
                ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
            
[27-Nov-2025 16:57:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 16:57:42 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 16:57:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:57:42 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:57:42 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 16:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 16:57:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 16:57:42 Europe/Berlin] Session role: not set
[27-Nov-2025 16:57:42 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 16:58:51 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
    [detected_platform] => youtube
    [video_id_external] => lNcuSXFrngU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [manual_duration] => 6:14
    [title] => The Story of BootStrap
    [course_id] => 13
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[27-Nov-2025 16:58:51 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 16:58:51 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 16:58:51 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[27-Nov-2025 16:58:51 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 16:58:51 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 16:58:51 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 16:58:51 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 16:58:51 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:58:51 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 16:58:51 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 16:58:51 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&mo...
[27-Nov-2025 16:58:51 Europe/Berlin]   video_type: url
[27-Nov-2025 16:58:51 Europe/Berlin]   manual_duration: 6:14
[27-Nov-2025 16:58:51 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 16:58:51 Europe/Berlin]   course_id: 13
[27-Nov-2025 16:58:51 Europe/Berlin]   description: welcome
[27-Nov-2025 16:58:51 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 16:58:51 Europe/Berlin]   is_published: 1
[27-Nov-2025 16:58:51 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 16:58:51 Europe/Berlin]   ajax: 1
[27-Nov-2025 16:58:51 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 16:58:51 Europe/Berlin]   video:  (0 bytes, error: 4)
[27-Nov-2025 16:58:51 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 16:58:51 Europe/Berlin]   video_type: url
[27-Nov-2025 16:58:51 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:58:51 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 16:58:51 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 16:58:51 Europe/Berlin]   embed_code: HAS_VALUE
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 16:58:51 Europe/Berlin]   video_type: url
[27-Nov-2025 16:58:51 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 16:58:51 Europe/Berlin]   $_FILES keys: video, thumbnail
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[27-Nov-2025 16:58:51 Europe/Berlin]   platform: youtube
[27-Nov-2025 16:58:51 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 16:58:51 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 16:58:51 Europe/Berlin] ✅ Using teacher-validated duration (PRIORITY): 6:14
[27-Nov-2025 16:58:51 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[27-Nov-2025 16:58:51 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 16:58:51 Europe/Berlin]   course_id: 13
[27-Nov-2025 16:58:51 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 16:58:51 Europe/Berlin]   description: welcome
[27-Nov-2025 16:58:51 Europe/Berlin]   video_type: url
[27-Nov-2025 16:58:51 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 16:58:51 Europe/Berlin]   external_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 16:58:51 Europe/Berlin]   platform: youtube
[27-Nov-2025 16:58:51 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 16:58:51 Europe/Berlin]   is_published: 1
[27-Nov-2025 16:58:51 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 16:58:51 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 16:58:51 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 16:58:51 Europe/Berlin] 🚨 SQL EXECUTION FAILED:
[27-Nov-2025 16:58:51 Europe/Berlin]   Error: No data supplied for parameters in prepared statement
[27-Nov-2025 16:58:51 Europe/Berlin]   Error Number: 2031
[27-Nov-2025 16:58:51 Europe/Berlin]   SQL: 
                INSERT INTO videos (
                    teacher_id, course_id, title, description, video_type, thumbnail,
                    external_url, platform, video_id_external, duration, is_published, created_at
                ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, NOW())
            
[27-Nov-2025 17:02:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:02:03 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:02:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:02:03 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:02:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:02:03 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:02:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:02:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:02:03 Europe/Berlin] Session role: not set
[27-Nov-2025 17:02:03 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 17:02:53 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
    [detected_platform] => youtube
    [video_id_external] => lNcuSXFrngU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [manual_duration] => 6:14
    [title] => The Story of BootStrap
    [course_id] => 13
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[27-Nov-2025 17:02:53 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 17:02:53 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 17:02:53 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[27-Nov-2025 17:02:53 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 17:02:53 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 17:02:53 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 17:02:53 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 17:02:53 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 17:02:53 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 17:02:53 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 17:02:53 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/lNcuSXFrngU?rel=0&showinfo=0&mo...
[27-Nov-2025 17:02:53 Europe/Berlin]   video_type: url
[27-Nov-2025 17:02:53 Europe/Berlin]   manual_duration: 6:14
[27-Nov-2025 17:02:53 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 17:02:53 Europe/Berlin]   course_id: 13
[27-Nov-2025 17:02:53 Europe/Berlin]   description: welcome
[27-Nov-2025 17:02:53 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 17:02:53 Europe/Berlin]   is_published: 1
[27-Nov-2025 17:02:53 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 17:02:53 Europe/Berlin]   ajax: 1
[27-Nov-2025 17:02:53 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 17:02:53 Europe/Berlin]   video:  (0 bytes, error: 4)
[27-Nov-2025 17:02:53 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 17:02:53 Europe/Berlin]   video_type: url
[27-Nov-2025 17:02:53 Europe/Berlin]   video_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 17:02:53 Europe/Berlin]   detected_platform: youtube
[27-Nov-2025 17:02:53 Europe/Berlin]   video_id_external: lNcuSXFrngU
[27-Nov-2025 17:02:53 Europe/Berlin]   embed_code: HAS_VALUE
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 17:02:53 Europe/Berlin]   video_type: url
[27-Nov-2025 17:02:53 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 17:02:53 Europe/Berlin]   $_FILES keys: video, thumbnail
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[27-Nov-2025 17:02:53 Europe/Berlin]   platform: youtube
[27-Nov-2025 17:02:53 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 17:02:53 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 17:02:53 Europe/Berlin] ✅ Using teacher-validated duration (PRIORITY): 6:14
[27-Nov-2025 17:02:53 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[27-Nov-2025 17:02:53 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 17:02:53 Europe/Berlin]   course_id: 13
[27-Nov-2025 17:02:53 Europe/Berlin]   title: The Story of BootStrap
[27-Nov-2025 17:02:53 Europe/Berlin]   description: welcome
[27-Nov-2025 17:02:53 Europe/Berlin]   video_type: url
[27-Nov-2025 17:02:53 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/lNcuSXFrngU/maxresdefault.jpg
[27-Nov-2025 17:02:53 Europe/Berlin]   external_url: https://youtu.be/lNcuSXFrngU?si=McqoWCSJJKGWfCX9
[27-Nov-2025 17:02:53 Europe/Berlin]   platform: youtube
[27-Nov-2025 17:02:53 Europe/Berlin]   video_id_ext: lNcuSXFrngU
[27-Nov-2025 17:02:53 Europe/Berlin]   duration: 6:14
[27-Nov-2025 17:02:53 Europe/Berlin]   is_published: 1
[27-Nov-2025 17:02:53 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 17:02:53 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 17:02:53 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 17:02:53 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 17:02:53 Europe/Berlin]   Generated video_id: 16
[27-Nov-2025 17:03:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:03:01 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 17:03:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:03:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:03:01 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1764253808
    [last_regeneration] => 1764253808
    [session_started_at] => 2025-11-27 14:23:37
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764253808
    [login_redirect_count] => 0
)

[27-Nov-2025 17:03:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:03:01 Europe/Berlin] Session role: not set
[27-Nov-2025 17:03:01 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:08:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:08:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Nov-2025 17:08:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
)

[27-Nov-2025 17:08:06 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
)

[27-Nov-2025 17:08:06 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
)

[27-Nov-2025 17:08:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:08:06 Europe/Berlin] Session role: not set
[27-Nov-2025 17:08:06 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 16:08:06 UTC] Fetching videos for teacher_id: 14
[27-Nov-2025 16:08:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Nov-2025 16:08:06 UTC] Found 5 videos for teacher 14
[27-Nov-2025 17:08:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:08:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:08:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:08:23 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:08:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:08:23 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:08:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:08:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:08:23 Europe/Berlin] Session role: not set
[27-Nov-2025 17:08:23 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:14:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:14:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:14:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:31 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:14:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:31 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:14:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:14:31 Europe/Berlin] Session role: not set
[27-Nov-2025 17:14:31 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:14:49 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:14:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:49 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:49 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:14:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:14:49 Europe/Berlin] Session role: not set
[27-Nov-2025 17:14:49 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 USER ID: NOT SET
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 USER ROLE: NOT SET
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 SESSION STATUS: 1
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 SESSION ID: 
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[27-Nov-2025 17:15:36 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [video_type] => file
    [manual_duration] => 
    [title] => Web description
    [course_id] => 13
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => images (5).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpBG3nOg
            [error] => 0
            [size] => 12187
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpnP4yOy
            [error] => 0
            [size] => 5847406
        )

)

[27-Nov-2025 17:15:36 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 17:15:36 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 17:15:36 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[27-Nov-2025 17:15:36 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 17:15:36 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 17:15:36 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 17:15:36 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 17:15:36 Europe/Berlin]   video_url: 
[27-Nov-2025 17:15:36 Europe/Berlin]   detected_platform: 
[27-Nov-2025 17:15:36 Europe/Berlin]   video_id_external: 
[27-Nov-2025 17:15:36 Europe/Berlin]   embed_code: 
[27-Nov-2025 17:15:36 Europe/Berlin]   video_type: file
[27-Nov-2025 17:15:36 Europe/Berlin]   manual_duration: 
[27-Nov-2025 17:15:36 Europe/Berlin]   title: Web description
[27-Nov-2025 17:15:36 Europe/Berlin]   course_id: 13
[27-Nov-2025 17:15:36 Europe/Berlin]   description: welcome
[27-Nov-2025 17:15:36 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 17:15:36 Europe/Berlin]   is_published: 1
[27-Nov-2025 17:15:36 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 17:15:36 Europe/Berlin]   ajax: 1
[27-Nov-2025 17:15:36 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 17:15:36 Europe/Berlin]   thumbnail: images (5).jpeg (12187 bytes, error: 0)
[27-Nov-2025 17:15:36 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[27-Nov-2025 17:15:36 Europe/Berlin]   video_type: file
[27-Nov-2025 17:15:36 Europe/Berlin]   video_url: 
[27-Nov-2025 17:15:36 Europe/Berlin]   detected_platform: 
[27-Nov-2025 17:15:36 Europe/Berlin]   video_id_external: 
[27-Nov-2025 17:15:36 Europe/Berlin]   embed_code: EMPTY
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[27-Nov-2025 17:15:36 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[27-Nov-2025 17:15:36 Europe/Berlin] 📥 REQUEST METHOD: POST
[27-Nov-2025 17:15:36 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[27-Nov-2025 17:15:36 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[27-Nov-2025 17:15:36 Europe/Berlin] 📋 ALL POST DATA:
[27-Nov-2025 17:15:36 Europe/Berlin]   form_type: video_upload
[27-Nov-2025 17:15:36 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 17:15:36 Europe/Berlin]   video_url: 
[27-Nov-2025 17:15:36 Europe/Berlin]   detected_platform: 
[27-Nov-2025 17:15:36 Europe/Berlin]   video_id_external: 
[27-Nov-2025 17:15:36 Europe/Berlin]   embed_code: 
[27-Nov-2025 17:15:36 Europe/Berlin]   video_type: file
[27-Nov-2025 17:15:36 Europe/Berlin]   manual_duration: 
[27-Nov-2025 17:15:36 Europe/Berlin]   title: Web description
[27-Nov-2025 17:15:36 Europe/Berlin]   course_id: 13
[27-Nov-2025 17:15:36 Europe/Berlin]   description: welcome
[27-Nov-2025 17:15:36 Europe/Berlin]   category_name: Learning and Development
[27-Nov-2025 17:15:36 Europe/Berlin]   is_published: 1
[27-Nov-2025 17:15:36 Europe/Berlin]   content_types: [quiz]
[27-Nov-2025 17:15:36 Europe/Berlin]   ajax: 1
[27-Nov-2025 17:15:36 Europe/Berlin] 📂 ALL FILES DATA:
[27-Nov-2025 17:15:36 Europe/Berlin]   thumbnail: images (5).jpeg (12187 bytes, error: 0)
[27-Nov-2025 17:15:36 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[27-Nov-2025 17:15:36 Europe/Berlin]   video exists: YES
[27-Nov-2025 17:15:36 Europe/Berlin]   videoFile exists (old): NO
[27-Nov-2025 17:15:36 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   video size: 5847406
[27-Nov-2025 17:15:36 Europe/Berlin]   video error: 0
[27-Nov-2025 17:15:36 Europe/Berlin]   video tmp_name: /tmp/phpnP4yOy
[27-Nov-2025 17:15:36 Europe/Berlin]   Error meaning: No error
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[27-Nov-2025 17:15:36 Europe/Berlin]   video_type: file
[27-Nov-2025 17:15:36 Europe/Berlin]   $_FILES available: YES
[27-Nov-2025 17:15:36 Europe/Berlin]   $_FILES keys: thumbnail, video
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[27-Nov-2025 17:15:36 Europe/Berlin] 📂 Video file details:
[27-Nov-2025 17:15:36 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   type: video/mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   size: 5847406
[27-Nov-2025 17:15:36 Europe/Berlin]   error: 0
[27-Nov-2025 17:15:36 Europe/Berlin]   tmp_name: /tmp/phpnP4yOy
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 File type validation:
[27-Nov-2025 17:15:36 Europe/Berlin]   Detected type: video/mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[27-Nov-2025 17:15:36 Europe/Berlin] ✅ File type validation passed
[27-Nov-2025 17:15:36 Europe/Berlin] 📁 File paths:
[27-Nov-2025 17:15:36 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[27-Nov-2025 17:15:36 Europe/Berlin]   Video filename: video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   Directory writable: YES
[27-Nov-2025 17:15:36 Europe/Berlin] 📸 Processing thumbnail upload
[27-Nov-2025 17:15:36 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69287928e7eed_1764260136.jpeg
[27-Nov-2025 17:15:36 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69287928e7eed_1764260136.jpeg
[27-Nov-2025 17:15:36 Europe/Berlin] 🎬 Moving video file from temp to final location
[27-Nov-2025 17:15:36 Europe/Berlin]   From: /tmp/phpnP4yOy
[27-Nov-2025 17:15:36 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   Temp file exists: YES
[27-Nov-2025 17:15:36 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[27-Nov-2025 17:15:36 Europe/Berlin]   📊 Detected duration: NULL
[27-Nov-2025 17:15:36 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[27-Nov-2025 17:15:36 Europe/Berlin]   teacher_id: 14
[27-Nov-2025 17:15:36 Europe/Berlin]   course_id: 13
[27-Nov-2025 17:15:36 Europe/Berlin]   title: Web description
[27-Nov-2025 17:15:36 Europe/Berlin]   description: welcome
[27-Nov-2025 17:15:36 Europe/Berlin]   video_type: file
[27-Nov-2025 17:15:36 Europe/Berlin]   videoPathForDB: uploads/videos/video_69287928e7eed_1764260136.mp4
[27-Nov-2025 17:15:36 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69287928e7eed_1764260136.jpeg
[27-Nov-2025 17:15:36 Europe/Berlin]   is_published: 1
[27-Nov-2025 17:15:36 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[27-Nov-2025 17:15:36 Europe/Berlin]   SQL prepared successfully
[27-Nov-2025 17:15:36 Europe/Berlin]   About to execute with bound parameters
[27-Nov-2025 17:15:36 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[27-Nov-2025 17:15:36 Europe/Berlin]   Generated video_id: 17
[27-Nov-2025 17:15:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:15:46 Europe/Berlin] Teacher Auth Check - Script: videos.php
[27-Nov-2025 17:15:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:46 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:15:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:46 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:15:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:15:46 Europe/Berlin] Session role: not set
[27-Nov-2025 17:15:46 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:15:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:15:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:15:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:15:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:15:51 Europe/Berlin] Session role: not set
[27-Nov-2025 17:15:51 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:30:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:30:57 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:30:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:30:57 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:30:57 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:30:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:30:57 Europe/Berlin] Session role: not set
[27-Nov-2025 17:30:57 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:42:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:42:50 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:42:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:42:50 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:42:50 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:42:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:42:50 Europe/Berlin] Session role: not set
[27-Nov-2025 17:42:50 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:49:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:49:51 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:49:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:49:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:49:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:49:51 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:49:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:49:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:49:51 Europe/Berlin] Session role: not set
[27-Nov-2025 17:49:51 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 17:57:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 17:57:47 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 17:57:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:57:47 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:57:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:57:47 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 17:57:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 17:57:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 17:57:47 Europe/Berlin] Session role: not set
[27-Nov-2025 17:57:47 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 18:00:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 18:00:10 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 18:00:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:00:10 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:00:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:00:10 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:00:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:00:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 18:00:10 Europe/Berlin] Session role: not set
[27-Nov-2025 18:00:10 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 18:06:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 18:06:45 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 18:06:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:06:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:06:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:06:45 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:06:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:06:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 18:06:45 Europe/Berlin] Session role: not set
[27-Nov-2025 18:06:45 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 18:10:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 18:10:13 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 18:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:10:13 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:10:13 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 18:10:13 Europe/Berlin] Session role: not set
[27-Nov-2025 18:10:13 Europe/Berlin] Session user_role: teacher
[27-Nov-2025 18:13:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Nov-2025 18:13:57 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[27-Nov-2025 18:13:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:13:57 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:13:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:13:57 Europe/Berlin] isLoggedIn check result: true
[27-Nov-2025 18:13:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1764259685
    [last_regeneration] => 1764259685
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764259685
    [session_started_at] => 2025-11-27 17:08:06
    [login_redirect_count] => 0
)

[27-Nov-2025 18:13:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Nov-2025 18:13:57 Europe/Berlin] Session role: not set
[27-Nov-2025 18:13:57 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 02:57:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 02:57:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 02:57:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 02:57:34
)

[28-Nov-2025 02:57:34 Europe/Berlin] isLoggedIn check result: false
[28-Nov-2025 02:57:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 02:57:34
)

[28-Nov-2025 11:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
)

[28-Nov-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
)

[28-Nov-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
)

[28-Nov-2025 11:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 11:04:48 Europe/Berlin] Session role: not set
[28-Nov-2025 11:04:48 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 10:04:48 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 10:04:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 10:04:48 UTC] Found 5 videos for teacher 14
[28-Nov-2025 11:05:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 11:05:07 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 11:05:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:05:07 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:05:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:05:07 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:05:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:05:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 11:05:07 Europe/Berlin] Session role: not set
[28-Nov-2025 11:05:07 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 11:34:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 11:34:30 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 11:34:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:34:30 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:34:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:34:30 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:34:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:34:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 11:34:30 Europe/Berlin] Session role: not set
[28-Nov-2025 11:34:30 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 11:45:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 11:45:24 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 11:45:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:45:24 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:45:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:45:24 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:45:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:45:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 11:45:24 Europe/Berlin] Session role: not set
[28-Nov-2025 11:45:24 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 11:55:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 11:55:42 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 11:55:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:55:42 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:55:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:55:42 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 11:55:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 11:55:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 11:55:42 Europe/Berlin] Session role: not set
[28-Nov-2025 11:55:42 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:00:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:00:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:00:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:00:06 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:00:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:00:06 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:00:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:00:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:00:06 Europe/Berlin] Session role: not set
[28-Nov-2025 12:00:06 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:05:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:05:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:05:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:00 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:05:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:00 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:05:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:05:00 Europe/Berlin] Session role: not set
[28-Nov-2025 12:05:00 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:05:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:05:14 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:05:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:14 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:05:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:14 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:05:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:05:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:05:14 Europe/Berlin] Session role: not set
[28-Nov-2025 12:05:14 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:10:37 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:10:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:10:37 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:10:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:10:37 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:10:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:10:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:10:37 Europe/Berlin] Session role: not set
[28-Nov-2025 12:10:37 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 12:33:28 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/Jyvffr3aCp0?si=I9b0G4FGj571Nsxn
    [detected_platform] => youtube
    [video_id_external] => Jyvffr3aCp0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/Jyvffr3aCp0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [video_type] => url
    [manual_duration] => 
    [title] => Bootstrap 5 Crash Course real time video
    [course_id] => 13
    [description] => welcome to us we are not
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 12:33:28 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 12:33:28 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 12:33:28 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[28-Nov-2025 12:33:28 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 12:33:28 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 12:33:28 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 12:33:28 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 12:33:28 Europe/Berlin]   video_url: https://youtu.be/Jyvffr3aCp0?si=I9b0G4FGj571Nsxn
[28-Nov-2025 12:33:28 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 12:33:28 Europe/Berlin]   video_id_external: Jyvffr3aCp0
[28-Nov-2025 12:33:28 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/Jyvffr3aCp0?rel=0&showinfo=0&mo...
[28-Nov-2025 12:33:28 Europe/Berlin]   video_type: url
[28-Nov-2025 12:33:28 Europe/Berlin]   manual_duration: 
[28-Nov-2025 12:33:28 Europe/Berlin]   title: Bootstrap 5 Crash Course real time video
[28-Nov-2025 12:33:28 Europe/Berlin]   course_id: 13
[28-Nov-2025 12:33:28 Europe/Berlin]   description: welcome to us we are not
[28-Nov-2025 12:33:28 Europe/Berlin]   category_name: Learning and Development
[28-Nov-2025 12:33:28 Europe/Berlin]   is_published: 1
[28-Nov-2025 12:33:28 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 12:33:28 Europe/Berlin]   ajax: 1
[28-Nov-2025 12:33:28 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 12:33:28 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 12:33:28 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 12:33:28 Europe/Berlin]   video_type: url
[28-Nov-2025 12:33:28 Europe/Berlin]   video_url: https://youtu.be/Jyvffr3aCp0?si=I9b0G4FGj571Nsxn
[28-Nov-2025 12:33:28 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 12:33:28 Europe/Berlin]   video_id_external: Jyvffr3aCp0
[28-Nov-2025 12:33:28 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 12:33:28 Europe/Berlin]   video_type: url
[28-Nov-2025 12:33:28 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 12:33:28 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 12:33:28 Europe/Berlin]   platform: youtube
[28-Nov-2025 12:33:28 Europe/Berlin]   video_id_ext: Jyvffr3aCp0
[28-Nov-2025 12:33:28 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/Jyvffr3aCp0/maxresdefault.jpg
[28-Nov-2025 12:33:28 Europe/Berlin] 🎬 Attempting to detect YouTube duration for video ID: Jyvffr3aCp0
[28-Nov-2025 12:33:28 Europe/Berlin] ⚠️ YouTube API failed, trying fallback method
[28-Nov-2025 12:33:28 Europe/Berlin] ⚠️ YouTube duration detection failed
[28-Nov-2025 12:33:28 Europe/Berlin] ⚠️ Using default duration: 0:00
[28-Nov-2025 12:33:28 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 12:33:28 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 12:33:28 Europe/Berlin]   course_id: 13
[28-Nov-2025 12:33:28 Europe/Berlin]   title: Bootstrap 5 Crash Course real time video
[28-Nov-2025 12:33:28 Europe/Berlin]   description: welcome to us we are not
[28-Nov-2025 12:33:28 Europe/Berlin]   video_type: url
[28-Nov-2025 12:33:28 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/Jyvffr3aCp0/maxresdefault.jpg
[28-Nov-2025 12:33:28 Europe/Berlin]   external_url: https://youtu.be/Jyvffr3aCp0?si=I9b0G4FGj571Nsxn
[28-Nov-2025 12:33:28 Europe/Berlin]   platform: youtube
[28-Nov-2025 12:33:28 Europe/Berlin]   video_id_ext: Jyvffr3aCp0
[28-Nov-2025 12:33:28 Europe/Berlin]   duration: 0:00
[28-Nov-2025 12:33:28 Europe/Berlin]   is_published: 1
[28-Nov-2025 12:33:28 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 12:33:28 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 12:33:28 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 12:33:28 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 12:33:28 Europe/Berlin]   Generated video_id: 18
[28-Nov-2025 12:33:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:33:38 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 12:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:33:38 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:33:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:33:38 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:33:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-28 10:31:05
    [created_at] => 1764324287
    [last_regeneration] => 1764324287
    [stored_redirect] => /student/course-detail.php?id=am5xVTdudk5XNXNTMEtKUzVESnJaUT09&lesson=9
    [redirect_to_cart] => 
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764324287
    [login_redirect_count] => 0
)

[28-Nov-2025 12:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:33:38 Europe/Berlin] Session role: not set
[28-Nov-2025 12:33:38 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:49:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:49:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 12:49:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
)

[28-Nov-2025 12:49:37 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
)

[28-Nov-2025 12:49:37 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
)

[28-Nov-2025 12:49:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:49:37 Europe/Berlin] Session role: not set
[28-Nov-2025 12:49:37 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 11:49:37 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 11:49:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 11:49:37 UTC] Found 5 videos for teacher 14
[28-Nov-2025 12:49:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:49:43 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Nov-2025 12:49:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:43 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:43 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:49:43 Europe/Berlin] Session role: not set
[28-Nov-2025 12:49:43 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 11:49:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Nov-2025 12:49:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:49:47 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:49:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:47 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:47 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:49:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:49:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:49:47 Europe/Berlin] Session role: not set
[28-Nov-2025 12:49:47 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:50:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:50:58 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 12:50:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:50:58 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:50:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:50:58 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:50:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:50:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:50:58 Europe/Berlin] Session role: not set
[28-Nov-2025 12:50:58 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 12:51:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/g9b4LjYrsUQ?si=BW0nzbBHyyf9jXKO
    [detected_platform] => youtube
    [video_id_external] => g9b4LjYrsUQ
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/g9b4LjYrsUQ?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 19:15
    [video_type] => url
    [manual_duration] => 
    [title] => Learn How to Code Using Bootstrap 5 Tutorial 2023!
    [course_id] => 13
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 12:51:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 12:51:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 12:51:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 12:51:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 12:51:31 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 12:51:31 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 12:51:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 12:51:31 Europe/Berlin]   video_url: https://youtu.be/g9b4LjYrsUQ?si=BW0nzbBHyyf9jXKO
[28-Nov-2025 12:51:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 12:51:31 Europe/Berlin]   video_id_external: g9b4LjYrsUQ
[28-Nov-2025 12:51:31 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/g9b4LjYrsUQ?rel=0&showinfo=0&mo...
[28-Nov-2025 12:51:31 Europe/Berlin]   detected_duration: 19:15
[28-Nov-2025 12:51:31 Europe/Berlin]   video_type: url
[28-Nov-2025 12:51:31 Europe/Berlin]   manual_duration: 
[28-Nov-2025 12:51:31 Europe/Berlin]   title: Learn How to Code Using Bootstrap 5 Tutorial 2023!
[28-Nov-2025 12:51:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 12:51:31 Europe/Berlin]   description: welcome
[28-Nov-2025 12:51:31 Europe/Berlin]   category_name: Data Science
[28-Nov-2025 12:51:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 12:51:31 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 12:51:31 Europe/Berlin]   ajax: 1
[28-Nov-2025 12:51:31 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 12:51:31 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 12:51:31 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 12:51:31 Europe/Berlin]   video_type: url
[28-Nov-2025 12:51:31 Europe/Berlin]   video_url: https://youtu.be/g9b4LjYrsUQ?si=BW0nzbBHyyf9jXKO
[28-Nov-2025 12:51:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 12:51:31 Europe/Berlin]   video_id_external: g9b4LjYrsUQ
[28-Nov-2025 12:51:31 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 12:51:31 Europe/Berlin]   video_type: url
[28-Nov-2025 12:51:31 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 12:51:31 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 12:51:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 12:51:31 Europe/Berlin]   video_id_ext: g9b4LjYrsUQ
[28-Nov-2025 12:51:31 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/g9b4LjYrsUQ/maxresdefault.jpg
[28-Nov-2025 12:51:31 Europe/Berlin] 🎬 Attempting to detect YouTube duration for video ID: g9b4LjYrsUQ
[28-Nov-2025 12:51:31 Europe/Berlin] ⚠️ YouTube API failed, trying fallback method
[28-Nov-2025 12:51:31 Europe/Berlin] ⚠️ YouTube duration detection failed
[28-Nov-2025 12:51:31 Europe/Berlin] ⚠️ Using default duration: 0:00
[28-Nov-2025 12:51:31 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 12:51:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 12:51:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 12:51:31 Europe/Berlin]   title: Learn How to Code Using Bootstrap 5 Tutorial 2023!
[28-Nov-2025 12:51:31 Europe/Berlin]   description: welcome
[28-Nov-2025 12:51:31 Europe/Berlin]   video_type: url
[28-Nov-2025 12:51:31 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/g9b4LjYrsUQ/maxresdefault.jpg
[28-Nov-2025 12:51:31 Europe/Berlin]   external_url: https://youtu.be/g9b4LjYrsUQ?si=BW0nzbBHyyf9jXKO
[28-Nov-2025 12:51:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 12:51:31 Europe/Berlin]   video_id_ext: g9b4LjYrsUQ
[28-Nov-2025 12:51:31 Europe/Berlin]   duration: 0:00
[28-Nov-2025 12:51:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 12:51:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 12:51:31 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 12:51:31 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 12:51:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 12:51:31 Europe/Berlin]   Generated video_id: 19
[28-Nov-2025 12:51:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 12:51:44 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 12:51:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:51:44 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:51:44 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 12:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1764330576
    [last_regeneration] => 1764330576
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764330576
    [session_started_at] => 2025-11-28 12:49:36
    [login_redirect_count] => 0
)

[28-Nov-2025 12:51:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 12:51:44 Europe/Berlin] Session role: not set
[28-Nov-2025 12:51:44 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 13:29:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 13:29:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 13:29:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
)

[28-Nov-2025 13:29:24 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:29:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
)

[28-Nov-2025 13:29:24 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:29:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
)

[28-Nov-2025 13:29:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 13:29:24 Europe/Berlin] Session role: not set
[28-Nov-2025 13:29:24 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 12:29:24 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 12:29:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 12:29:24 UTC] Found 5 videos for teacher 14
[28-Nov-2025 13:29:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 13:29:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 13:29:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:29:27 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:29:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:29:27 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:29:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:29:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 13:29:27 Europe/Berlin] Session role: not set
[28-Nov-2025 13:29:27 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 13:30:27 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/yalxT0PEx8c?si=UYEIScvMkpWAtYY_
    [detected_platform] => youtube
    [video_id_external] => yalxT0PEx8c
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/yalxT0PEx8c?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 5:17
    [video_type] => url
    [manual_duration] => 
    [title] => Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
    [course_id] => 13
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 13:30:27 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 13:30:27 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 13:30:27 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 13:30:27 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 13:30:27 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 13:30:27 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 13:30:27 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 13:30:27 Europe/Berlin]   video_url: https://youtu.be/yalxT0PEx8c?si=UYEIScvMkpWAtYY_
[28-Nov-2025 13:30:27 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 13:30:27 Europe/Berlin]   video_id_external: yalxT0PEx8c
[28-Nov-2025 13:30:27 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/yalxT0PEx8c?rel=0&showinfo=0&mo...
[28-Nov-2025 13:30:27 Europe/Berlin]   detected_duration: 5:17
[28-Nov-2025 13:30:27 Europe/Berlin]   video_type: url
[28-Nov-2025 13:30:27 Europe/Berlin]   manual_duration: 
[28-Nov-2025 13:30:27 Europe/Berlin]   title: Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
[28-Nov-2025 13:30:27 Europe/Berlin]   course_id: 13
[28-Nov-2025 13:30:27 Europe/Berlin]   description: welcome
[28-Nov-2025 13:30:27 Europe/Berlin]   category_name: Data Science
[28-Nov-2025 13:30:27 Europe/Berlin]   is_published: 1
[28-Nov-2025 13:30:27 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 13:30:27 Europe/Berlin]   ajax: 1
[28-Nov-2025 13:30:27 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 13:30:27 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 13:30:27 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 13:30:27 Europe/Berlin]   video_type: url
[28-Nov-2025 13:30:27 Europe/Berlin]   video_url: https://youtu.be/yalxT0PEx8c?si=UYEIScvMkpWAtYY_
[28-Nov-2025 13:30:27 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 13:30:27 Europe/Berlin]   video_id_external: yalxT0PEx8c
[28-Nov-2025 13:30:27 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 13:30:27 Europe/Berlin]   video_type: url
[28-Nov-2025 13:30:27 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 13:30:27 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 13:30:27 Europe/Berlin]   platform: youtube
[28-Nov-2025 13:30:27 Europe/Berlin]   video_id_ext: yalxT0PEx8c
[28-Nov-2025 13:30:27 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/yalxT0PEx8c/maxresdefault.jpg
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[28-Nov-2025 13:30:27 Europe/Berlin]   detected_duration: 5:17
[28-Nov-2025 13:30:27 Europe/Berlin]   manual_duration: 
[28-Nov-2025 13:30:27 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[28-Nov-2025 13:30:27 Europe/Berlin] 🎯 FOUND detected_duration field: 5:17
[28-Nov-2025 13:30:27 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 5:17
[28-Nov-2025 13:30:27 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 13:30:27 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 13:30:27 Europe/Berlin]   course_id: 13
[28-Nov-2025 13:30:27 Europe/Berlin]   title: Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
[28-Nov-2025 13:30:27 Europe/Berlin]   description: welcome
[28-Nov-2025 13:30:27 Europe/Berlin]   video_type: url
[28-Nov-2025 13:30:27 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/yalxT0PEx8c/maxresdefault.jpg
[28-Nov-2025 13:30:27 Europe/Berlin]   external_url: https://youtu.be/yalxT0PEx8c?si=UYEIScvMkpWAtYY_
[28-Nov-2025 13:30:27 Europe/Berlin]   platform: youtube
[28-Nov-2025 13:30:27 Europe/Berlin]   video_id_ext: yalxT0PEx8c
[28-Nov-2025 13:30:27 Europe/Berlin]   duration: 5:17
[28-Nov-2025 13:30:27 Europe/Berlin]   is_published: 1
[28-Nov-2025 13:30:27 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 13:30:27 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 13:30:27 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 13:30:27 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 13:30:27 Europe/Berlin]   Generated video_id: 20
[28-Nov-2025 13:30:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 13:30:47 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 13:30:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:30:47 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:30:47 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 13:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1764332963
    [last_regeneration] => 1764332963
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764332963
    [session_started_at] => 2025-11-28 13:29:24
    [login_redirect_count] => 0
)

[28-Nov-2025 13:30:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 13:30:47 Europe/Berlin] Session role: not set
[28-Nov-2025 13:30:47 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:50:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 14:50:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 14:50:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
)

[28-Nov-2025 14:50:26 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:50:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
)

[28-Nov-2025 14:50:26 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:50:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
)

[28-Nov-2025 14:50:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 14:50:26 Europe/Berlin] Session role: not set
[28-Nov-2025 14:50:26 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 13:50:26 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 13:50:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 13:50:26 UTC] Found 5 videos for teacher 14
[28-Nov-2025 14:50:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 14:50:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 14:50:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:50:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:50:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:50:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 14:50:40 Europe/Berlin] Session role: not set
[28-Nov-2025 14:50:40 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 14:52:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/8mugqDUvSXA?si=MhFCmIrdZFD7JJwB
    [detected_platform] => youtube
    [video_id_external] => 8mugqDUvSXA
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/8mugqDUvSXA?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 4:18
    [video_type] => url
    [manual_duration] => 
    [title] => What's new in Bootstrap Studio 7.1
    [course_id] => 13
    [description] => welome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 14:52:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 14:52:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 14:52:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 14:52:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 14:52:31 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 14:52:31 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 14:52:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 14:52:31 Europe/Berlin]   video_url: https://youtu.be/8mugqDUvSXA?si=MhFCmIrdZFD7JJwB
[28-Nov-2025 14:52:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 14:52:31 Europe/Berlin]   video_id_external: 8mugqDUvSXA
[28-Nov-2025 14:52:31 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/8mugqDUvSXA?rel=0&showinfo=0&mo...
[28-Nov-2025 14:52:31 Europe/Berlin]   detected_duration: 4:18
[28-Nov-2025 14:52:31 Europe/Berlin]   video_type: url
[28-Nov-2025 14:52:31 Europe/Berlin]   manual_duration: 
[28-Nov-2025 14:52:31 Europe/Berlin]   title: What's new in Bootstrap Studio 7.1
[28-Nov-2025 14:52:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 14:52:31 Europe/Berlin]   description: welome
[28-Nov-2025 14:52:31 Europe/Berlin]   category_name: Learning and Development
[28-Nov-2025 14:52:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 14:52:31 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 14:52:31 Europe/Berlin]   ajax: 1
[28-Nov-2025 14:52:31 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 14:52:31 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 14:52:31 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 14:52:31 Europe/Berlin]   video_type: url
[28-Nov-2025 14:52:31 Europe/Berlin]   video_url: https://youtu.be/8mugqDUvSXA?si=MhFCmIrdZFD7JJwB
[28-Nov-2025 14:52:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 14:52:31 Europe/Berlin]   video_id_external: 8mugqDUvSXA
[28-Nov-2025 14:52:31 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 14:52:31 Europe/Berlin]   video_type: url
[28-Nov-2025 14:52:31 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 14:52:31 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 14:52:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 14:52:31 Europe/Berlin]   video_id_ext: 8mugqDUvSXA
[28-Nov-2025 14:52:31 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/8mugqDUvSXA/maxresdefault.jpg
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[28-Nov-2025 14:52:31 Europe/Berlin]   detected_duration: 4:18
[28-Nov-2025 14:52:31 Europe/Berlin]   manual_duration: 
[28-Nov-2025 14:52:31 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[28-Nov-2025 14:52:31 Europe/Berlin] 🎯 FOUND detected_duration field: 4:18
[28-Nov-2025 14:52:31 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 4:18
[28-Nov-2025 14:52:31 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 14:52:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 14:52:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 14:52:31 Europe/Berlin]   title: What's new in Bootstrap Studio 7.1
[28-Nov-2025 14:52:31 Europe/Berlin]   description: welome
[28-Nov-2025 14:52:31 Europe/Berlin]   video_type: url
[28-Nov-2025 14:52:31 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/8mugqDUvSXA/maxresdefault.jpg
[28-Nov-2025 14:52:31 Europe/Berlin]   external_url: https://youtu.be/8mugqDUvSXA?si=MhFCmIrdZFD7JJwB
[28-Nov-2025 14:52:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 14:52:31 Europe/Berlin]   video_id_ext: 8mugqDUvSXA
[28-Nov-2025 14:52:31 Europe/Berlin]   duration: 4:18
[28-Nov-2025 14:52:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 14:52:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 14:52:31 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 14:52:31 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 14:52:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 14:52:31 Europe/Berlin]   Generated video_id: 21
[28-Nov-2025 14:52:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 14:52:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 14:52:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:52:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:52:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:52:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 14:52:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764337826
    [last_regeneration] => 1764337826
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764337826
    [session_started_at] => 2025-11-28 14:50:26
    [login_redirect_count] => 0
)

[28-Nov-2025 14:52:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 14:52:40 Europe/Berlin] Session role: not set
[28-Nov-2025 14:52:40 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:20:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:20:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 15:20:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
)

[28-Nov-2025 15:20:06 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
)

[28-Nov-2025 15:20:06 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
)

[28-Nov-2025 15:20:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:20:06 Europe/Berlin] Session role: not set
[28-Nov-2025 15:20:06 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:20:06 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 14:20:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 14:20:06 UTC] Found 5 videos for teacher 14
[28-Nov-2025 15:20:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:20:12 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Nov-2025 15:20:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:12 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:12 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:20:12 Europe/Berlin] Session role: not set
[28-Nov-2025 15:20:12 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:20:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Nov-2025 15:20:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:20:16 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 15:20:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:16 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:16 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:20:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:20:16 Europe/Berlin] Session role: not set
[28-Nov-2025 15:20:16 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 15:25:24 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://www.tiktok.com/@petszito/video/7572589201942695186?is_from_webapp=1&sender_device=pc
    [detected_platform] => tiktok
    [video_id_external] => 7572589201942695186
    [embed_code] => <blockquote class="tiktok-embed" cite="https://www.tiktok.com/@user/video/7572589201942695186" data-video-id="7572589201942695186" style="max-width: 605px;min-width: 325px;" ><section></section></blockquote><script async src="https://www.tiktok.com/embed.js"></script>
    [detected_duration] => 0:30
    [video_type] => url
    [manual_duration] => 
    [title] => Welcome to baby boo
    [course_id] => 13
    [description] => this is not right
    [category_name] => Technoprenuer
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 15:25:24 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 15:25:24 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 15:25:24 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 15:25:24 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 15:25:24 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 15:25:24 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 15:25:24 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:25:24 Europe/Berlin]   video_url: https://www.tiktok.com/@petszito/video/7572589201942695186?is_from_webapp=1&sender_device=pc
[28-Nov-2025 15:25:24 Europe/Berlin]   detected_platform: tiktok
[28-Nov-2025 15:25:24 Europe/Berlin]   video_id_external: 7572589201942695186
[28-Nov-2025 15:25:24 Europe/Berlin]   embed_code: <blockquote class="tiktok-embed" cite="https://www.tiktok.com/@user/video/7572589201942695186" data-...
[28-Nov-2025 15:25:24 Europe/Berlin]   detected_duration: 0:30
[28-Nov-2025 15:25:24 Europe/Berlin]   video_type: url
[28-Nov-2025 15:25:24 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:25:24 Europe/Berlin]   title: Welcome to baby boo
[28-Nov-2025 15:25:24 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:25:24 Europe/Berlin]   description: this is not right
[28-Nov-2025 15:25:24 Europe/Berlin]   category_name: Technoprenuer
[28-Nov-2025 15:25:24 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:25:24 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 15:25:24 Europe/Berlin]   ajax: 1
[28-Nov-2025 15:25:24 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 15:25:24 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 15:25:24 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 15:25:24 Europe/Berlin]   video_type: url
[28-Nov-2025 15:25:24 Europe/Berlin]   video_url: https://www.tiktok.com/@petszito/video/7572589201942695186?is_from_webapp=1&sender_device=pc
[28-Nov-2025 15:25:24 Europe/Berlin]   detected_platform: tiktok
[28-Nov-2025 15:25:24 Europe/Berlin]   video_id_external: 7572589201942695186
[28-Nov-2025 15:25:24 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 15:25:24 Europe/Berlin]   video_type: url
[28-Nov-2025 15:25:24 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 15:25:24 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 15:25:24 Europe/Berlin]   platform: tiktok
[28-Nov-2025 15:25:24 Europe/Berlin]   video_id_ext: 7572589201942695186
[28-Nov-2025 15:25:24 Europe/Berlin]   generated thumbnail URL: NULL
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[28-Nov-2025 15:25:24 Europe/Berlin]   detected_duration: 0:30
[28-Nov-2025 15:25:24 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:25:24 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[28-Nov-2025 15:25:24 Europe/Berlin] 🎯 FOUND detected_duration field: 0:30
[28-Nov-2025 15:25:24 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:30
[28-Nov-2025 15:25:24 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 15:25:24 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:25:24 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:25:24 Europe/Berlin]   title: Welcome to baby boo
[28-Nov-2025 15:25:24 Europe/Berlin]   description: this is not right
[28-Nov-2025 15:25:24 Europe/Berlin]   video_type: url
[28-Nov-2025 15:25:24 Europe/Berlin]   thumbnailPath: NULL
[28-Nov-2025 15:25:24 Europe/Berlin]   external_url: https://www.tiktok.com/@petszito/video/7572589201942695186?is_from_webapp=1&sender_device=pc
[28-Nov-2025 15:25:24 Europe/Berlin]   platform: tiktok
[28-Nov-2025 15:25:24 Europe/Berlin]   video_id_ext: 7572589201942695186
[28-Nov-2025 15:25:24 Europe/Berlin]   duration: 0:30
[28-Nov-2025 15:25:24 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:25:24 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 15:25:24 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 15:25:24 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 15:25:24 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 15:25:24 Europe/Berlin]   Generated video_id: 22
[28-Nov-2025 15:25:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:25:27 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:25:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:27 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:25:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:27 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:25:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:25:27 Europe/Berlin] Session role: not set
[28-Nov-2025 15:25:27 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:25:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:25:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 15:25:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:41 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:41 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:25:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:25:41 Europe/Berlin] Session role: not set
[28-Nov-2025 15:25:41 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 15:27:32 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://vimeo.com/1139666352
    [detected_platform] => vimeo
    [video_id_external] => 1139666352
    [embed_code] => <iframe src="https://player.vimeo.com/video/1139666352?badge=0&autopause=0&player_id=0&app_id=58479" width="100%" height="315" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 29:00
    [video_type] => url
    [manual_duration] => 
    [title] => welcome to the vimeo
    [course_id] => 13
    [description] => yes
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 15:27:32 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 15:27:32 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 15:27:32 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 15:27:32 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 15:27:32 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 15:27:32 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 15:27:32 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:27:32 Europe/Berlin]   video_url: https://vimeo.com/1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   detected_platform: vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   video_id_external: 1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   embed_code: <iframe src="https://player.vimeo.com/video/1139666352?badge=0&autopause=0&player_id=0&app_id=58479"...
[28-Nov-2025 15:27:32 Europe/Berlin]   detected_duration: 29:00
[28-Nov-2025 15:27:32 Europe/Berlin]   video_type: url
[28-Nov-2025 15:27:32 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:27:32 Europe/Berlin]   title: welcome to the vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:27:32 Europe/Berlin]   description: yes
[28-Nov-2025 15:27:32 Europe/Berlin]   category_name: Data Science
[28-Nov-2025 15:27:32 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:27:32 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 15:27:32 Europe/Berlin]   ajax: 1
[28-Nov-2025 15:27:32 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 15:27:32 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 15:27:32 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 15:27:32 Europe/Berlin]   video_type: url
[28-Nov-2025 15:27:32 Europe/Berlin]   video_url: https://vimeo.com/1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   detected_platform: vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   video_id_external: 1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 15:27:32 Europe/Berlin]   video_type: url
[28-Nov-2025 15:27:32 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 15:27:32 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 15:27:32 Europe/Berlin]   platform: vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   video_id_ext: 1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   generated thumbnail URL: NULL
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[28-Nov-2025 15:27:32 Europe/Berlin]   detected_duration: 29:00
[28-Nov-2025 15:27:32 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:27:32 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[28-Nov-2025 15:27:32 Europe/Berlin] 🎯 FOUND detected_duration field: 29:00
[28-Nov-2025 15:27:32 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 29:00
[28-Nov-2025 15:27:32 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 15:27:32 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:27:32 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:27:32 Europe/Berlin]   title: welcome to the vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   description: yes
[28-Nov-2025 15:27:32 Europe/Berlin]   video_type: url
[28-Nov-2025 15:27:32 Europe/Berlin]   thumbnailPath: NULL
[28-Nov-2025 15:27:32 Europe/Berlin]   external_url: https://vimeo.com/1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   platform: vimeo
[28-Nov-2025 15:27:32 Europe/Berlin]   video_id_ext: 1139666352
[28-Nov-2025 15:27:32 Europe/Berlin]   duration: 29:00
[28-Nov-2025 15:27:32 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:27:32 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 15:27:32 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 15:27:32 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 15:27:32 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 15:27:32 Europe/Berlin]   Generated video_id: 23
[28-Nov-2025 15:27:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:27:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:27:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:27:35 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:27:35 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764339605
    [last_regeneration] => 1764339605
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764339605
    [session_started_at] => 2025-11-28 15:20:05
    [login_redirect_count] => 0
)

[28-Nov-2025 15:27:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:27:35 Europe/Berlin] Session role: not set
[28-Nov-2025 15:27:35 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 15:30:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
)

[28-Nov-2025 15:30:28 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
)

[28-Nov-2025 15:30:28 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
)

[28-Nov-2025 15:30:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:28 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:28 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:30:29 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 14:30:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 14:30:29 UTC] Found 5 videos for teacher 14
[28-Nov-2025 15:30:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 15:30:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:32 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:32 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:32 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:32 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:35 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:35 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:35 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:35 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:40 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:40 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:40 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:45 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:45 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:45 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:45 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:50 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:50 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:50 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:50 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:54 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:54 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:54 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:54 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:54 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:30:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:30:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:30:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:59 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:59 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:30:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:30:59 Europe/Berlin] Session role: not set
[28-Nov-2025 15:30:59 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:03 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:03 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:03 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:03 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:03 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:08 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:08 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:08 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:08 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:08 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:13 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:13 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:13 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:13 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:13 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:17 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:17 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:17 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:17 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:17 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:21 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:21 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:21 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:21 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:21 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:25 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:25 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:25 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:25 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:25 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:29 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:29 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:29 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:29 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:29 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:33 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:33 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:33 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:33 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:33 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:38 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:38 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:38 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:38 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:38 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:42 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:42 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:42 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:42 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:42 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:46 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:46 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:46 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:46 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:46 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:31:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:31:51 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:31:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:51 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:51 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:31:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:31:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:31:51 Europe/Berlin] Session role: not set
[28-Nov-2025 15:31:51 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:32:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:32:04 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:32:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:04 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:04 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:32:04 Europe/Berlin] Session role: not set
[28-Nov-2025 15:32:04 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:32:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:32:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:32:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:10 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:10 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:32:10 Europe/Berlin] Session role: not set
[28-Nov-2025 15:32:10 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:32:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:32:15 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Nov-2025 15:32:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:15 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:15 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:32:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:32:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:32:15 Europe/Berlin] Session role: not set
[28-Nov-2025 15:32:15 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 USER ID: NOT SET
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 SESSION ID: 
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[28-Nov-2025 15:33:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/ZjNclqXQ27Q?si=26pKH_OVQf7BxaMP
    [detected_platform] => youtube
    [video_id_external] => ZjNclqXQ27Q
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/ZjNclqXQ27Q?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 2:00
    [video_type] => url
    [manual_duration] => 
    [title] => How to Add Bootstrap CDN Link in HTML | Bootstrap Setup Tutorial
    [course_id] => 13
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[28-Nov-2025 15:33:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[28-Nov-2025 15:33:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[28-Nov-2025 15:33:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[28-Nov-2025 15:33:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[28-Nov-2025 15:33:31 Europe/Berlin] 📋 ALL POST DATA:
[28-Nov-2025 15:33:31 Europe/Berlin]   form_type: video_upload
[28-Nov-2025 15:33:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:33:31 Europe/Berlin]   video_url: https://youtu.be/ZjNclqXQ27Q?si=26pKH_OVQf7BxaMP
[28-Nov-2025 15:33:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 15:33:31 Europe/Berlin]   video_id_external: ZjNclqXQ27Q
[28-Nov-2025 15:33:31 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/ZjNclqXQ27Q?rel=0&showinfo=0&mo...
[28-Nov-2025 15:33:31 Europe/Berlin]   detected_duration: 2:00
[28-Nov-2025 15:33:31 Europe/Berlin]   video_type: url
[28-Nov-2025 15:33:31 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:33:31 Europe/Berlin]   title: How to Add Bootstrap CDN Link in HTML | Bootstrap Setup Tutorial
[28-Nov-2025 15:33:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:33:31 Europe/Berlin]   description: welcome
[28-Nov-2025 15:33:31 Europe/Berlin]   category_name: Learning and Development
[28-Nov-2025 15:33:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:33:31 Europe/Berlin]   content_types: [quiz]
[28-Nov-2025 15:33:31 Europe/Berlin]   ajax: 1
[28-Nov-2025 15:33:31 Europe/Berlin] 📂 ALL FILES DATA:
[28-Nov-2025 15:33:31 Europe/Berlin]   video:  (0 bytes, error: 4)
[28-Nov-2025 15:33:31 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[28-Nov-2025 15:33:31 Europe/Berlin]   video_type: url
[28-Nov-2025 15:33:31 Europe/Berlin]   video_url: https://youtu.be/ZjNclqXQ27Q?si=26pKH_OVQf7BxaMP
[28-Nov-2025 15:33:31 Europe/Berlin]   detected_platform: youtube
[28-Nov-2025 15:33:31 Europe/Berlin]   video_id_external: ZjNclqXQ27Q
[28-Nov-2025 15:33:31 Europe/Berlin]   embed_code: HAS_VALUE
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[28-Nov-2025 15:33:31 Europe/Berlin]   video_type: url
[28-Nov-2025 15:33:31 Europe/Berlin]   $_FILES available: YES
[28-Nov-2025 15:33:31 Europe/Berlin]   $_FILES keys: video, thumbnail
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[28-Nov-2025 15:33:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 15:33:31 Europe/Berlin]   video_id_ext: ZjNclqXQ27Q
[28-Nov-2025 15:33:31 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/ZjNclqXQ27Q/maxresdefault.jpg
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[28-Nov-2025 15:33:31 Europe/Berlin]   detected_duration: 2:00
[28-Nov-2025 15:33:31 Europe/Berlin]   manual_duration: 
[28-Nov-2025 15:33:31 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[28-Nov-2025 15:33:31 Europe/Berlin] 🎯 FOUND detected_duration field: 2:00
[28-Nov-2025 15:33:31 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 2:00
[28-Nov-2025 15:33:31 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[28-Nov-2025 15:33:31 Europe/Berlin]   teacher_id: 14
[28-Nov-2025 15:33:31 Europe/Berlin]   course_id: 13
[28-Nov-2025 15:33:31 Europe/Berlin]   title: How to Add Bootstrap CDN Link in HTML | Bootstrap Setup Tutorial
[28-Nov-2025 15:33:31 Europe/Berlin]   description: welcome
[28-Nov-2025 15:33:31 Europe/Berlin]   video_type: url
[28-Nov-2025 15:33:31 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/ZjNclqXQ27Q/maxresdefault.jpg
[28-Nov-2025 15:33:31 Europe/Berlin]   external_url: https://youtu.be/ZjNclqXQ27Q?si=26pKH_OVQf7BxaMP
[28-Nov-2025 15:33:31 Europe/Berlin]   platform: youtube
[28-Nov-2025 15:33:31 Europe/Berlin]   video_id_ext: ZjNclqXQ27Q
[28-Nov-2025 15:33:31 Europe/Berlin]   duration: 2:00
[28-Nov-2025 15:33:31 Europe/Berlin]   is_published: 1
[28-Nov-2025 15:33:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[28-Nov-2025 15:33:31 Europe/Berlin]   SQL prepared successfully
[28-Nov-2025 15:33:31 Europe/Berlin]   About to execute with bound parameters
[28-Nov-2025 15:33:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[28-Nov-2025 15:33:31 Europe/Berlin]   Generated video_id: 24
[28-Nov-2025 15:33:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:33:34 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Nov-2025 15:33:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:34 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:33:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:34 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:33:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:33:34 Europe/Berlin] Session role: not set
[28-Nov-2025 15:33:34 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 15:33:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Nov-2025 15:33:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Nov-2025 15:33:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:39 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:33:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:39 Europe/Berlin] isLoggedIn check result: true
[28-Nov-2025 15:33:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1764340228
    [last_regeneration] => 1764340228
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764340228
    [session_started_at] => 2025-11-28 15:30:28
    [login_redirect_count] => 0
)

[28-Nov-2025 15:33:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Nov-2025 15:33:39 Europe/Berlin] Session role: not set
[28-Nov-2025 15:33:39 Europe/Berlin] Session user_role: teacher
[28-Nov-2025 14:33:39 UTC] Fetching videos for teacher_id: 14
[28-Nov-2025 14:33:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Nov-2025 14:33:39 UTC] Found 2 videos for teacher 14
[29-Nov-2025 00:58:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 00:58:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 00:58:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-29 00:58:45
)

[29-Nov-2025 00:58:45 Europe/Berlin] isLoggedIn check result: false
[29-Nov-2025 00:58:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-29 00:58:45
)

[29-Nov-2025 04:43:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 04:43:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 04:43:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-29 04:43:56
)

[29-Nov-2025 04:43:56 Europe/Berlin] isLoggedIn check result: false
[29-Nov-2025 04:43:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-29 04:43:56
)

[29-Nov-2025 14:25:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:25:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 14:25:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
)

[29-Nov-2025 14:25:58 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:25:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
)

[29-Nov-2025 14:25:58 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:25:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
)

[29-Nov-2025 14:25:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:25:58 Europe/Berlin] Session role: not set
[29-Nov-2025 14:25:58 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 13:25:59 UTC] Fetching videos for teacher_id: 14
[29-Nov-2025 13:25:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Nov-2025 13:25:59 UTC] Found 2 videos for teacher 14
[29-Nov-2025 14:26:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:26:10 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[29-Nov-2025 14:26:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:26:10 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:26:10 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:26:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:26:10 Europe/Berlin] Session role: not set
[29-Nov-2025 14:26:10 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 USER ID: NOT SET
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 USER ROLE: NOT SET
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 SESSION STATUS: 1
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 SESSION ID: 
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[29-Nov-2025 14:27:38 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/iQCjr2ubJuU?si=Cg5lFUOtOZFd-Rrt
    [detected_platform] => youtube
    [video_id_external] => iQCjr2ubJuU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/iQCjr2ubJuU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 12:15
    [video_type] => url
    [manual_duration] => 
    [title] => Google Just Made Voice AI Stupidly Easy (Gemini 3)
    [course_id] => 13
    [description] => wedvf
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[29-Nov-2025 14:27:38 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[29-Nov-2025 14:27:38 Europe/Berlin] 📥 REQUEST METHOD: POST
[29-Nov-2025 14:27:38 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[29-Nov-2025 14:27:38 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[29-Nov-2025 14:27:38 Europe/Berlin] 📋 ALL POST DATA:
[29-Nov-2025 14:27:38 Europe/Berlin]   form_type: video_upload
[29-Nov-2025 14:27:38 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 14:27:38 Europe/Berlin]   video_url: https://youtu.be/iQCjr2ubJuU?si=Cg5lFUOtOZFd-Rrt
[29-Nov-2025 14:27:38 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 14:27:38 Europe/Berlin]   video_id_external: iQCjr2ubJuU
[29-Nov-2025 14:27:38 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/iQCjr2ubJuU?rel=0&showinfo=0&mo...
[29-Nov-2025 14:27:38 Europe/Berlin]   detected_duration: 12:15
[29-Nov-2025 14:27:38 Europe/Berlin]   video_type: url
[29-Nov-2025 14:27:38 Europe/Berlin]   manual_duration: 
[29-Nov-2025 14:27:38 Europe/Berlin]   title: Google Just Made Voice AI Stupidly Easy (Gemini 3)
[29-Nov-2025 14:27:38 Europe/Berlin]   course_id: 13
[29-Nov-2025 14:27:38 Europe/Berlin]   description: wedvf
[29-Nov-2025 14:27:38 Europe/Berlin]   category_name: Data Science
[29-Nov-2025 14:27:38 Europe/Berlin]   is_published: 1
[29-Nov-2025 14:27:38 Europe/Berlin]   content_types: [quiz]
[29-Nov-2025 14:27:38 Europe/Berlin]   ajax: 1
[29-Nov-2025 14:27:38 Europe/Berlin] 📂 ALL FILES DATA:
[29-Nov-2025 14:27:38 Europe/Berlin]   video:  (0 bytes, error: 4)
[29-Nov-2025 14:27:38 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[29-Nov-2025 14:27:38 Europe/Berlin]   video_type: url
[29-Nov-2025 14:27:38 Europe/Berlin]   video_url: https://youtu.be/iQCjr2ubJuU?si=Cg5lFUOtOZFd-Rrt
[29-Nov-2025 14:27:38 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 14:27:38 Europe/Berlin]   video_id_external: iQCjr2ubJuU
[29-Nov-2025 14:27:38 Europe/Berlin]   embed_code: HAS_VALUE
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[29-Nov-2025 14:27:38 Europe/Berlin]   video_type: url
[29-Nov-2025 14:27:38 Europe/Berlin]   $_FILES available: YES
[29-Nov-2025 14:27:38 Europe/Berlin]   $_FILES keys: video, thumbnail
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[29-Nov-2025 14:27:38 Europe/Berlin]   platform: youtube
[29-Nov-2025 14:27:38 Europe/Berlin]   video_id_ext: iQCjr2ubJuU
[29-Nov-2025 14:27:38 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/iQCjr2ubJuU/maxresdefault.jpg
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[29-Nov-2025 14:27:38 Europe/Berlin]   detected_duration: 12:15
[29-Nov-2025 14:27:38 Europe/Berlin]   manual_duration: 
[29-Nov-2025 14:27:38 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[29-Nov-2025 14:27:38 Europe/Berlin] 🎯 FOUND detected_duration field: 12:15
[29-Nov-2025 14:27:38 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 12:15
[29-Nov-2025 14:27:38 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[29-Nov-2025 14:27:38 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 14:27:38 Europe/Berlin]   course_id: 13
[29-Nov-2025 14:27:38 Europe/Berlin]   title: Google Just Made Voice AI Stupidly Easy (Gemini 3)
[29-Nov-2025 14:27:38 Europe/Berlin]   description: wedvf
[29-Nov-2025 14:27:38 Europe/Berlin]   video_type: url
[29-Nov-2025 14:27:38 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/iQCjr2ubJuU/maxresdefault.jpg
[29-Nov-2025 14:27:38 Europe/Berlin]   external_url: https://youtu.be/iQCjr2ubJuU?si=Cg5lFUOtOZFd-Rrt
[29-Nov-2025 14:27:38 Europe/Berlin]   platform: youtube
[29-Nov-2025 14:27:38 Europe/Berlin]   video_id_ext: iQCjr2ubJuU
[29-Nov-2025 14:27:38 Europe/Berlin]   duration: 12:15
[29-Nov-2025 14:27:38 Europe/Berlin]   is_published: 1
[29-Nov-2025 14:27:38 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[29-Nov-2025 14:27:38 Europe/Berlin]   SQL prepared successfully
[29-Nov-2025 14:27:38 Europe/Berlin]   About to execute with bound parameters
[29-Nov-2025 14:27:39 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[29-Nov-2025 14:27:39 Europe/Berlin]   Generated video_id: 25
[29-Nov-2025 14:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:27:42 Europe/Berlin] Teacher Auth Check - Script: videos.php
[29-Nov-2025 14:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:27:42 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:27:42 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1764422758
    [last_regeneration] => 1764422758
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764422758
    [session_started_at] => 2025-11-29 14:25:58
    [login_redirect_count] => 0
)

[29-Nov-2025 14:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:27:42 Europe/Berlin] Session role: not set
[29-Nov-2025 14:27:42 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 14:38:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:38:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 14:38:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
)

[29-Nov-2025 14:38:54 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:38:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
)

[29-Nov-2025 14:38:54 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:38:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
)

[29-Nov-2025 14:38:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:38:54 Europe/Berlin] Session role: not set
[29-Nov-2025 14:38:54 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 13:38:54 UTC] Fetching videos for teacher_id: 14
[29-Nov-2025 13:38:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Nov-2025 13:38:54 UTC] Found 3 videos for teacher 14
[29-Nov-2025 14:38:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:38:58 Europe/Berlin] Teacher Auth Check - Script: videos.php
[29-Nov-2025 14:38:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:38:58 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:38:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:38:58 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:38:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:38:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:38:58 Europe/Berlin] Session role: not set
[29-Nov-2025 14:38:58 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 14:39:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:39:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[29-Nov-2025 14:39:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:39:00 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:39:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:39:00 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:39:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:39:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:39:00 Europe/Berlin] Session role: not set
[29-Nov-2025 14:39:00 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 USER ID: NOT SET
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 USER ROLE: NOT SET
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 SESSION STATUS: 1
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 SESSION ID: 
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[29-Nov-2025 14:40:18 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/i1d9HoPdBz0?si=wek2bXltkSdrH5PI
    [detected_platform] => youtube
    [video_id_external] => i1d9HoPdBz0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/i1d9HoPdBz0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 4:08
    [video_type] => url
    [manual_duration] => 
    [title] => Web Developer vs Web Designer | Which One is for You?
    [course_id] => 13
    [description] => hbj
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[29-Nov-2025 14:40:18 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[29-Nov-2025 14:40:18 Europe/Berlin] 📥 REQUEST METHOD: POST
[29-Nov-2025 14:40:18 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[29-Nov-2025 14:40:18 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[29-Nov-2025 14:40:18 Europe/Berlin] 📋 ALL POST DATA:
[29-Nov-2025 14:40:18 Europe/Berlin]   form_type: video_upload
[29-Nov-2025 14:40:18 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 14:40:18 Europe/Berlin]   video_url: https://youtu.be/i1d9HoPdBz0?si=wek2bXltkSdrH5PI
[29-Nov-2025 14:40:18 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 14:40:18 Europe/Berlin]   video_id_external: i1d9HoPdBz0
[29-Nov-2025 14:40:18 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/i1d9HoPdBz0?rel=0&showinfo=0&mo...
[29-Nov-2025 14:40:18 Europe/Berlin]   detected_duration: 4:08
[29-Nov-2025 14:40:18 Europe/Berlin]   video_type: url
[29-Nov-2025 14:40:18 Europe/Berlin]   manual_duration: 
[29-Nov-2025 14:40:18 Europe/Berlin]   title: Web Developer vs Web Designer | Which One is for You?
[29-Nov-2025 14:40:18 Europe/Berlin]   course_id: 13
[29-Nov-2025 14:40:18 Europe/Berlin]   description: hbj
[29-Nov-2025 14:40:18 Europe/Berlin]   category_name: Cyber Security
[29-Nov-2025 14:40:18 Europe/Berlin]   is_published: 1
[29-Nov-2025 14:40:18 Europe/Berlin]   content_types: [quiz]
[29-Nov-2025 14:40:18 Europe/Berlin]   ajax: 1
[29-Nov-2025 14:40:18 Europe/Berlin] 📂 ALL FILES DATA:
[29-Nov-2025 14:40:18 Europe/Berlin]   video:  (0 bytes, error: 4)
[29-Nov-2025 14:40:18 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[29-Nov-2025 14:40:18 Europe/Berlin]   video_type: url
[29-Nov-2025 14:40:18 Europe/Berlin]   video_url: https://youtu.be/i1d9HoPdBz0?si=wek2bXltkSdrH5PI
[29-Nov-2025 14:40:18 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 14:40:18 Europe/Berlin]   video_id_external: i1d9HoPdBz0
[29-Nov-2025 14:40:18 Europe/Berlin]   embed_code: HAS_VALUE
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[29-Nov-2025 14:40:18 Europe/Berlin]   video_type: url
[29-Nov-2025 14:40:18 Europe/Berlin]   $_FILES available: YES
[29-Nov-2025 14:40:18 Europe/Berlin]   $_FILES keys: video, thumbnail
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[29-Nov-2025 14:40:18 Europe/Berlin]   platform: youtube
[29-Nov-2025 14:40:18 Europe/Berlin]   video_id_ext: i1d9HoPdBz0
[29-Nov-2025 14:40:18 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/i1d9HoPdBz0/maxresdefault.jpg
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[29-Nov-2025 14:40:18 Europe/Berlin]   detected_duration: 4:08
[29-Nov-2025 14:40:18 Europe/Berlin]   manual_duration: 
[29-Nov-2025 14:40:18 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[29-Nov-2025 14:40:18 Europe/Berlin] 🎯 FOUND detected_duration field: 4:08
[29-Nov-2025 14:40:18 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 4:08
[29-Nov-2025 14:40:18 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[29-Nov-2025 14:40:18 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 14:40:18 Europe/Berlin]   course_id: 13
[29-Nov-2025 14:40:18 Europe/Berlin]   title: Web Developer vs Web Designer | Which One is for You?
[29-Nov-2025 14:40:18 Europe/Berlin]   description: hbj
[29-Nov-2025 14:40:18 Europe/Berlin]   video_type: url
[29-Nov-2025 14:40:18 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/i1d9HoPdBz0/maxresdefault.jpg
[29-Nov-2025 14:40:18 Europe/Berlin]   external_url: https://youtu.be/i1d9HoPdBz0?si=wek2bXltkSdrH5PI
[29-Nov-2025 14:40:18 Europe/Berlin]   platform: youtube
[29-Nov-2025 14:40:18 Europe/Berlin]   video_id_ext: i1d9HoPdBz0
[29-Nov-2025 14:40:18 Europe/Berlin]   duration: 4:08
[29-Nov-2025 14:40:18 Europe/Berlin]   is_published: 1
[29-Nov-2025 14:40:18 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[29-Nov-2025 14:40:18 Europe/Berlin]   SQL prepared successfully
[29-Nov-2025 14:40:18 Europe/Berlin]   About to execute with bound parameters
[29-Nov-2025 14:40:18 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[29-Nov-2025 14:40:18 Europe/Berlin]   Generated video_id: 26
[29-Nov-2025 14:40:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 14:40:21 Europe/Berlin] Teacher Auth Check - Script: videos.php
[29-Nov-2025 14:40:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:40:21 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:40:21 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 14:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1764423534
    [last_regeneration] => 1764423534
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764423534
    [session_started_at] => 2025-11-29 14:38:54
    [login_redirect_count] => 0
)

[29-Nov-2025 14:40:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 14:40:21 Europe/Berlin] Session role: not set
[29-Nov-2025 14:40:21 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 15:11:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 15:11:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 15:11:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
)

[29-Nov-2025 15:11:00 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:11:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
)

[29-Nov-2025 15:11:00 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:11:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
)

[29-Nov-2025 15:11:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 15:11:00 Europe/Berlin] Session role: not set
[29-Nov-2025 15:11:00 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 14:11:00 UTC] Fetching videos for teacher_id: 14
[29-Nov-2025 14:11:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Nov-2025 14:11:00 UTC] Found 4 videos for teacher 14
[29-Nov-2025 15:11:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 15:11:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[29-Nov-2025 15:11:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:11:06 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:11:06 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:11:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 15:11:06 Europe/Berlin] Session role: not set
[29-Nov-2025 15:11:06 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 USER ID: NOT SET
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 USER ROLE: NOT SET
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 SESSION STATUS: 1
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 SESSION ID: 
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[29-Nov-2025 15:12:10 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/1NTKwpAVcHg?si=iTOZz2TxslhXGRaz
    [detected_platform] => youtube
    [video_id_external] => 1NTKwpAVcHg
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/1NTKwpAVcHg?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 7:15
    [video_type] => url
    [manual_duration] => 
    [title] => Give Me 7 Minutes & Your Web Design Skills Will Take Off
    [course_id] => 13
    [description] => sdc
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[29-Nov-2025 15:12:10 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[29-Nov-2025 15:12:10 Europe/Berlin] 📥 REQUEST METHOD: POST
[29-Nov-2025 15:12:10 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[29-Nov-2025 15:12:10 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[29-Nov-2025 15:12:10 Europe/Berlin] 📋 ALL POST DATA:
[29-Nov-2025 15:12:10 Europe/Berlin]   form_type: video_upload
[29-Nov-2025 15:12:10 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 15:12:10 Europe/Berlin]   video_url: https://youtu.be/1NTKwpAVcHg?si=iTOZz2TxslhXGRaz
[29-Nov-2025 15:12:10 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 15:12:10 Europe/Berlin]   video_id_external: 1NTKwpAVcHg
[29-Nov-2025 15:12:10 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/1NTKwpAVcHg?rel=0&showinfo=0&mo...
[29-Nov-2025 15:12:10 Europe/Berlin]   detected_duration: 7:15
[29-Nov-2025 15:12:10 Europe/Berlin]   video_type: url
[29-Nov-2025 15:12:10 Europe/Berlin]   manual_duration: 
[29-Nov-2025 15:12:10 Europe/Berlin]   title: Give Me 7 Minutes & Your Web Design Skills Will Take Off
[29-Nov-2025 15:12:10 Europe/Berlin]   course_id: 13
[29-Nov-2025 15:12:10 Europe/Berlin]   description: sdc
[29-Nov-2025 15:12:10 Europe/Berlin]   category_name: Data Science
[29-Nov-2025 15:12:10 Europe/Berlin]   is_published: 1
[29-Nov-2025 15:12:10 Europe/Berlin]   content_types: [quiz]
[29-Nov-2025 15:12:10 Europe/Berlin]   ajax: 1
[29-Nov-2025 15:12:10 Europe/Berlin] 📂 ALL FILES DATA:
[29-Nov-2025 15:12:10 Europe/Berlin]   video:  (0 bytes, error: 4)
[29-Nov-2025 15:12:10 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[29-Nov-2025 15:12:10 Europe/Berlin]   video_type: url
[29-Nov-2025 15:12:10 Europe/Berlin]   video_url: https://youtu.be/1NTKwpAVcHg?si=iTOZz2TxslhXGRaz
[29-Nov-2025 15:12:10 Europe/Berlin]   detected_platform: youtube
[29-Nov-2025 15:12:10 Europe/Berlin]   video_id_external: 1NTKwpAVcHg
[29-Nov-2025 15:12:10 Europe/Berlin]   embed_code: HAS_VALUE
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[29-Nov-2025 15:12:10 Europe/Berlin]   video_type: url
[29-Nov-2025 15:12:10 Europe/Berlin]   $_FILES available: YES
[29-Nov-2025 15:12:10 Europe/Berlin]   $_FILES keys: video, thumbnail
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[29-Nov-2025 15:12:10 Europe/Berlin]   platform: youtube
[29-Nov-2025 15:12:10 Europe/Berlin]   video_id_ext: 1NTKwpAVcHg
[29-Nov-2025 15:12:10 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/1NTKwpAVcHg/maxresdefault.jpg
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[29-Nov-2025 15:12:10 Europe/Berlin]   detected_duration: 7:15
[29-Nov-2025 15:12:10 Europe/Berlin]   manual_duration: 
[29-Nov-2025 15:12:10 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[29-Nov-2025 15:12:10 Europe/Berlin] 🎯 FOUND detected_duration field: 7:15
[29-Nov-2025 15:12:10 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 7:15
[29-Nov-2025 15:12:10 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[29-Nov-2025 15:12:10 Europe/Berlin]   teacher_id: 14
[29-Nov-2025 15:12:10 Europe/Berlin]   course_id: 13
[29-Nov-2025 15:12:10 Europe/Berlin]   title: Give Me 7 Minutes & Your Web Design Skills Will Take Off
[29-Nov-2025 15:12:10 Europe/Berlin]   description: sdc
[29-Nov-2025 15:12:10 Europe/Berlin]   video_type: url
[29-Nov-2025 15:12:10 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/1NTKwpAVcHg/maxresdefault.jpg
[29-Nov-2025 15:12:10 Europe/Berlin]   external_url: https://youtu.be/1NTKwpAVcHg?si=iTOZz2TxslhXGRaz
[29-Nov-2025 15:12:10 Europe/Berlin]   platform: youtube
[29-Nov-2025 15:12:10 Europe/Berlin]   video_id_ext: 1NTKwpAVcHg
[29-Nov-2025 15:12:10 Europe/Berlin]   duration: 7:15
[29-Nov-2025 15:12:10 Europe/Berlin]   is_published: 1
[29-Nov-2025 15:12:10 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[29-Nov-2025 15:12:10 Europe/Berlin]   SQL prepared successfully
[29-Nov-2025 15:12:10 Europe/Berlin]   About to execute with bound parameters
[29-Nov-2025 15:12:10 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[29-Nov-2025 15:12:10 Europe/Berlin]   Generated video_id: 27
[29-Nov-2025 15:12:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 15:12:22 Europe/Berlin] Teacher Auth Check - Script: videos.php
[29-Nov-2025 15:12:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:12:22 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:12:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:12:22 Europe/Berlin] isLoggedIn check result: true
[29-Nov-2025 15:12:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1764425460
    [last_regeneration] => 1764425460
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764425460
    [session_started_at] => 2025-11-29 15:11:00
    [login_redirect_count] => 0
)

[29-Nov-2025 15:12:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Nov-2025 15:12:22 Europe/Berlin] Session role: not set
[29-Nov-2025 15:12:22 Europe/Berlin] Session user_role: teacher
[29-Nov-2025 19:25:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Nov-2025 19:25:04 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Nov-2025 19:25:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-11-29 19:25:04
)

[29-Nov-2025 19:25:04 Europe/Berlin] isLoggedIn check result: false
[29-Nov-2025 19:25:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-11-29 19:25:04
)

[30-Nov-2025 08:44:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 08:44:18 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[30-Nov-2025 08:44:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
)

[30-Nov-2025 08:44:18 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
)

[30-Nov-2025 08:44:18 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
)

[30-Nov-2025 08:44:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 08:44:18 Europe/Berlin] Session role: not set
[30-Nov-2025 08:44:18 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 07:44:18 UTC] Fetching videos for teacher_id: 14
[30-Nov-2025 07:44:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Nov-2025 07:44:18 UTC] Found 5 videos for teacher 14
[30-Nov-2025 08:45:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 08:45:13 Europe/Berlin] Teacher Auth Check - Script: videos.php
[30-Nov-2025 08:45:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:13 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:45:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:13 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:45:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 08:45:13 Europe/Berlin] Session role: not set
[30-Nov-2025 08:45:13 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 08:45:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 08:45:18 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[30-Nov-2025 08:45:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:18 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:18 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:45:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 08:45:18 Europe/Berlin] Session role: not set
[30-Nov-2025 08:45:18 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 USER ID: NOT SET
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 USER ROLE: NOT SET
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 SESSION STATUS: 1
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 SESSION ID: 
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[30-Nov-2025 08:46:42 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/g7xkVEWrX8E?si=ASyQ3-htb6Bbyip-
    [detected_platform] => youtube
    [video_id_external] => g7xkVEWrX8E
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/g7xkVEWrX8E?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:48
    [video_type] => url
    [manual_duration] => 
    [title] => 9 Web Design Hacks I Wish I Knew Years Ago
    [course_id] => 13
    [description] => welcome
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[30-Nov-2025 08:46:42 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[30-Nov-2025 08:46:42 Europe/Berlin] 📥 REQUEST METHOD: POST
[30-Nov-2025 08:46:42 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[30-Nov-2025 08:46:42 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[30-Nov-2025 08:46:42 Europe/Berlin] 📋 ALL POST DATA:
[30-Nov-2025 08:46:42 Europe/Berlin]   form_type: video_upload
[30-Nov-2025 08:46:42 Europe/Berlin]   teacher_id: 14
[30-Nov-2025 08:46:42 Europe/Berlin]   video_url: https://youtu.be/g7xkVEWrX8E?si=ASyQ3-htb6Bbyip-
[30-Nov-2025 08:46:42 Europe/Berlin]   detected_platform: youtube
[30-Nov-2025 08:46:42 Europe/Berlin]   video_id_external: g7xkVEWrX8E
[30-Nov-2025 08:46:42 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/g7xkVEWrX8E?rel=0&showinfo=0&mo...
[30-Nov-2025 08:46:42 Europe/Berlin]   detected_duration: 0:48
[30-Nov-2025 08:46:42 Europe/Berlin]   video_type: url
[30-Nov-2025 08:46:42 Europe/Berlin]   manual_duration: 
[30-Nov-2025 08:46:42 Europe/Berlin]   title: 9 Web Design Hacks I Wish I Knew Years Ago
[30-Nov-2025 08:46:42 Europe/Berlin]   course_id: 13
[30-Nov-2025 08:46:42 Europe/Berlin]   description: welcome
[30-Nov-2025 08:46:42 Europe/Berlin]   category_name: Cyber Security
[30-Nov-2025 08:46:42 Europe/Berlin]   is_published: 1
[30-Nov-2025 08:46:42 Europe/Berlin]   content_types: [quiz]
[30-Nov-2025 08:46:42 Europe/Berlin]   ajax: 1
[30-Nov-2025 08:46:42 Europe/Berlin] 📂 ALL FILES DATA:
[30-Nov-2025 08:46:42 Europe/Berlin]   video:  (0 bytes, error: 4)
[30-Nov-2025 08:46:42 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[30-Nov-2025 08:46:42 Europe/Berlin]   video_type: url
[30-Nov-2025 08:46:42 Europe/Berlin]   video_url: https://youtu.be/g7xkVEWrX8E?si=ASyQ3-htb6Bbyip-
[30-Nov-2025 08:46:42 Europe/Berlin]   detected_platform: youtube
[30-Nov-2025 08:46:42 Europe/Berlin]   video_id_external: g7xkVEWrX8E
[30-Nov-2025 08:46:42 Europe/Berlin]   embed_code: HAS_VALUE
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[30-Nov-2025 08:46:42 Europe/Berlin]   video_type: url
[30-Nov-2025 08:46:42 Europe/Berlin]   $_FILES available: YES
[30-Nov-2025 08:46:42 Europe/Berlin]   $_FILES keys: video, thumbnail
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[30-Nov-2025 08:46:42 Europe/Berlin]   platform: youtube
[30-Nov-2025 08:46:42 Europe/Berlin]   video_id_ext: g7xkVEWrX8E
[30-Nov-2025 08:46:42 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/g7xkVEWrX8E/maxresdefault.jpg
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[30-Nov-2025 08:46:42 Europe/Berlin]   detected_duration: 0:48
[30-Nov-2025 08:46:42 Europe/Berlin]   manual_duration: 
[30-Nov-2025 08:46:42 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[30-Nov-2025 08:46:42 Europe/Berlin] 🎯 FOUND detected_duration field: 0:48
[30-Nov-2025 08:46:42 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:48
[30-Nov-2025 08:46:42 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[30-Nov-2025 08:46:42 Europe/Berlin]   teacher_id: 14
[30-Nov-2025 08:46:42 Europe/Berlin]   course_id: 13
[30-Nov-2025 08:46:42 Europe/Berlin]   title: 9 Web Design Hacks I Wish I Knew Years Ago
[30-Nov-2025 08:46:42 Europe/Berlin]   description: welcome
[30-Nov-2025 08:46:42 Europe/Berlin]   video_type: url
[30-Nov-2025 08:46:42 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/g7xkVEWrX8E/maxresdefault.jpg
[30-Nov-2025 08:46:42 Europe/Berlin]   external_url: https://youtu.be/g7xkVEWrX8E?si=ASyQ3-htb6Bbyip-
[30-Nov-2025 08:46:42 Europe/Berlin]   platform: youtube
[30-Nov-2025 08:46:42 Europe/Berlin]   video_id_ext: g7xkVEWrX8E
[30-Nov-2025 08:46:42 Europe/Berlin]   duration: 0:48
[30-Nov-2025 08:46:42 Europe/Berlin]   is_published: 1
[30-Nov-2025 08:46:42 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[30-Nov-2025 08:46:42 Europe/Berlin]   SQL prepared successfully
[30-Nov-2025 08:46:42 Europe/Berlin]   About to execute with bound parameters
[30-Nov-2025 08:46:42 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[30-Nov-2025 08:46:42 Europe/Berlin]   Generated video_id: 28
[30-Nov-2025 08:46:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 08:46:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[30-Nov-2025 08:46:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:46:45 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:46:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:46:45 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 08:46:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1764488658
    [last_regeneration] => 1764488658
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764488658
    [session_started_at] => 2025-11-30 08:44:18
    [login_redirect_count] => 0
)

[30-Nov-2025 08:46:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 08:46:45 Europe/Berlin] Session role: not set
[30-Nov-2025 08:46:45 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 09:02:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 09:02:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[30-Nov-2025 09:02:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
)

[30-Nov-2025 09:02:07 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
)

[30-Nov-2025 09:02:07 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
)

[30-Nov-2025 09:02:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 09:02:07 Europe/Berlin] Session role: not set
[30-Nov-2025 09:02:07 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 08:02:07 UTC] Fetching videos for teacher_id: 14
[30-Nov-2025 08:02:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Nov-2025 08:02:07 UTC] Found 5 videos for teacher 14
[30-Nov-2025 09:02:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 09:02:11 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[30-Nov-2025 09:02:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:11 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:11 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 09:02:11 Europe/Berlin] Session role: not set
[30-Nov-2025 09:02:11 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 USER ID: NOT SET
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 USER ROLE: NOT SET
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 SESSION STATUS: 1
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 SESSION ID: 
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[30-Nov-2025 09:02:34 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 14
    [video_url] => https://youtu.be/F4fbwKV9dBU?si=yZUgCd0eDpBf8nh4
    [detected_platform] => youtube
    [video_id_external] => F4fbwKV9dBU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/F4fbwKV9dBU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 3:16
    [video_type] => url
    [manual_duration] => 
    [title] => Everything about Web Design in 3 minutes.
    [course_id] => 13
    [description] => welcom
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[30-Nov-2025 09:02:34 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[30-Nov-2025 09:02:34 Europe/Berlin] 📥 REQUEST METHOD: POST
[30-Nov-2025 09:02:34 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[30-Nov-2025 09:02:34 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[30-Nov-2025 09:02:34 Europe/Berlin] 📋 ALL POST DATA:
[30-Nov-2025 09:02:34 Europe/Berlin]   form_type: video_upload
[30-Nov-2025 09:02:34 Europe/Berlin]   teacher_id: 14
[30-Nov-2025 09:02:34 Europe/Berlin]   video_url: https://youtu.be/F4fbwKV9dBU?si=yZUgCd0eDpBf8nh4
[30-Nov-2025 09:02:34 Europe/Berlin]   detected_platform: youtube
[30-Nov-2025 09:02:34 Europe/Berlin]   video_id_external: F4fbwKV9dBU
[30-Nov-2025 09:02:34 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/F4fbwKV9dBU?rel=0&showinfo=0&mo...
[30-Nov-2025 09:02:34 Europe/Berlin]   detected_duration: 3:16
[30-Nov-2025 09:02:34 Europe/Berlin]   video_type: url
[30-Nov-2025 09:02:34 Europe/Berlin]   manual_duration: 
[30-Nov-2025 09:02:34 Europe/Berlin]   title: Everything about Web Design in 3 minutes.
[30-Nov-2025 09:02:34 Europe/Berlin]   course_id: 13
[30-Nov-2025 09:02:34 Europe/Berlin]   description: welcom
[30-Nov-2025 09:02:34 Europe/Berlin]   category_name: Data Science
[30-Nov-2025 09:02:34 Europe/Berlin]   is_published: 1
[30-Nov-2025 09:02:34 Europe/Berlin]   content_types: [quiz]
[30-Nov-2025 09:02:34 Europe/Berlin]   ajax: 1
[30-Nov-2025 09:02:34 Europe/Berlin] 📂 ALL FILES DATA:
[30-Nov-2025 09:02:34 Europe/Berlin]   video:  (0 bytes, error: 4)
[30-Nov-2025 09:02:34 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[30-Nov-2025 09:02:34 Europe/Berlin]   video_type: url
[30-Nov-2025 09:02:34 Europe/Berlin]   video_url: https://youtu.be/F4fbwKV9dBU?si=yZUgCd0eDpBf8nh4
[30-Nov-2025 09:02:34 Europe/Berlin]   detected_platform: youtube
[30-Nov-2025 09:02:34 Europe/Berlin]   video_id_external: F4fbwKV9dBU
[30-Nov-2025 09:02:34 Europe/Berlin]   embed_code: HAS_VALUE
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[30-Nov-2025 09:02:34 Europe/Berlin]   video_type: url
[30-Nov-2025 09:02:34 Europe/Berlin]   $_FILES available: YES
[30-Nov-2025 09:02:34 Europe/Berlin]   $_FILES keys: video, thumbnail
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[30-Nov-2025 09:02:34 Europe/Berlin]   platform: youtube
[30-Nov-2025 09:02:34 Europe/Berlin]   video_id_ext: F4fbwKV9dBU
[30-Nov-2025 09:02:34 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/F4fbwKV9dBU/maxresdefault.jpg
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[30-Nov-2025 09:02:34 Europe/Berlin]   detected_duration: 3:16
[30-Nov-2025 09:02:34 Europe/Berlin]   manual_duration: 
[30-Nov-2025 09:02:34 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[30-Nov-2025 09:02:34 Europe/Berlin] 🎯 FOUND detected_duration field: 3:16
[30-Nov-2025 09:02:34 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 3:16
[30-Nov-2025 09:02:34 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[30-Nov-2025 09:02:34 Europe/Berlin]   teacher_id: 14
[30-Nov-2025 09:02:34 Europe/Berlin]   course_id: 13
[30-Nov-2025 09:02:34 Europe/Berlin]   title: Everything about Web Design in 3 minutes.
[30-Nov-2025 09:02:34 Europe/Berlin]   description: welcom
[30-Nov-2025 09:02:34 Europe/Berlin]   video_type: url
[30-Nov-2025 09:02:34 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/F4fbwKV9dBU/maxresdefault.jpg
[30-Nov-2025 09:02:34 Europe/Berlin]   external_url: https://youtu.be/F4fbwKV9dBU?si=yZUgCd0eDpBf8nh4
[30-Nov-2025 09:02:34 Europe/Berlin]   platform: youtube
[30-Nov-2025 09:02:34 Europe/Berlin]   video_id_ext: F4fbwKV9dBU
[30-Nov-2025 09:02:34 Europe/Berlin]   duration: 3:16
[30-Nov-2025 09:02:34 Europe/Berlin]   is_published: 1
[30-Nov-2025 09:02:34 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[30-Nov-2025 09:02:34 Europe/Berlin]   SQL prepared successfully
[30-Nov-2025 09:02:34 Europe/Berlin]   About to execute with bound parameters
[30-Nov-2025 09:02:34 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[30-Nov-2025 09:02:34 Europe/Berlin]   Generated video_id: 29
[30-Nov-2025 09:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Script: videos.php
[30-Nov-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1764489727
    [last_regeneration] => 1764489727
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764489727
    [session_started_at] => 2025-11-30 09:02:07
    [login_redirect_count] => 0
)

[30-Nov-2025 09:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 09:02:37 Europe/Berlin] Session role: not set
[30-Nov-2025 09:02:37 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 12:11:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 12:11:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[30-Nov-2025 12:11:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
)

[30-Nov-2025 12:11:13 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
)

[30-Nov-2025 12:11:13 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
)

[30-Nov-2025 12:11:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 12:11:13 Europe/Berlin] Session role: not set
[30-Nov-2025 12:11:13 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 11:11:13 UTC] Fetching videos for teacher_id: 14
[30-Nov-2025 11:11:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[30-Nov-2025 11:11:13 UTC] Found 5 videos for teacher 14
[30-Nov-2025 12:11:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 12:11:20 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[30-Nov-2025 12:11:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:20 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:20 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 12:11:20 Europe/Berlin] Session role: not set
[30-Nov-2025 12:11:20 Europe/Berlin] Session user_role: teacher
[30-Nov-2025 12:11:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[30-Nov-2025 12:11:25 Europe/Berlin] Teacher Auth Check - Script: videos.php
[30-Nov-2025 12:11:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:25 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:25 Europe/Berlin] isLoggedIn check result: true
[30-Nov-2025 12:11:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1764501072
    [last_regeneration] => 1764501072
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1764501072
    [session_started_at] => 2025-11-30 12:11:13
    [login_redirect_count] => 0
)

[30-Nov-2025 12:11:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[30-Nov-2025 12:11:25 Europe/Berlin] Session role: not set
[30-Nov-2025 12:11:25 Europe/Berlin] Session user_role: teacher
[01-Dec-2025 05:18:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[01-Dec-2025 05:18:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[01-Dec-2025 05:18:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-01 05:18:12
)

[01-Dec-2025 05:18:12 Europe/Berlin] isLoggedIn check result: false
[01-Dec-2025 05:18:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-01 05:18:12
)

[03-Dec-2025 02:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Dec-2025 02:47:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[03-Dec-2025 02:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-03 02:47:57
)

[03-Dec-2025 02:47:57 Europe/Berlin] isLoggedIn check result: false
[03-Dec-2025 02:47:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-03 02:47:57
)

[03-Dec-2025 22:20:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Dec-2025 22:20:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[03-Dec-2025 22:20:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-03 22:20:43
)

[03-Dec-2025 22:20:43 Europe/Berlin] isLoggedIn check result: false
[03-Dec-2025 22:20:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-03 22:20:43
)

[04-Dec-2025 09:09:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 09:09:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 09:09:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 09:09:21
)

[04-Dec-2025 09:09:21 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 09:09:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 09:09:21
)

[04-Dec-2025 15:55:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 15:55:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 15:55:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 15:55:39
)

[04-Dec-2025 15:55:39 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 15:55:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 15:55:39
)

[04-Dec-2025 18:37:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 18:37:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 18:37:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 18:37:12
)

[04-Dec-2025 18:37:12 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 18:37:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 18:37:12
)

[04-Dec-2025 19:47:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 19:47:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 19:47:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 19:47:55
)

[04-Dec-2025 19:47:55 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 19:47:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 19:47:55
)

[04-Dec-2025 19:48:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 19:48:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 19:48:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 19:48:58
)

[04-Dec-2025 19:48:58 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 19:48:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 19:48:58
)

[04-Dec-2025 21:42:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Dec-2025 21:42:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Dec-2025 21:42:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-04 21:41:23
    [created_at] => 1764880883
    [last_regeneration] => 1764880883
    [stored_redirect] => /student/courses.php
    [redirect_to_cart] => 
)

[04-Dec-2025 21:42:32 Europe/Berlin] isLoggedIn check result: false
[04-Dec-2025 21:42:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-04 21:41:23
    [created_at] => 1764880883
    [last_regeneration] => 1764880883
    [stored_redirect] => /student/courses.php
    [redirect_to_cart] => 
)

[05-Dec-2025 06:57:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Dec-2025 06:57:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[05-Dec-2025 06:57:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-05 06:57:54
)

[05-Dec-2025 06:57:54 Europe/Berlin] isLoggedIn check result: false
[05-Dec-2025 06:57:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-05 06:57:54
)

[06-Dec-2025 07:37:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 07:37:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 07:37:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
)

[06-Dec-2025 07:37:25 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:37:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
)

[06-Dec-2025 07:37:25 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:37:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
)

[06-Dec-2025 07:37:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 07:37:25 Europe/Berlin] Session role: not set
[06-Dec-2025 07:37:25 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 06:37:26 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 06:37:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 06:37:26 UTC] Found 5 videos for teacher 14
[06-Dec-2025 07:40:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 07:40:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 07:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:40:48 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:40:48 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 07:40:48 Europe/Berlin] Session role: not set
[06-Dec-2025 07:40:48 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 06:40:48 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 06:40:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 06:40:48 UTC] Found 5 videos for teacher 14
[06-Dec-2025 07:41:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 07:41:10 Europe/Berlin] Teacher Auth Check - Script: profile.php
[06-Dec-2025 07:41:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:41:10 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:41:10 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:41:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 07:41:10 Europe/Berlin] Session role: not set
[06-Dec-2025 07:41:10 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 06:41:21 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[06-Dec-2025 07:46:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 07:46:40 Europe/Berlin] Teacher Auth Check - Script: profile.php
[06-Dec-2025 07:46:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:40 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:46:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:40 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:46:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 07:46:40 Europe/Berlin] Session role: not set
[06-Dec-2025 07:46:40 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 06:46:40 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[06-Dec-2025 06:46:40 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 107
[06-Dec-2025 06:46:40 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/profile.php:117
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/profile.php on line 117
[06-Dec-2025 07:46:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 07:46:51 Europe/Berlin] Teacher Auth Check - Script: profile.php
[06-Dec-2025 07:46:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:51 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:46:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:51 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 07:46:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765003045
    [last_regeneration] => 1765003045
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765003045
    [session_started_at] => 2025-12-06 07:37:25
    [login_redirect_count] => 0
)

[06-Dec-2025 07:46:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 07:46:51 Europe/Berlin] Session role: not set
[06-Dec-2025 07:46:51 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 06:46:51 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[06-Dec-2025 18:51:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:51:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 18:51:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
)

[06-Dec-2025 18:51:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
)

[06-Dec-2025 18:51:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
)

[06-Dec-2025 18:51:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:51:29 Europe/Berlin] Session role: not set
[06-Dec-2025 18:51:29 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:51:29 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 17:51:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 17:51:29 UTC] Found 5 videos for teacher 14
[06-Dec-2025 18:51:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:51:45 Europe/Berlin] Teacher Auth Check - Script: settings.php
[06-Dec-2025 18:51:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:45 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:45 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:51:45 Europe/Berlin] Session role: not set
[06-Dec-2025 18:51:45 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:51:45 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[06-Dec-2025 18:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:51:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 18:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:48 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:48 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:51:48 Europe/Berlin] Session role: not set
[06-Dec-2025 18:51:48 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:51:49 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 17:51:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 17:51:49 UTC] Found 5 videos for teacher 14
[06-Dec-2025 18:52:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:10 Europe/Berlin] Teacher Auth Check - Script: courses.php
[06-Dec-2025 18:52:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:10 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:10 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:10 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:10 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:52:10 UTC] DB Connection Status: Connected
[06-Dec-2025 17:52:10 UTC] User with ID 14 found
[06-Dec-2025 17:52:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 18:52:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:13 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Dec-2025 18:52:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:13 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:13 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:13 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:13 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:52:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 18:52:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 18:52:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:26 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:26 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:26 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:26 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:52:26 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 17:52:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 17:52:26 UTC] Found 5 videos for teacher 14
[06-Dec-2025 18:52:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[06-Dec-2025 18:52:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:28 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:28 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:28 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:28 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:52:28 UTC] DB Connection Status: Connected
[06-Dec-2025 17:52:28 UTC] User with ID 14 found
[06-Dec-2025 17:52:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 18:52:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:29 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Dec-2025 18:52:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:29 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:29 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 17:52:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 18:52:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:31 Europe/Berlin] Teacher Auth Check - Script: videos.php
[06-Dec-2025 18:52:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:31 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:31 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:31 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:31 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:52:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:34 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[06-Dec-2025 18:52:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:34 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:34 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:34 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:34 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:52:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:52:36 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Dec-2025 18:52:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:36 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:36 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 18:52:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:52:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:52:36 Europe/Berlin] Session role: not set
[06-Dec-2025 18:52:36 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:52:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 17:52:40 UTC] Teacher Auth Check - Script: manage-course-materials.php
[06-Dec-2025 17:52:40 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:40 UTC] isLoggedIn check result: true
[06-Dec-2025 17:52:40 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:40 UTC] isLoggedIn check result: true
[06-Dec-2025 17:52:40 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:40 UTC] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 17:52:40 UTC] Session role: not set
[06-Dec-2025 17:52:40 UTC] Session user_role: teacher
[06-Dec-2025 18:52:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 17:52:43 UTC] Teacher Auth Check - Script: library_submissions.php
[06-Dec-2025 17:52:43 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:43 UTC] isLoggedIn check result: true
[06-Dec-2025 17:52:43 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:43 UTC] isLoggedIn check result: true
[06-Dec-2025 17:52:43 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 17:52:43 UTC] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 17:52:43 UTC] Session role: not set
[06-Dec-2025 17:52:43 UTC] Session user_role: teacher
[06-Dec-2025 19:00:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 18:00:53 UTC] Teacher Auth Check - Script: library_submissions.php
[06-Dec-2025 18:00:53 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:00:53 UTC] isLoggedIn check result: true
[06-Dec-2025 18:00:53 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:00:53 UTC] isLoggedIn check result: true
[06-Dec-2025 18:00:53 UTC] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 18:00:53 UTC] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 18:00:53 UTC] Session role: not set
[06-Dec-2025 18:00:53 UTC] Session user_role: teacher
[06-Dec-2025 19:01:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Dec-2025 19:01:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:24 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:24 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:24 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:24 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:01:24 UTC] Fetching videos for teacher_id: 14
[06-Dec-2025 18:01:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[06-Dec-2025 18:01:24 UTC] Found 5 videos for teacher 14
[06-Dec-2025 19:01:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:29 Europe/Berlin] Teacher Auth Check - Script: courses.php
[06-Dec-2025 19:01:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:29 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:29 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:29 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:01:29 UTC] DB Connection Status: Connected
[06-Dec-2025 18:01:29 UTC] User with ID 14 found
[06-Dec-2025 18:01:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 19:01:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:31 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[06-Dec-2025 19:01:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:31 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:31 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:31 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:31 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 18:01:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[06-Dec-2025 19:01:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:34 Europe/Berlin] Teacher Auth Check - Script: videos.php
[06-Dec-2025 19:01:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:34 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:34 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:34 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:34 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 19:01:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[06-Dec-2025 19:01:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:38 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:38 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:38 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:38 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 19:01:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:01:57 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Dec-2025 19:01:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:57 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:57 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:01:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:01:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:01:57 Europe/Berlin] Session role: not set
[06-Dec-2025 19:01:57 Europe/Berlin] Session user_role: teacher
[06-Dec-2025 19:02:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Dec-2025 19:02:02 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[06-Dec-2025 19:02:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:02:02 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:02:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:02:02 Europe/Berlin] isLoggedIn check result: true
[06-Dec-2025 19:02:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765043488
    [last_regeneration] => 1765043488
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765043488
    [session_started_at] => 2025-12-06 18:51:29
    [login_redirect_count] => 0
)

[06-Dec-2025 19:02:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[06-Dec-2025 19:02:02 Europe/Berlin] Session role: not set
[06-Dec-2025 19:02:02 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 11:39:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 11:39:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[07-Dec-2025 11:39:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-07 11:39:36
)

[07-Dec-2025 11:39:36 Europe/Berlin] isLoggedIn check result: false
[07-Dec-2025 11:39:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-07 11:39:36
)

[07-Dec-2025 14:53:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 14:53:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[07-Dec-2025 14:53:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
)

[07-Dec-2025 14:53:15 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 14:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
)

[07-Dec-2025 14:53:15 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 14:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
)

[07-Dec-2025 14:53:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 14:53:15 Europe/Berlin] Session role: not set
[07-Dec-2025 14:53:15 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 13:53:16 UTC] Fetching videos for teacher_id: 14
[07-Dec-2025 13:53:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[07-Dec-2025 13:53:16 UTC] Found 5 videos for teacher 14
[07-Dec-2025 14:53:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 14:53:33 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 14:53:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 14:53:33 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 14:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 14:53:33 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 14:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 14:53:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 14:53:33 Europe/Berlin] Session role: not set
[07-Dec-2025 14:53:33 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 13:53:34 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[07-Dec-2025 15:02:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:02:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[07-Dec-2025 15:02:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:02:42 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:02:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:02:42 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:02:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:02:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:02:42 Europe/Berlin] Session role: not set
[07-Dec-2025 15:02:42 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:02:43 UTC] Fetching videos for teacher_id: 14
[07-Dec-2025 14:02:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[07-Dec-2025 14:02:43 UTC] Found 5 videos for teacher 14
[07-Dec-2025 15:03:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:03:03 Europe/Berlin] Teacher Auth Check - Script: courses.php
[07-Dec-2025 15:03:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:03:03 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:03:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:03:03 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:03:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:03:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:03:03 Europe/Berlin] Session role: not set
[07-Dec-2025 15:03:03 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:03:03 UTC] DB Connection Status: Connected
[07-Dec-2025 14:03:04 UTC] User with ID 14 found
[07-Dec-2025 14:03:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[07-Dec-2025 15:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:08:59 Europe/Berlin] Teacher Auth Check - Script: debug_teacher_data.php
[07-Dec-2025 15:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:08:59 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:08:59 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:08:59 Europe/Berlin] Session role: not set
[07-Dec-2025 15:08:59 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 15:10:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:10:36 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:10:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:10:36 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:10:36 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:10:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:10:36 Europe/Berlin] Session role: not set
[07-Dec-2025 15:10:36 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:10:36 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[07-Dec-2025 15:15:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:15:10 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:15:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:15:10 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:15:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:15:10 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:15:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:15:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:15:10 Europe/Berlin] Session role: not set
[07-Dec-2025 15:15:10 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 15:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:16:48 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:16:48 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:16:48 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:16:48 Europe/Berlin] Session role: not set
[07-Dec-2025 15:16:48 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:16:48 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 14:16:48 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/profile.php:111
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/profile.php on line 111
[07-Dec-2025 15:18:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:18:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[07-Dec-2025 15:18:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-07 15:18:43
)

[07-Dec-2025 15:18:43 Europe/Berlin] isLoggedIn check result: false
[07-Dec-2025 15:18:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-07 15:18:43
)

[07-Dec-2025 15:18:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:18:54 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:18:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:18:54 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:18:54 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:18:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:18:54 Europe/Berlin] Session role: not set
[07-Dec-2025 15:18:54 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 15:19:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:19:00 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:19:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:19:00 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:19:00 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:19:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:19:00 Europe/Berlin] Session role: not set
[07-Dec-2025 15:19:00 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:19:01 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 14:19:01 UTC] PHP Fatal error:  Uncaught Error: Call to a member function fetch_assoc() on bool in /home/twpurnyc/public_html/teacher/profile.php:159
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/profile.php on line 159
[07-Dec-2025 15:20:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:20:39 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:20:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:39 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:39 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:20:39 Europe/Berlin] Session role: not set
[07-Dec-2025 15:20:39 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:20:39 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 15:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:20:48 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:48 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:48 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:20:48 Europe/Berlin] Session role: not set
[07-Dec-2025 15:20:48 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:20:48 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 15:21:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:21:06 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:21:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:21:06 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:21:06 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:21:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:21:06 Europe/Berlin] Session role: not set
[07-Dec-2025 15:21:06 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 15:26:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:26:04 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:26:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:04 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:04 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:26:04 Europe/Berlin] Session role: not set
[07-Dec-2025 15:26:04 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 15:26:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:26:12 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:26:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:12 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:12 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:26:12 Europe/Berlin] Session role: not set
[07-Dec-2025 15:26:12 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:26:13 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 15:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 15:26:18 Europe/Berlin] Teacher Auth Check - Script: profile.php
[07-Dec-2025 15:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:18 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:18 Europe/Berlin] isLoggedIn check result: true
[07-Dec-2025 15:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765115595
    [last_regeneration] => 1765115595
    [user_id] => 14
    [username] => lonkisdsadasda
    [email] => swususan0@gmail.com
    [first_name] => bnd
    [last_name] => susan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765115595
    [session_started_at] => 2025-12-07 14:53:15
    [login_redirect_count] => 0
)

[07-Dec-2025 15:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[07-Dec-2025 15:26:18 Europe/Berlin] Session role: not set
[07-Dec-2025 15:26:18 Europe/Berlin] Session user_role: teacher
[07-Dec-2025 14:26:19 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[07-Dec-2025 18:08:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[07-Dec-2025 18:08:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[07-Dec-2025 18:08:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-07 18:08:33
)

[07-Dec-2025 18:08:33 Europe/Berlin] isLoggedIn check result: false
[07-Dec-2025 18:08:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-07 18:08:33
)

[08-Dec-2025 05:52:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 05:52:33 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 05:52:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 05:52:33
)

[08-Dec-2025 05:52:33 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 05:52:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
)

[08-Dec-2025 06:01:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:01:50 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 06:01:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:01:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:01:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:01:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:01:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:01:50 Europe/Berlin] hasPermission check - Required: teacher, User: student
[08-Dec-2025 06:01:50 Europe/Berlin] Session role: not set
[08-Dec-2025 06:01:50 Europe/Berlin] Session user_role: student
[08-Dec-2025 06:01:50 Europe/Berlin] Teacher Auth - Access denied for user role: student
[08-Dec-2025 06:02:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:02:05 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 06:02:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:02:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:02:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:05 Europe/Berlin] hasPermission check - Required: teacher, User: student
[08-Dec-2025 06:02:05 Europe/Berlin] Session role: not set
[08-Dec-2025 06:02:05 Europe/Berlin] Session user_role: student
[08-Dec-2025 06:02:05 Europe/Berlin] Teacher Auth - Access denied for user role: student
[08-Dec-2025 06:02:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:02:07 Europe/Berlin] Teacher Auth Check - Script: debug_teacher_data.php
[08-Dec-2025 06:02:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:02:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:02:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 05:52:33
    [login_redirect_count] => 1
    [last_page] => /teacher/profile.php
    [created_at] => 1765170109
    [last_regeneration] => 1765170109
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 15
    [username] => swususan0@gmail.com
    [email] => futuristicpath357@gmail.com
    [first_name] => Kahindo
    [last_name] => Brian
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765170109
)

[08-Dec-2025 06:02:07 Europe/Berlin] hasPermission check - Required: teacher, User: student
[08-Dec-2025 06:02:07 Europe/Berlin] Session role: not set
[08-Dec-2025 06:02:07 Europe/Berlin] Session user_role: student
[08-Dec-2025 06:02:07 Europe/Berlin] Teacher Auth - Access denied for user role: student
[08-Dec-2025 06:48:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:48:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 06:48:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
)

[08-Dec-2025 06:48:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:48:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
)

[08-Dec-2025 06:48:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:48:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
)

[08-Dec-2025 06:48:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 06:48:25 Europe/Berlin] Session role: not set
[08-Dec-2025 06:48:25 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 05:48:25 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 05:48:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 05:48:25 UTC] Found 0 videos for teacher 28
[08-Dec-2025 06:49:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:49:03 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 06:49:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:49:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:49:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:49:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:49:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:49:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 06:49:03 Europe/Berlin] Session role: not set
[08-Dec-2025 06:49:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:53:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 06:53:19 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 06:53:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:53:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:53:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 06:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 06:53:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 06:53:19 Europe/Berlin] Session role: not set
[08-Dec-2025 06:53:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:08:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:08:23 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:08:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:08:23 Europe/Berlin] Session role: not set
[08-Dec-2025 07:08:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:08:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:08:44 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:08:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:08:44 Europe/Berlin] Session role: not set
[08-Dec-2025 07:08:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:08:44 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 101
[08-Dec-2025 07:08:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:08:58 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:08:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:08:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:08:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:08:58 Europe/Berlin] Session role: not set
[08-Dec-2025 07:08:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:15:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:15:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 07:15:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 07:15:55
)

[08-Dec-2025 07:15:56 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 07:15:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 07:15:55
)

[08-Dec-2025 07:15:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:15:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 07:15:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 07:15:59
)

[08-Dec-2025 07:15:59 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 07:15:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 07:15:59
)

[08-Dec-2025 07:17:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:17:05 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:17:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:17:05 Europe/Berlin] Session role: not set
[08-Dec-2025 07:17:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:17:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:17:18 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:17:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:17:18 Europe/Berlin] Session role: not set
[08-Dec-2025 07:17:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:17:18 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 103
[08-Dec-2025 07:17:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:17:52 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 07:17:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:17:52 Europe/Berlin] Session role: not set
[08-Dec-2025 07:17:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:17:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:17:56 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 07:17:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:17:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:17:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:17:56 Europe/Berlin] Session role: not set
[08-Dec-2025 07:17:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:24:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:24:06 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:24:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:24:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:24:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:24:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:24:06 Europe/Berlin] Session role: not set
[08-Dec-2025 07:24:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:24:06 UTC] Error 8: Undefined index: email in /home/twpurnyc/public_html/teacher/profile.php on line 103
[08-Dec-2025 07:26:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:26:55 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:26:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:26:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:26:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:26:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:26:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:26:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:26:55 Europe/Berlin] Session role: not set
[08-Dec-2025 07:26:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:28:48 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:28:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:28:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:28:48 Europe/Berlin] Session role: not set
[08-Dec-2025 07:28:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:33:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:33:01 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:33:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:33:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:33:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:33:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:33:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:33:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:33:01 Europe/Berlin] Session role: not set
[08-Dec-2025 07:33:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:38:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:38:56 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:38:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:38:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:38:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:38:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:38:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:38:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:38:56 Europe/Berlin] Session role: not set
[08-Dec-2025 07:38:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:39:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:39:23 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:39:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:39:23 Europe/Berlin] Session role: not set
[08-Dec-2025 07:39:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:39:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:39:58 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:39:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:39:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:39:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:39:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:39:58 Europe/Berlin] Session role: not set
[08-Dec-2025 07:39:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:41:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:41:49 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 07:41:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:41:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:41:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:41:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:41:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:41:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:41:49 Europe/Berlin] Session role: not set
[08-Dec-2025 07:41:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:52:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:52:37 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:52:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:52:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:52:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:52:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:52:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:52:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:52:37 Europe/Berlin] Session role: not set
[08-Dec-2025 07:52:37 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:53:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:53:08 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:53:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:53:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:53:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:53:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:53:08 Europe/Berlin] Session role: not set
[08-Dec-2025 07:53:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:53:08 UTC] Profile picture upload triggered for user 28
[08-Dec-2025 06:53:08 UTC] File error: 0
[08-Dec-2025 06:53:08 UTC] File type: image/png
[08-Dec-2025 06:53:08 UTC] File size: 21118
[08-Dec-2025 07:56:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:56:33 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 07:56:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:56:33 Europe/Berlin] Session role: not set
[08-Dec-2025 07:56:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:56:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 07:56:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 07:56:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:56:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 07:56:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 07:56:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 07:56:36 Europe/Berlin] Session role: not set
[08-Dec-2025 07:56:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 06:56:36 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 06:56:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 06:56:36 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:03:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:03:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:03:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:03:48 Europe/Berlin] Session role: not set
[08-Dec-2025 08:03:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:03:48 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:03:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:03:48 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:07:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:07:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:07:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:07:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:07:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:07:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:07:25 Europe/Berlin] Session role: not set
[08-Dec-2025 08:07:25 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:07:25 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:07:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:07:25 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:10:19 Europe/Berlin] Session role: not set
[08-Dec-2025 08:10:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:10:19 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:10:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:10:19 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:17:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:17:27 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:17:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:17:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:17:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:17:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:17:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:17:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:17:27 Europe/Berlin] Session role: not set
[08-Dec-2025 08:17:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:17:27 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:17:27 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:17:27 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:20:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:20:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:20:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:20:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:20:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:20:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:20:51 Europe/Berlin] Session role: not set
[08-Dec-2025 08:20:51 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:20:52 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:20:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:20:52 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:24:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:24:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:24:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:24:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:24:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:24:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:24:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:24:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:24:54 Europe/Berlin] Session role: not set
[08-Dec-2025 08:24:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:24:54 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:24:54 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:24:54 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:25:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:25:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:25:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:25:48 Europe/Berlin] Session role: not set
[08-Dec-2025 08:25:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:25:48 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:25:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:25:48 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:29:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:29:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:29:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:29:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:29:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:29:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:29:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:29:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:29:10 Europe/Berlin] Session role: not set
[08-Dec-2025 08:29:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:29:10 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:29:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:29:10 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:31:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:31:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:31:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
)

[08-Dec-2025 08:31:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:31:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
)

[08-Dec-2025 08:31:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:31:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
)

[08-Dec-2025 08:31:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:31:19 Europe/Berlin] Session role: not set
[08-Dec-2025 08:31:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:31:19 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:31:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:31:19 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:32:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:19 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 08:32:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:32:19 Europe/Berlin] Session role: not set
[08-Dec-2025 08:32:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:32:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 08:32:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:25 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 08:32:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 08:32:25
)

[08-Dec-2025 08:32:25 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 08:32:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 08:32:25
)

[08-Dec-2025 08:32:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:30 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 08:32:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:32:30 Europe/Berlin] Session role: not set
[08-Dec-2025 08:32:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:32:30 UTC] DB Connection Status: Connected
[08-Dec-2025 07:32:30 UTC] User with ID 28 found
[08-Dec-2025 07:32:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 08:32:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:34 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 08:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 08:32:34
)

[08-Dec-2025 08:32:34 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 08:32:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 08:32:34
)

[08-Dec-2025 08:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:48 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Dec-2025 08:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:32:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:32:48 Europe/Berlin] Session role: not set
[08-Dec-2025 08:32:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:32:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:32:51 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Dec-2025 08:32:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 08:32:51
)

[08-Dec-2025 08:32:51 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 08:32:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 08:32:51
)

[08-Dec-2025 08:33:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:02 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Dec-2025 08:33:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:33:02 Europe/Berlin] Session role: not set
[08-Dec-2025 08:33:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:33:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Dec-2025 08:33:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 08:33:06
)

[08-Dec-2025 08:33:06 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 08:33:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 08:33:06
)

[08-Dec-2025 08:33:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:14 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[08-Dec-2025 08:33:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:33:14 Europe/Berlin] Session role: not set
[08-Dec-2025 08:33:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:33:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:30 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Dec-2025 08:33:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:33:30 Europe/Berlin] Session role: not set
[08-Dec-2025 08:33:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:33:30 UTC] isLoggedIn check result: true
[08-Dec-2025 07:33:30 UTC] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:41 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 08:33:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:33:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 06:46:35
    [created_at] => 1765179078
    [last_regeneration] => 1765179078
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765179078
    [login_redirect_count] => 0
)

[08-Dec-2025 08:33:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:33:41 Europe/Berlin] Session role: not set
[08-Dec-2025 08:33:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:33:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:33:45 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 08:33:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 08:33:45
)

[08-Dec-2025 08:33:45 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 08:33:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 08:33:45
)

[08-Dec-2025 08:35:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:35:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:35:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:35:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:35:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:35:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:35:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:35:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:35:23 Europe/Berlin] Session role: not set
[08-Dec-2025 08:35:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:35:23 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:35:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:35:23 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:38:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:38:07 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:38:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:38:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:38:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:38:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:38:07 Europe/Berlin] Session role: not set
[08-Dec-2025 08:38:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:38:07 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:38:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:38:07 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:42:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:42:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:42:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:42:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:42:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:42:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:42:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:42:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:42:02 Europe/Berlin] Session role: not set
[08-Dec-2025 08:42:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:42:06 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:42:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:42:06 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:47:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:47:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:47:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:47:57 Europe/Berlin] Session role: not set
[08-Dec-2025 08:47:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:47:57 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:47:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:47:57 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:51:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:51:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:51:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:51:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:51:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:51:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:51:17 Europe/Berlin] Session role: not set
[08-Dec-2025 08:51:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:51:17 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:51:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:51:17 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:53:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:53:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:53:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:53:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:53:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:53:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:53:20 Europe/Berlin] Session role: not set
[08-Dec-2025 08:53:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:53:20 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:53:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:53:20 UTC] Found 0 videos for teacher 28
[08-Dec-2025 08:59:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 08:59:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 08:59:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:59:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:59:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 08:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 08:59:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 08:59:43 Europe/Berlin] Session role: not set
[08-Dec-2025 08:59:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 07:59:43 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 07:59:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 07:59:43 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:03:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:03:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:03:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:03:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:03:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:03:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:03:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:03:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:03:28 Europe/Berlin] Session role: not set
[08-Dec-2025 09:03:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:03:28 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:03:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:03:28 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:06:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:06:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:06:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:06:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:06:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:06:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:06:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:06:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:06:36 Europe/Berlin] Session role: not set
[08-Dec-2025 09:06:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:06:36 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:06:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:06:36 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:09:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:09:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:09:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:09:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:09:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:09:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:09:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:09:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:09:53 Europe/Berlin] Session role: not set
[08-Dec-2025 09:09:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:09:53 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:09:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:09:53 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:11:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:11:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:11:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:11:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:11:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:11:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:11:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:11:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:11:39 Europe/Berlin] Session role: not set
[08-Dec-2025 09:11:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:11:39 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:11:39 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:11:39 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:14:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:14:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:14:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:14:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:14:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:14:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:14:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:14:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:14:10 Europe/Berlin] Session role: not set
[08-Dec-2025 09:14:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:14:10 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:14:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:14:10 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:15:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:15:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:15:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:15:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:15:20 Europe/Berlin] Session role: not set
[08-Dec-2025 09:15:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:15:22 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:15:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:15:22 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:20:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:20:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:20:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:20:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:20:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:20:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:20:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:20:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:20:38 Europe/Berlin] Session role: not set
[08-Dec-2025 09:20:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:20:38 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:20:38 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:20:38 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:24:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:24:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:24:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:24:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:24:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:24:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:24:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:24:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:24:33 Europe/Berlin] Session role: not set
[08-Dec-2025 09:24:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:24:33 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:24:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:24:33 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:29:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:29:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:29:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:29:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:29:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:29:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:29:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:29:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:29:35 Europe/Berlin] Session role: not set
[08-Dec-2025 09:29:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:29:36 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:29:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:29:36 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:33:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:33:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:33:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:33:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:33:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:33:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:33:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:33:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:33:16 Europe/Berlin] Session role: not set
[08-Dec-2025 09:33:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:33:16 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:33:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:33:16 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:37:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:37:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:37:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:37:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:37:53 Europe/Berlin] Session role: not set
[08-Dec-2025 09:37:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:37:53 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:37:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:37:53 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:38:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:38:23 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 09:38:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:38:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:38:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:38:23 Europe/Berlin] Session role: not set
[08-Dec-2025 09:38:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:38:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 09:38:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:38:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 09:38:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:38:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:38:59 Europe/Berlin] Session role: not set
[08-Dec-2025 09:38:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:39:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:39:16 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 09:39:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:39:16 Europe/Berlin] Session role: not set
[08-Dec-2025 09:39:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:39:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:39:19 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 09:39:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:39:19 Europe/Berlin] Session role: not set
[08-Dec-2025 09:39:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:39:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 09:39:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:39:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 09:39:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:39:23 Europe/Berlin] Session role: not set
[08-Dec-2025 09:39:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:39:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:39:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:39:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:39:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:39:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:39:29 Europe/Berlin] Session role: not set
[08-Dec-2025 09:39:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:39:29 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:39:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:39:29 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:47:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:47:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:47:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:47:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:47:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:47:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:47:26 Europe/Berlin] Session role: not set
[08-Dec-2025 09:47:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:47:26 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:47:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:47:26 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:48:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:48:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 09:48:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:48:10 Europe/Berlin] Session role: not set
[08-Dec-2025 09:48:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:48:10 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 08:48:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 08:48:10 UTC] Found 0 videos for teacher 28
[08-Dec-2025 09:48:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:48:13 Europe/Berlin] Teacher Auth Check - Script: messages.php
[08-Dec-2025 09:48:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:48:13 Europe/Berlin] Session role: not set
[08-Dec-2025 09:48:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 09:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:48:18 Europe/Berlin] Session role: not set
[08-Dec-2025 09:48:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:48:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:48:24 Europe/Berlin] Teacher Auth Check - Script: messages.php
[08-Dec-2025 09:48:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:48:24 Europe/Berlin] Session role: not set
[08-Dec-2025 09:48:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:48:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:48:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 09:48:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:48:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:48:38 Europe/Berlin] Session role: not set
[08-Dec-2025 09:48:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:56:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:56:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 09:56:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:56:21 Europe/Berlin] Session role: not set
[08-Dec-2025 09:56:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:56:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:56:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 09:56:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:56:43 Europe/Berlin] Session role: not set
[08-Dec-2025 09:56:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:56:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 24
[08-Dec-2025 09:56:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 09:56:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 09:56:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 09:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765172904
    [last_regeneration] => 1765172904
    [session_started_at] => 2025-12-08 06:36:15
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765172904
    [login_redirect_count] => 0
)

[08-Dec-2025 09:56:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 09:56:46 Europe/Berlin] Session role: not set
[08-Dec-2025 09:56:46 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 08:56:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 24
[08-Dec-2025 10:24:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 10:24:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 10:24:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 10:24:42
)

[08-Dec-2025 10:24:42 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 10:24:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 10:24:42
)

[08-Dec-2025 10:24:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 10:24:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 10:24:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 10:24:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 10:24:42
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[08-Dec-2025 10:24:43 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 10:24:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 10:24:42
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[08-Dec-2025 10:24:43 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Dec-2025 10:24:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-08 10:24:42
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
)

[08-Dec-2025 10:24:43 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 10:24:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-08 10:24:42
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
)

[08-Dec-2025 10:25:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 10:25:04 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 10:25:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
)

[08-Dec-2025 10:25:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 10:25:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
)

[08-Dec-2025 10:25:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 10:25:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
)

[08-Dec-2025 10:25:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 10:25:04 Europe/Berlin] Session role: not set
[08-Dec-2025 10:25:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:25:04 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 09:25:04 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 09:25:04 UTC] Found 0 videos for teacher 28
[08-Dec-2025 10:29:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 10:29:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 10:29:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 10:29:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 10:29:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 10:29:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 10:29:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 10:29:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 10:29:32 Europe/Berlin] Session role: not set
[08-Dec-2025 10:29:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 09:29:33 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 09:29:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 09:29:33 UTC] Found 0 videos for teacher 28
[08-Dec-2025 11:59:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 11:59:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 11:59:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 11:59:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 11:59:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 11:59:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 11:59:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 11:59:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 11:59:00 Europe/Berlin] Session role: not set
[08-Dec-2025 11:59:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:17:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:17:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:17:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:17:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:17:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:17:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:17:06 Europe/Berlin] Session role: not set
[08-Dec-2025 12:17:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:18:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:18:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:18:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:18:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:18:17 Europe/Berlin] Session role: not set
[08-Dec-2025 12:18:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:18:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:19:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:19:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:19:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:19:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:19:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:19:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:19:16 Europe/Berlin] Session role: not set
[08-Dec-2025 12:19:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:19:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:20:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:20:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:20:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:20:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:20:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:20:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:20:16 Europe/Berlin] Session role: not set
[08-Dec-2025 12:20:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:20:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:21:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:21:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:21:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:21:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:21:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:21:18 Europe/Berlin] Session role: not set
[08-Dec-2025 12:21:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:21:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:21:49 Europe/Berlin] Session role: not set
[08-Dec-2025 12:21:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:22:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:22:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:22:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:22:27 Europe/Berlin] Session role: not set
[08-Dec-2025 12:22:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:22:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:22:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:22:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:22:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:22:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:22:29 Europe/Berlin] Session role: not set
[08-Dec-2025 12:22:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:23:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:23:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:23:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:23:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:23:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:23:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:23:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:23:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:23:38 Europe/Berlin] Session role: not set
[08-Dec-2025 12:23:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:23:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:24:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:24:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:24:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:24:37 Europe/Berlin] Session role: not set
[08-Dec-2025 12:24:37 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:24:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:24:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:24:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:24:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:24:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:24:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:24:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:24:45 Europe/Berlin] Session role: not set
[08-Dec-2025 12:24:45 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:24:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:25:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:25:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:25:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:25:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:25:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:25:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:25:33 Europe/Berlin] Session role: not set
[08-Dec-2025 12:25:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:25:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:26:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:26:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:26:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:26:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:26:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:26:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:26:37 Europe/Berlin] Session role: not set
[08-Dec-2025 12:26:37 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:26:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:27:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:27:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:27:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:27:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:27:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:27:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:27:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:27:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:27:36 Europe/Berlin] Session role: not set
[08-Dec-2025 12:27:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:27:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:28:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:28:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:28:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:28:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:28:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:28:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:28:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:28:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:28:36 Europe/Berlin] Session role: not set
[08-Dec-2025 12:28:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:28:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:29:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:29:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:29:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:29:00 Europe/Berlin] Session role: not set
[08-Dec-2025 12:29:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:29:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:29:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:29:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:29:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:29:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:29:02 Europe/Berlin] Session role: not set
[08-Dec-2025 12:29:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:29:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:29:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:29:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:29:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:29:19 Europe/Berlin] Session role: not set
[08-Dec-2025 12:29:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:29:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:29:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:29:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:29:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:29:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:29:34 Europe/Berlin] Session role: not set
[08-Dec-2025 12:29:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:29:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:29:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:29:49 Europe/Berlin] Session role: not set
[08-Dec-2025 12:29:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:29:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:29:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:30:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:30:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:30:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:30:04 Europe/Berlin] Session role: not set
[08-Dec-2025 12:30:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:30:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:30:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:30:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:30:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:30:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:30:18 Europe/Berlin] Session role: not set
[08-Dec-2025 12:30:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:30:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:30:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:30:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:30:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:30:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:30:34 Europe/Berlin] Session role: not set
[08-Dec-2025 12:30:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:30:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:30:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:30:49 Europe/Berlin] Session role: not set
[08-Dec-2025 12:30:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:30:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:31:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:31:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:31:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:31:04 Europe/Berlin] Session role: not set
[08-Dec-2025 12:31:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:31:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:31:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:31:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:31:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:31:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:31:19 Europe/Berlin] Session role: not set
[08-Dec-2025 12:31:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:31:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:31:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:31:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:31:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:31:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:31:34 Europe/Berlin] Session role: not set
[08-Dec-2025 12:31:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:31:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:31:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:31:48 Europe/Berlin] Session role: not set
[08-Dec-2025 12:31:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:31:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:32:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:32:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:32:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:32:04 Europe/Berlin] Session role: not set
[08-Dec-2025 12:32:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:32:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:32:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:32:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:32:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:32:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:32:19 Europe/Berlin] Session role: not set
[08-Dec-2025 12:32:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:32:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:32:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:32:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:32:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:32:34 Europe/Berlin] Session role: not set
[08-Dec-2025 12:32:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:32:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:32:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:32:49 Europe/Berlin] Session role: not set
[08-Dec-2025 12:32:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:32:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:33:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:33:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:33:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:33:04 Europe/Berlin] Session role: not set
[08-Dec-2025 12:33:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:33:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:33:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:33:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:33:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:33:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:33:19 Europe/Berlin] Session role: not set
[08-Dec-2025 12:33:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:33:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:33:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:33:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:33:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:33:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:33:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:33:33 Europe/Berlin] Session role: not set
[08-Dec-2025 12:33:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:33:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:33:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:34:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:34:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:34:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:34:46 Europe/Berlin] Session role: not set
[08-Dec-2025 12:34:46 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:34:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:34:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:35:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:35:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:35:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:35:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:35:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:35:14 Europe/Berlin] Session role: not set
[08-Dec-2025 12:35:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:35:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:35:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:35:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:35:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:35:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:35:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:35:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:35:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:35:34 Europe/Berlin] Session role: not set
[08-Dec-2025 12:35:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:35:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:35:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:36:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:36:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:36:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:36:11 Europe/Berlin] Session role: not set
[08-Dec-2025 12:36:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:36:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:36:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:36:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:36:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:36:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:36:26 Europe/Berlin] Session role: not set
[08-Dec-2025 12:36:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:36:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:36:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:36:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:36:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:36:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:36:41 Europe/Berlin] Session role: not set
[08-Dec-2025 12:36:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:36:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:36:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:36:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:36:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:36:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:36:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:36:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:36:50 Europe/Berlin] Session role: not set
[08-Dec-2025 12:36:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:36:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:36:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:37:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:37:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:37:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:37:05 Europe/Berlin] Session role: not set
[08-Dec-2025 12:37:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:37:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:37:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:37:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:37:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 12:37:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:37:11 Europe/Berlin] Session role: not set
[08-Dec-2025 12:37:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:37:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:37:13 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 11:37:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 11:37:13 UTC] Found 0 videos for teacher 28
[08-Dec-2025 12:37:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:37:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:37:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:37:15 Europe/Berlin] Session role: not set
[08-Dec-2025 12:37:15 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:37:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:37:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:37:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:37:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 12:37:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:37:45 Europe/Berlin] Session role: not set
[08-Dec-2025 12:37:45 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:37:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 11:37:46 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 11:37:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 11:37:46 UTC] Found 0 videos for teacher 28
[08-Dec-2025 12:37:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:37:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:37:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:37:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:37:47 Europe/Berlin] Session role: not set
[08-Dec-2025 12:37:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:37:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:37:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:38:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:38:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:38:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:38:18 Europe/Berlin] Session role: not set
[08-Dec-2025 12:38:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:38:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:38:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:38:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:38:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 12:38:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:38:46 Europe/Berlin] Session role: not set
[08-Dec-2025 12:38:46 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:38:49 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 11:38:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 11:38:49 UTC] Found 0 videos for teacher 28
[08-Dec-2025 12:38:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:38:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:38:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:38:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:38:50 Europe/Berlin] Session role: not set
[08-Dec-2025 12:38:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:38:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:38:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:39:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:39:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:02 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:39:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:21 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:39:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:26 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 12:39:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:26 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:26 UTC] DB Connection Status: Connected
[08-Dec-2025 11:39:26 UTC] User with ID 28 found
[08-Dec-2025 11:39:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 12:39:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:39:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:27 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:39:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:30 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 12:39:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:30 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:39:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:32 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:39:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:35 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 12:39:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:35 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:35 UTC] DB Connection Status: Connected
[08-Dec-2025 11:39:35 UTC] User with ID 28 found
[08-Dec-2025 11:39:35 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 12:39:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:39:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:39:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:39:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:39:36 Europe/Berlin] Session role: not set
[08-Dec-2025 12:39:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:39:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:39:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:40:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:40:01 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 12:40:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:40:01 Europe/Berlin] Session role: not set
[08-Dec-2025 12:40:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:40:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:40:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 12:40:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:40:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:40:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:40:05 Europe/Berlin] Session role: not set
[08-Dec-2025 12:40:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:40:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:40:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:40:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:40:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 12:40:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:40:07 Europe/Berlin] Session role: not set
[08-Dec-2025 12:40:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:40:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:40:08 UTC] DB Connection Status: Connected
[08-Dec-2025 11:40:08 UTC] User with ID 28 found
[08-Dec-2025 11:40:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 12:40:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:40:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:40:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:40:09 Europe/Berlin] Session role: not set
[08-Dec-2025 12:40:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:40:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:40:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:40:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:40:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:40:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:40:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:40:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:40:39 Europe/Berlin] Session role: not set
[08-Dec-2025 12:40:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:40:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:40:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:41:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:41:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:09 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:41:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:41:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:21 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 12:41:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:21 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:41:21 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 12:41:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:41:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:23 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:41:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:41:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:24 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 12:41:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:24 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:41:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:41:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:26 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:41:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:41:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:41:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:41:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:41:57 Europe/Berlin] Session role: not set
[08-Dec-2025 12:41:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:41:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:41:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:42:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:42:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:42:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:42:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:42:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:42:27 Europe/Berlin] Session role: not set
[08-Dec-2025 12:42:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:42:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:42:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:42:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:42:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:42:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:42:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:42:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:42:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:42:56 Europe/Berlin] Session role: not set
[08-Dec-2025 12:42:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:42:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:42:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:43:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:43:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:43:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:43:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:43:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:43:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:43:57 Europe/Berlin] Session role: not set
[08-Dec-2025 12:43:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:43:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:43:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:44:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:44:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:44:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:44:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:44:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:44:29 Europe/Berlin] Session role: not set
[08-Dec-2025 12:44:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:44:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:44:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:44:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:44:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:44:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:44:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:44:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:44:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:44:58 Europe/Berlin] Session role: not set
[08-Dec-2025 12:44:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:44:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:44:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:46:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:46:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:46:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:46:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:46:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:46:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:46:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:46:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:46:00 Europe/Berlin] Session role: not set
[08-Dec-2025 12:46:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:46:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:46:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:47:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:47:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:47:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:47:00 Europe/Berlin] Session role: not set
[08-Dec-2025 12:47:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:47:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:47:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:47:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:47:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:47:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:47:26 Europe/Berlin] Session role: not set
[08-Dec-2025 12:47:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:47:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:47:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:47:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:47:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:47:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:47:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:47:56 Europe/Berlin] Session role: not set
[08-Dec-2025 12:47:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:47:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:47:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:48:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:48:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:48:57 Europe/Berlin] Session role: not set
[08-Dec-2025 12:48:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:48:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:49:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:49:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:49:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:49:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:49:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:49:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:49:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:49:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:49:58 Europe/Berlin] Session role: not set
[08-Dec-2025 12:49:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:50:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:50:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:50:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:50:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:50:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:50:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:50:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:50:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:50:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:50:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:50:59 Europe/Berlin] Session role: not set
[08-Dec-2025 12:50:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:51:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:51:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:52:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:52:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:52:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:52:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:52:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:52:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:52:00 Europe/Berlin] Session role: not set
[08-Dec-2025 12:52:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:52:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:52:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:53:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:53:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:53:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:53:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:53:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:53:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:53:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:53:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:53:02 Europe/Berlin] Session role: not set
[08-Dec-2025 12:53:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:53:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:53:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:54:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:54:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:54:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:54:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:54:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:54:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:54:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:54:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:54:02 Europe/Berlin] Session role: not set
[08-Dec-2025 12:54:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:54:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:54:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 12:55:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:55:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 12:55:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:55:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:55:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 12:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 12:55:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 12:55:03 Europe/Berlin] Session role: not set
[08-Dec-2025 12:55:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 11:55:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 11:55:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:02:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:02:45 Europe/Berlin] Session role: not set
[08-Dec-2025 13:02:45 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:02:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:02:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:02:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:02:52 Europe/Berlin] Session role: not set
[08-Dec-2025 13:02:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:02:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:02:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:02:54 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 13:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:02:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:02:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:02:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:02:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:02:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:02:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:02:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:02:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:02:56 Europe/Berlin] Session role: not set
[08-Dec-2025 13:02:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:02:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:02:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:03:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:03:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:03:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:03:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:03:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:03:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:03:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:03:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:03:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:03:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:03:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:03:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:03:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:03:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:03:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:03:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:03:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:03:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:03:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:03:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:03:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:03:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:03:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:03:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:03:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:03:57 Europe/Berlin] Session role: not set
[08-Dec-2025 13:03:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:03:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:03:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:04:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:04:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:04:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:04:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:04:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:04:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:04:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:04:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:04:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:04:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:04:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:04:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:04:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:04:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:04:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:04:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:04:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:04:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:04:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:04:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:04:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:04:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:04:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:04:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:04:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:04:57 Europe/Berlin] Session role: not set
[08-Dec-2025 13:04:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:04:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:04:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:05:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:05:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:05:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:05:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:05:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:05:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:05:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:05:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:05:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:05:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:05:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:05:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:05:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:05:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:05:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:05:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:05:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:05:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:05:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:05:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:05:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:05:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:05:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:05:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:05:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:05:57 Europe/Berlin] Session role: not set
[08-Dec-2025 13:05:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:05:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:05:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:06:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:06:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:06:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:06:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:06:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:06:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:06:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:06:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:06:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:06:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:06:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:06:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:06:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:06:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:06:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:06:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:06:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:06:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:06:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:06:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:06:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:06:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:07:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:07:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:07:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:07:28 Europe/Berlin] Session role: not set
[08-Dec-2025 13:07:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:07:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:07:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:07:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:07:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:07:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:07:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:07:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:07:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:07:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:07:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:07:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:07:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:08:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:08:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:08:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:08:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:08:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:08:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:08:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:08:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:08:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:08:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:08:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:08:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:08:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:08:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:08:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:08:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:08:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:09:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:09:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:09:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:09:22 Europe/Berlin] Session role: not set
[08-Dec-2025 13:09:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:09:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:09:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:09:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:09:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:09:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:09:30 Europe/Berlin] Session role: not set
[08-Dec-2025 13:09:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:09:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:09:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:09:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:09:52 Europe/Berlin] Session role: not set
[08-Dec-2025 13:09:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:09:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:09:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:10:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:10:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:10:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:10:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:10:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:10:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:10:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:10:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:10:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:10:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:10:31 Europe/Berlin] Session role: not set
[08-Dec-2025 13:10:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:10:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:10:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:10:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:10:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:10:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:10:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:10:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:11:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:11:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:11:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:11:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:11:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:11:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:11:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:11:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:11:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:11:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:11:32 Europe/Berlin] Session role: not set
[08-Dec-2025 13:11:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:11:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:11:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:11:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:11:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:11:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:11:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:11:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:11:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:11:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:11:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:12:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:12:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:12:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:12:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:12:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:12:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:12:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:12:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:12:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:12:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:12:33 Europe/Berlin] Session role: not set
[08-Dec-2025 13:12:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:12:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:12:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:12:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:12:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:12:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:12:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:12:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:12:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:12:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:12:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:12:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:13:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:13:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:13:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:13:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:13:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:13:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:13:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:13:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:13:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:13:34 Europe/Berlin] Session role: not set
[08-Dec-2025 13:13:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:13:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:13:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:13:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:13:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:13:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:13:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:13:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:13:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:13:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:13:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:13:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:14:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:14:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:14:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:14:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:14:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:14:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:14:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:14:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:14:35 Europe/Berlin] Session role: not set
[08-Dec-2025 13:14:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:14:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:14:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:14:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:14:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:14:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:14:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:14:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:14:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:14:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:14:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:14:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:15:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:15:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:15:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:15:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:15:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:15:37 Europe/Berlin] Session role: not set
[08-Dec-2025 13:15:37 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:15:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:15:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:15:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:15:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:15:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:15:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:15:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:15:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:15:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:15:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:16:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:16:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:16:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:16:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:16:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:16:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:16:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:16:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:16:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:16:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:16:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:16:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:16:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:16:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:16:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:16:56 Europe/Berlin] Session role: not set
[08-Dec-2025 13:16:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:16:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:16:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:17:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:17:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:17:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:17:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:17:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:17:38 Europe/Berlin] Session role: not set
[08-Dec-2025 13:17:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:17:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:17:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:17:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:17:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:17:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:17:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:17:55 Europe/Berlin] Session role: not set
[08-Dec-2025 13:17:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:17:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:17:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:18:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:18:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:18:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:18:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:18:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:18:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:18:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:18:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:18:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:18:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:18:39 Europe/Berlin] Session role: not set
[08-Dec-2025 13:18:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:18:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:18:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:18:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:18:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:18:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:18:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:18:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:18:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:18:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:18:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:19:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:19:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:19:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:19:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:19:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:19:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:19:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:19:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:19:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:19:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:19:41 Europe/Berlin] Session role: not set
[08-Dec-2025 13:19:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:19:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:19:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:19:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:19:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:19:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:19:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:19:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:19:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:19:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:19:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:19:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:20:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:20:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:20:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:20:26 Europe/Berlin] Session role: not set
[08-Dec-2025 13:20:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:20:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:20:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:20:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:20:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:20:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:20:41 Europe/Berlin] Session role: not set
[08-Dec-2025 13:20:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:20:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:20:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:20:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:20:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:20:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:20:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:20:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:20:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:20:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:20:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:21:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:21:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:21:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:21:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:21:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:21:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:21:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:21:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:21:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:21:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:21:43 Europe/Berlin] Session role: not set
[08-Dec-2025 13:21:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:21:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:21:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:21:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:21:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:21:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:21:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:21:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:21:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:21:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:21:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:22:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:22:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:22:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:22:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:22:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:22:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:22:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:22:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:22:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:22:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:22:47 Europe/Berlin] Session role: not set
[08-Dec-2025 13:22:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:22:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:22:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:22:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:22:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:22:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:22:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:22:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:22:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:22:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:22:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:23:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:23:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:23:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:23:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:23:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:23:47 Europe/Berlin] Session role: not set
[08-Dec-2025 13:23:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:23:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:23:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:23:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:23:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:23:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:23:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:23:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:23:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:23:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:23:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:24:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:24:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:24:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:24:35 Europe/Berlin] Session role: not set
[08-Dec-2025 13:24:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:24:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:24:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:24:48 Europe/Berlin] Session role: not set
[08-Dec-2025 13:24:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:24:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:24:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:24:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:24:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:24:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:24:53 Europe/Berlin] Session role: not set
[08-Dec-2025 13:24:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:24:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:24:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:25:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:25:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:25:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:25:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:25:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:25:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:25:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:25:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:25:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:25:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:25:49 Europe/Berlin] Session role: not set
[08-Dec-2025 13:25:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:25:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:25:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:25:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:25:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:25:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:25:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:25:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:25:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:25:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:25:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:25:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:26:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:26:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:26:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:26:21 Europe/Berlin] Session role: not set
[08-Dec-2025 13:26:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:26:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:26:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:26:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:26:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:26:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:26:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:26:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:26:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:26:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:26:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:26:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:26:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:26:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:26:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:26:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:26:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:26:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:26:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:26:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:26:54 Europe/Berlin] Session role: not set
[08-Dec-2025 13:26:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:26:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:26:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:26:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:26:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:26:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:26:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:26:57 Europe/Berlin] Session role: not set
[08-Dec-2025 13:26:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:26:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:26:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:27:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:27:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:27:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:27:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:27:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:27:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:27:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:27:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:27:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:27:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:27:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:27:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:27:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:27:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:27:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:27:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:27:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:27:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:27:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:35:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:35:31 Europe/Berlin] Teacher Auth Check - Script: debug_profile_columns.php
[08-Dec-2025 13:35:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:35:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:35:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:35:31 Europe/Berlin] Session role: not set
[08-Dec-2025 13:35:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:35:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:35:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:35:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:35:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:35:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:35:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:35:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:35:52 Europe/Berlin] Session role: not set
[08-Dec-2025 13:35:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:35:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:35:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:36:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:36:07 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 13:36:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:36:07 Europe/Berlin] Session role: not set
[08-Dec-2025 13:36:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:36:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:36:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:36:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:36:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:36:12 Europe/Berlin] Session role: not set
[08-Dec-2025 13:36:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:36:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:36:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:36:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:36:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:36:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:36:22 Europe/Berlin] Session role: not set
[08-Dec-2025 13:36:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:36:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:36:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:36:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:36:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:36:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:36:43 Europe/Berlin] Session role: not set
[08-Dec-2025 13:36:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:36:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:36:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:36:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:36:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:36:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:36:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:36:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:36:52 Europe/Berlin] Session role: not set
[08-Dec-2025 13:36:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:36:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:36:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:37:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:37:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:13 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:37:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:37:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:22 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:37:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 13:37:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:26 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:26 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 12:37:26 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 12:37:26 UTC] Found 0 videos for teacher 28
[08-Dec-2025 13:37:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:37:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:37:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:37:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:43 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:37:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:37:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:37:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:37:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:37:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:37:59 Europe/Berlin] Session role: not set
[08-Dec-2025 13:37:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:37:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:37:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:38:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:38:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:38:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:38:13 Europe/Berlin] Session role: not set
[08-Dec-2025 13:38:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:38:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:38:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:38:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:38:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:38:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:38:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:38:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:38:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:38:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:38:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:38:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:38:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:38:43 Europe/Berlin] Session role: not set
[08-Dec-2025 13:38:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:38:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:38:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:38:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:38:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:38:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:38:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:38:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:38:59 Europe/Berlin] Session role: not set
[08-Dec-2025 13:38:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:38:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:38:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:39:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:39:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:39:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:39:13 Europe/Berlin] Session role: not set
[08-Dec-2025 13:39:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:39:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:39:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:39:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:39:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:39:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:39:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:39:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:39:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:39:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:39:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:39:43 Europe/Berlin] Session role: not set
[08-Dec-2025 13:39:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:39:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:39:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:39:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:39:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:39:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:39:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:39:59 Europe/Berlin] Session role: not set
[08-Dec-2025 13:39:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:39:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:39:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:40:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:40:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:40:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:40:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:40:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:40:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:40:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:40:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:40:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:40:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:40:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:40:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:40:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:40:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:40:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:40:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:40:59 Europe/Berlin] Session role: not set
[08-Dec-2025 13:40:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:40:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:40:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:41:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:41:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:41:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:41:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:41:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:41:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:41:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:41:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:41:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:41:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:41:30 Europe/Berlin] Session role: not set
[08-Dec-2025 13:41:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:41:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:41:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:41:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:41:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:41:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:41:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:41:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:41:59 Europe/Berlin] Session role: not set
[08-Dec-2025 13:41:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:42:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:42:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:42:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:42:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:42:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:42:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:42:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:42:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:42:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:42:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:42:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:42:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:42:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:42:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:42:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:42:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:42:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:42:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:42:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:42:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:42:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:42:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:43:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:43:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:43:00 Europe/Berlin] Session role: not set
[08-Dec-2025 13:43:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:43:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:43:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:43:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:43:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:43:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:43:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:43:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:43:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:43:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:43:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:43:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:43:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:43:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:43:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:43:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:43:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:43:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:44:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:44:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:44:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:44:00 Europe/Berlin] Session role: not set
[08-Dec-2025 13:44:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:44:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:44:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:44:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:44:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:44:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:44:21 Europe/Berlin] Session role: not set
[08-Dec-2025 13:44:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:44:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:44:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:44:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:44:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:44:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:44:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:44:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:44:30 Europe/Berlin] Session role: not set
[08-Dec-2025 13:44:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:44:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:44:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:48:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:48:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:48:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:48:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:48:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:48:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:48:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:48:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:48:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:48:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:48:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:48:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:48:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:48:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:48:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:49:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:49:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:49:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:49:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:49:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:49:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:49:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:49:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 12:49:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:49:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:49:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:49:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:49:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:49:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:49:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:49:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:49:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:49:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:49:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:51:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:51:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:51:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:51:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:51:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:51:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:51:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:51:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:51:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:51:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:51:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:51:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:51:29 Europe/Berlin] Session role: not set
[08-Dec-2025 13:51:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:51:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:51:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:52:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:52:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:52:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:52:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:52:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:52:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:52:22 Europe/Berlin] Session role: not set
[08-Dec-2025 13:52:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:52:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:52:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:52:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:52:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:52:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:52:24 Europe/Berlin] Session role: not set
[08-Dec-2025 13:52:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:52:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:52:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:53:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:53:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:53:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:53:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:53:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:53:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:53:23 Europe/Berlin] Session role: not set
[08-Dec-2025 13:53:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:53:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:53:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:54:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:54:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:54:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:54:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:54:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:54:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:54:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:54:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:54:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:54:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:54:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:54:27 Europe/Berlin] Session role: not set
[08-Dec-2025 13:54:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:54:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:54:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:55:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:55:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:55:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:55:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:55:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:55:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:55:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:55:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:55:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:55:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:55:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:55:22 Europe/Berlin] Session role: not set
[08-Dec-2025 13:55:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:55:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:55:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:56:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:56:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:56:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:56:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:56:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:56:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:56:20 Europe/Berlin] Session role: not set
[08-Dec-2025 13:56:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:56:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:56:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:57:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:57:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:57:38 Europe/Berlin] Session role: not set
[08-Dec-2025 13:57:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:57:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:57:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:57:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:57:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:57:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:57:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:57:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:57:39 Europe/Berlin] Session role: not set
[08-Dec-2025 13:57:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:57:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:57:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:58:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:58:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:58:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:58:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:58:28 Europe/Berlin] Session role: not set
[08-Dec-2025 13:58:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:58:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:58:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:58:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:58:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:58:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:58:28 Europe/Berlin] Session role: not set
[08-Dec-2025 13:58:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:58:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:58:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:59:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:59:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:59:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:59:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:59:32 Europe/Berlin] Session role: not set
[08-Dec-2025 13:59:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:59:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:59:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 13:59:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 13:59:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 13:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 13:59:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 13:59:32 Europe/Berlin] Session role: not set
[08-Dec-2025 13:59:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 12:59:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 12:59:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:00:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:00:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:00:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:00:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:00:07 Europe/Berlin] Session role: not set
[08-Dec-2025 14:00:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:00:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:00:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:00:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:00:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:00:07 Europe/Berlin] Session role: not set
[08-Dec-2025 14:00:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:00:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:00:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:00:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:00:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:00:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:00:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:00:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:00:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:00:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:00:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:00:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:00:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:00:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:00:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:00:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:00:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:01:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:01:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:01:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:01:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:01:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:01:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:01:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:01:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:01:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:01:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:01:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:01:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:01:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:01:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:01:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:01:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:01:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:01:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:01:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:01:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:01:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:01:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:02:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:02:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:02:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:02:06 Europe/Berlin] Session role: not set
[08-Dec-2025 14:02:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:02:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:02:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:02:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:02:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:02:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:02:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:02:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:02:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:02:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:02:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:02:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:02:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:02:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:02:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:02:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:03:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:03:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:03:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:03:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:03:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:03:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:03:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:03:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:03:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:03:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:03:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:03:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:03:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:03:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:03:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:03:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:03:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:03:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:03:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:03:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:03:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:03:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:03:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:03:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:03:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:03:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:03:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:04:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:04:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:04:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:04:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:04:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:04:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:04:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:04:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:04:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:04:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:04:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:04:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:04:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:04:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:04:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:04:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:04:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:04:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:04:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:05:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:05:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:05:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:05:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:05:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:05:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:05:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:05:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:05:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:05:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:05:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:05:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:05:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:05:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:05:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:05:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:05:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:05:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:05:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:05:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:05:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:05:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:05:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:05:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:06:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:06:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:06:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:06:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:06:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:06:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:06:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:06:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:06:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:06:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:06:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:06:31 Europe/Berlin] Session role: not set
[08-Dec-2025 14:06:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:06:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:06:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:07:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:07:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:07:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:07:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:07:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:07:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:07:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:07:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:07:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:07:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:07:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:07:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:07:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:07:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:07:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:07:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:07:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:07:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:07:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:07:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:07:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:07:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:07:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:07:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:07:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:07:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:07:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:08:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:08:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:08:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:08:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:08:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:08:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:08:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:08:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:08:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:08:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:08:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:08:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:08:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:08:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:08:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:08:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:08:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:08:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:09:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:09:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:09:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:09:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:09:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:09:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:09:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:09:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:09:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:09:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:09:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:09:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:09:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:09:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:09:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:09:32 Europe/Berlin] Session role: not set
[08-Dec-2025 14:09:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:09:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:09:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:10:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:10:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:10:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:10:02 Europe/Berlin] Session role: not set
[08-Dec-2025 14:10:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:10:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:10:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:10:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:10:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:10:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:10:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:10:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:10:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:10:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:10:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:10:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:10:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:10:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:10:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:10:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:10:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:10:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:10:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:11:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:11:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:11:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:11:01 Europe/Berlin] Session role: not set
[08-Dec-2025 14:11:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:11:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:11:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:11:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:11:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:11:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:11:23 Europe/Berlin] Session role: not set
[08-Dec-2025 14:11:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:11:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:11:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:11:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:11:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:11:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:11:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:11:33 Europe/Berlin] Session role: not set
[08-Dec-2025 14:11:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:11:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:11:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:12:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:12:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:12:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:12:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:12:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:12:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:12:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:12:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:12:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:12:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:12:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:12:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:12:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:12:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:12:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:12:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:12:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:12:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:12:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:12:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:12:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:12:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:12:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:12:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:12:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:12:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:13:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:13:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:13:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:13:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:13:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:13:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:13:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:13:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:13:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:13:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:13:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:13:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:13:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:13:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:13:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:13:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:13:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:13:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:13:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:13:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:13:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:13:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:14:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:14:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:14:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:14:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:14:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:14:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:14:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:14:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:14:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:14:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:14:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:14:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:14:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:14:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:14:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:14:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:14:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:14:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:15:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:15:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:15:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:15:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:15:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:15:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:15:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:15:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:15:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:15:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:15:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:15:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:15:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:15:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:15:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:15:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:15:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:15:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:15:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:15:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:15:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:15:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:15:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:15:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:15:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:15:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:16:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:16:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:16:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:16:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:16:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:16:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:16:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:16:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:16:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:16:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:16:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:16:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:16:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:16:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:16:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:16:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:16:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:16:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:16:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:16:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:16:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:17:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:17:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:17:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:17:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:17:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:17:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:17:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:17:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:17:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:17:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:17:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:17:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:17:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:17:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:17:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:17:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:17:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:17:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:17:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:18:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:18:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:18:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:18:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:18:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:18:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:18:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:18:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:18:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:18:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:18:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:18:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:19:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:19:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:19:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:19:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:19:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:19:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:19:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:19:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:19:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:19:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:19:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:19:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:19:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:19:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:19:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:19:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:19:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:19:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:19:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:20:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:20:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:20:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:20:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:20:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:20:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:20:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:20:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:20:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:20:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:20:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:20:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:20:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:20:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:20:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:20:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:20:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:20:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:20:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:20:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:20:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:20:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:20:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:20:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:21:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:21:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:21:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:21:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:21:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:21:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:21:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:21:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:21:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:21:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:21:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:21:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:21:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:21:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:21:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:21:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:21:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:21:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:21:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:21:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:21:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:21:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:22:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:22:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:22:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:22:00 Europe/Berlin] Session role: not set
[08-Dec-2025 14:22:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:22:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:22:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:22:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:22:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:22:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:22:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:22:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:22:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:22:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:22:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:22:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:22:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:22:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:22:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:22:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:22:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:22:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:22:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:22:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:22:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:22:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:22:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:22:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:22:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:23:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:23:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:23:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:23:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:23:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:23:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:23:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:23:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:23:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:23:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:23:31 Europe/Berlin] Session role: not set
[08-Dec-2025 14:23:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:23:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:23:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:23:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:23:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:23:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:23:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:23:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:23:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:23:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:23:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:24:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:24:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:24:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:24:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:24:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:24:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:24:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:24:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:24:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:24:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:24:30 Europe/Berlin] Session role: not set
[08-Dec-2025 14:24:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:24:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:24:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:24:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:24:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:24:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:24:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:24:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:24:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:24:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:24:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:25:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:25:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:25:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:25:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:25:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:25:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:25:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:25:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:25:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:25:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:25:29 Europe/Berlin] Session role: not set
[08-Dec-2025 14:25:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:25:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:25:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:25:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:25:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:25:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:25:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:25:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:25:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:25:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:26:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 14:26:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:05 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:26:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:26:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:07 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:26:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:10 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:26:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:10 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:26:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:11 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:26:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:26:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:26:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:26:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:26:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:26:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:26:41 Europe/Berlin] Session role: not set
[08-Dec-2025 14:26:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:26:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:26:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:27:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:27:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:27:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:27:11 Europe/Berlin] Session role: not set
[08-Dec-2025 14:27:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:27:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:27:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:27:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:27:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:27:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:27:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:27:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:27:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:27:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:27:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:27:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:27:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:27:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:27:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:27:41 Europe/Berlin] Session role: not set
[08-Dec-2025 14:27:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:27:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:27:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:28:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:28:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:28:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:28:11 Europe/Berlin] Session role: not set
[08-Dec-2025 14:28:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:28:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:28:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:28:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:28:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:28:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:28:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:28:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:28:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:28:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:28:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:28:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:28:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:28:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:28:41 Europe/Berlin] Session role: not set
[08-Dec-2025 14:28:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:28:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:28:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:29:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:29:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:29:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:29:11 Europe/Berlin] Session role: not set
[08-Dec-2025 14:29:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:29:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:29:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:29:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:29:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:29:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:29:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:29:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:29:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:29:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:29:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:29:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:29:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:29:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:29:41 Europe/Berlin] Session role: not set
[08-Dec-2025 14:29:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:29:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:29:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:30:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:30:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:30:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:30:11 Europe/Berlin] Session role: not set
[08-Dec-2025 14:30:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:30:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:30:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:30:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:30:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:30:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:30:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:30:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:30:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:30:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:30:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:30:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:30:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:30:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:30:42 Europe/Berlin] Session role: not set
[08-Dec-2025 14:30:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:30:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:30:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:31:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:31:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:31:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:31:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:31:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:31:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:31:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:31:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:31:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:31:23 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:31:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:31:23 Europe/Berlin] Session role: not set
[08-Dec-2025 14:31:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:31:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:31:24 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:31:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:31:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:31:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:31:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:31:25 Europe/Berlin] Session role: not set
[08-Dec-2025 14:31:25 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:31:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:31:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:32:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:32:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:32:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:32:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:32:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:32:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:32:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:32:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:32:40 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:32:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:32:40 Europe/Berlin] Session role: not set
[08-Dec-2025 14:32:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:32:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:32:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:32:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:32:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:32:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:32:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:32:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:32:41 Europe/Berlin] Session role: not set
[08-Dec-2025 14:32:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:32:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:32:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:33:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:33:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:33:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:33:12 Europe/Berlin] Session role: not set
[08-Dec-2025 14:33:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:33:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:33:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:33:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:33:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:33:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:33:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:33:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:33:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:33:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:33:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:33:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:33:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:33:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:33:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:33:42 Europe/Berlin] Session role: not set
[08-Dec-2025 14:33:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:33:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:33:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:34:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:34:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:34:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:34:13 Europe/Berlin] Session role: not set
[08-Dec-2025 14:34:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:34:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:34:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:34:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:34:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:34:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:34:24 Europe/Berlin] Session role: not set
[08-Dec-2025 14:34:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:34:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:34:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:34:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:34:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:34:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:34:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:34:42 Europe/Berlin] Session role: not set
[08-Dec-2025 14:34:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:34:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:34:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:35:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:35:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:35:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:35:13 Europe/Berlin] Session role: not set
[08-Dec-2025 14:35:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:35:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:35:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:35:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:35:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:35:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:35:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:35:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:35:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:35:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:35:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:35:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:35:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:35:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:35:42 Europe/Berlin] Session role: not set
[08-Dec-2025 14:35:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:35:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:35:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:36:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:36:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:36:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:36:13 Europe/Berlin] Session role: not set
[08-Dec-2025 14:36:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:36:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:36:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:36:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:36:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:36:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:36:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:36:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:36:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:36:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:36:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:36:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:36:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:36:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:36:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:36:42 Europe/Berlin] Session role: not set
[08-Dec-2025 14:36:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:36:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:36:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:37:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:37:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:37:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:37:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:37:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:37:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:37:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:37:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:37:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:37:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:37:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:37:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:37:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:37:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:37:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:37:31 Europe/Berlin] Session role: not set
[08-Dec-2025 14:37:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:37:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:37:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:37:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:37:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:37:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:37:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:37:31 Europe/Berlin] Session role: not set
[08-Dec-2025 14:37:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:37:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:37:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:38:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:38:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:38:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:38:02 Europe/Berlin] Session role: not set
[08-Dec-2025 14:38:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:38:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:38:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:38:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:38:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:38:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:38:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:38:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:38:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:38:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:38:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:38:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:38:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:38:32 Europe/Berlin] Session role: not set
[08-Dec-2025 14:38:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:38:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:38:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:38:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:04 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:39:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:04 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:39:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:39:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
)

[08-Dec-2025 14:39:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:04 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:39:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:18 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:39:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:18 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:19 UTC] DB Connection Status: Connected
[08-Dec-2025 13:39:19 UTC] User with ID 28 found
[08-Dec-2025 13:39:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:39:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:39:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:19 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:39:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:39:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:39:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:39:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:39:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:39:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:39:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:39:49 Europe/Berlin] Session role: not set
[08-Dec-2025 14:39:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:39:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:39:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:40:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:40:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:40:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:40:19 Europe/Berlin] Session role: not set
[08-Dec-2025 14:40:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:40:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:40:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:40:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:40:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:40:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:40:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:40:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:40:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:40:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:40:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:40:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:40:50 Europe/Berlin] Session role: not set
[08-Dec-2025 14:40:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:40:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:40:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:41:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:41:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:41:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:41:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:41:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:41:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:41:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:41:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:41:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:41:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:41:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:41:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:41:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:41:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:41:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:41:50 Europe/Berlin] Session role: not set
[08-Dec-2025 14:41:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:41:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:41:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:42:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:42:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:42:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:42:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:42:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:42:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:42:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:42:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:42:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:42:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:42:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:42:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:42:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:42:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:42:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:42:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:42:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:42:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:42:57 Europe/Berlin] Session role: not set
[08-Dec-2025 14:42:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:42:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:42:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:43:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:43:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:43:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:43:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:43:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:43:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:43:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:43:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:43:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:43:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:43:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:43:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:43:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:43:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:43:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:43:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:43:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:43:50 Europe/Berlin] Session role: not set
[08-Dec-2025 14:43:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:43:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:43:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:44:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:44:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:44:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:44:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:44:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:44:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:44:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:44:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:44:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:44:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:44:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:44:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:44:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:44:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:44:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:44:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:44:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:44:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:44:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:45:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:45:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:45:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:45:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:45:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:45:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:45:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:45:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:45:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:45:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:45:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:45:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:45:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:45:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:45:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:45:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:45:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:06 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:12 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:46:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:46:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:13 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 14:46:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:13 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:46:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:15 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:15 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:17 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:46:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:17 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:18 UTC] DB Connection Status: Connected
[08-Dec-2025 13:46:19 UTC] User with ID 28 found
[08-Dec-2025 13:46:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:46:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:46:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:46:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:46:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:46:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:46:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:46:50 Europe/Berlin] Session role: not set
[08-Dec-2025 14:46:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:46:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:46:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:47:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:47:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:47:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:47:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:47:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:47:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:47:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:47:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:47:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:47:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:47:22 Europe/Berlin] Session role: not set
[08-Dec-2025 14:47:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:47:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:47:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:47:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:47:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:47:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:47:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:47:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:47:53 Europe/Berlin] Session role: not set
[08-Dec-2025 14:47:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:47:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:47:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:48:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:48:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:48:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:48:23 Europe/Berlin] Session role: not set
[08-Dec-2025 14:48:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:48:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:48:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:48:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:48:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:48:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:48:23 Europe/Berlin] Session role: not set
[08-Dec-2025 14:48:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:48:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:48:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:48:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:48:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:48:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:48:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:48:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:48:52 Europe/Berlin] Session role: not set
[08-Dec-2025 14:48:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:48:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:48:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:49:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:49:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:49:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:49:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:49:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:49:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 13:49:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:49:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:49:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:49:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:49:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:49:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:49:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:49:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:49:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:49:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:49:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:49:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:49:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:49:52 Europe/Berlin] Session role: not set
[08-Dec-2025 14:49:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:49:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:49:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:50:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:50:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:50:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:50:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:50:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:50:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:50:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:50:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:50:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:50:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:50:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:50:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:50:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:50:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:50:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:50:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:50:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:50:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:50:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:51:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:51:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:51:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:51:14 Europe/Berlin] Session role: not set
[08-Dec-2025 14:51:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:51:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:51:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:51:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:51:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:51:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:51:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:51:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:51:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:51:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:51:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:51:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:51:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:51:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:51:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:51:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:51:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:51:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:51:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:51:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:51:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:51:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:51:50 Europe/Berlin] Session role: not set
[08-Dec-2025 14:51:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:51:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:51:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:52:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:52:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:52:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:52:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:52:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:52:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:52:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:52:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:52:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:52:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:52:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:52:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:52:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:52:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:52:23 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:52:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:52:23 Europe/Berlin] Session role: not set
[08-Dec-2025 14:52:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:52:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:52:23 UTC] DB Connection Status: Connected
[08-Dec-2025 13:52:23 UTC] User with ID 28 found
[08-Dec-2025 13:52:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:52:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:52:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:52:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:52:24 Europe/Berlin] Session role: not set
[08-Dec-2025 14:52:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:52:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:52:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:52:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:52:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:52:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:52:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:52:56 Europe/Berlin] Session role: not set
[08-Dec-2025 14:52:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:52:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:52:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:53:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:53:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:53:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:53:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:53:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:53:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:53:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:53:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:53:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:53:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:53:24 Europe/Berlin] Session role: not set
[08-Dec-2025 14:53:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:53:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:53:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:53:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:53:26 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:53:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:53:26 Europe/Berlin] Session role: not set
[08-Dec-2025 14:53:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:53:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:53:26 UTC] DB Connection Status: Connected
[08-Dec-2025 13:53:26 UTC] User with ID 28 found
[08-Dec-2025 13:53:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:53:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:53:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:53:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:53:26 Europe/Berlin] Session role: not set
[08-Dec-2025 14:53:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:53:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:53:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:53:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:53:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:53:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:53:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:53:57 Europe/Berlin] Session role: not set
[08-Dec-2025 14:53:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:53:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:53:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:54:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:54:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:54:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:54:20 Europe/Berlin] Session role: not set
[08-Dec-2025 14:54:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:54:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:54:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:54:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:54:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:54:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:54:27 Europe/Berlin] Session role: not set
[08-Dec-2025 14:54:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:54:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:54:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:54:57 Europe/Berlin] Session role: not set
[08-Dec-2025 14:54:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:54:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:55:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:55:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:55:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:55:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:55:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:55:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:55:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:55:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:55:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:55:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:55:27 Europe/Berlin] Session role: not set
[08-Dec-2025 14:55:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:55:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:55:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:55:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:55:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:55:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:55:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:55:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:55:58 Europe/Berlin] Session role: not set
[08-Dec-2025 14:55:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:55:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:55:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:56:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:56:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:56:21 Europe/Berlin] Session role: not set
[08-Dec-2025 14:56:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:56:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:56:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:56:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:56:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:56:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:56:28 Europe/Berlin] Session role: not set
[08-Dec-2025 14:56:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:56:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:56:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:56:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:56:38 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:56:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:56:38 Europe/Berlin] Session role: not set
[08-Dec-2025 14:56:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:56:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:56:38 UTC] DB Connection Status: Connected
[08-Dec-2025 13:56:38 UTC] User with ID 28 found
[08-Dec-2025 13:56:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:56:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:56:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:56:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:56:39 Europe/Berlin] Session role: not set
[08-Dec-2025 14:56:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:56:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:56:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:56:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:56:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:56:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:56:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:56:57 Europe/Berlin] Session role: not set
[08-Dec-2025 14:56:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:56:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:56:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:57:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:57:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:57:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:57:10 Europe/Berlin] Session role: not set
[08-Dec-2025 14:57:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:57:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:57:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:57:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:57:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:57:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:57:40 Europe/Berlin] Session role: not set
[08-Dec-2025 14:57:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:57:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:57:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:57:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:57:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:57:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:57:53 Europe/Berlin] Session role: not set
[08-Dec-2025 14:57:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:57:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:57:53 UTC] DB Connection Status: Connected
[08-Dec-2025 13:57:53 UTC] User with ID 28 found
[08-Dec-2025 13:57:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:57:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:57:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:57:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:57:54 Europe/Berlin] Session role: not set
[08-Dec-2025 14:57:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:57:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:57:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:57:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:57:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:57:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:57:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:57:58 Europe/Berlin] Session role: not set
[08-Dec-2025 14:57:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:57:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:57:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:58:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:58:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:58:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:58:24 Europe/Berlin] Session role: not set
[08-Dec-2025 14:58:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:58:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:58:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:58:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:58:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:58:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:58:54 Europe/Berlin] Session role: not set
[08-Dec-2025 14:58:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:58:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:58:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:58:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:58:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:58:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:58:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:58:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:58:59 Europe/Berlin] Session role: not set
[08-Dec-2025 14:58:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:58:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:58:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:59:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:59:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:59:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:59:07 Europe/Berlin] Session role: not set
[08-Dec-2025 14:59:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:59:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:59:07 UTC] DB Connection Status: Connected
[08-Dec-2025 13:59:07 UTC] User with ID 28 found
[08-Dec-2025 13:59:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:59:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:59:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:59:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:59:09 Europe/Berlin] Session role: not set
[08-Dec-2025 14:59:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:59:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:59:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:59:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:59:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:59:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:39 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:59:39 Europe/Berlin] Session role: not set
[08-Dec-2025 14:59:39 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:59:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:59:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 14:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:59:52 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 14:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:59:52 Europe/Berlin] Session role: not set
[08-Dec-2025 14:59:52 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:59:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:59:52 UTC] DB Connection Status: Connected
[08-Dec-2025 13:59:52 UTC] User with ID 28 found
[08-Dec-2025 13:59:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 14:59:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:59:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 14:59:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 14:59:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:59:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:59:53 Europe/Berlin] Session role: not set
[08-Dec-2025 14:59:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 13:59:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 13:59:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:00:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:00:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:00:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:00:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:00:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:00:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:00:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:00:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:00:21 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:00:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:00:21 Europe/Berlin] Session role: not set
[08-Dec-2025 15:00:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:00:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:00:22 UTC] DB Connection Status: Connected
[08-Dec-2025 14:00:22 UTC] User with ID 28 found
[08-Dec-2025 14:00:22 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:00:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:00:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:00:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:00:22 Europe/Berlin] Session role: not set
[08-Dec-2025 15:00:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:00:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:00:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:00:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:00:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:00:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:00:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:00:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:00:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:00:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:00:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:01:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:01:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:01:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:01:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:01:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:01:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:01:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:01:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:01:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:01:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:01:23 Europe/Berlin] Session role: not set
[08-Dec-2025 15:01:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:01:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:01:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:01:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:01:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:01:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:01:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:01:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:01:55 Europe/Berlin] Session role: not set
[08-Dec-2025 15:01:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:01:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:01:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:16 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:02:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:16 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:16 UTC] DB Connection Status: Connected
[08-Dec-2025 14:02:16 UTC] User with ID 28 found
[08-Dec-2025 14:02:17 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:02:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:18 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:18 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:30 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:30 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:30 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:48 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:02:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:53 UTC] DB Connection Status: Connected
[08-Dec-2025 14:02:53 UTC] User with ID 28 found
[08-Dec-2025 14:02:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:02:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:02:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:02:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:02:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:02:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:02:57 Europe/Berlin] Session role: not set
[08-Dec-2025 15:02:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:02:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:02:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:03:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:03:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:03:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:03:26 Europe/Berlin] Session role: not set
[08-Dec-2025 15:03:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:03:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:03:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:03:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:03:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:03:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:03:51 Europe/Berlin] Session role: not set
[08-Dec-2025 15:03:51 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:03:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:03:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:03:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:03:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:03:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:03:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:03:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:03:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:03:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:03:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:03:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:03:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:03:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:03:59 Europe/Berlin] Session role: not set
[08-Dec-2025 15:03:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:04:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:04:00 UTC] DB Connection Status: Connected
[08-Dec-2025 14:04:00 UTC] User with ID 28 found
[08-Dec-2025 14:04:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:04:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:04:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:04:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:04:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:04:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:04:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:04:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:04:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:04:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:04:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:04:33 Europe/Berlin] Session role: not set
[08-Dec-2025 15:04:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:04:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:04:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:04:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:04:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:04:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:04:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:04:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:04:59 Europe/Berlin] Session role: not set
[08-Dec-2025 15:04:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:05:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:05:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:05:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:05:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:05:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:05:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:05:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:05:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:05:05 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[08-Dec-2025 15:05:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:05:05 Europe/Berlin] Session role: not set
[08-Dec-2025 15:05:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:05:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:05:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:05:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:05:08 Europe/Berlin] Session role: not set
[08-Dec-2025 15:05:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:05:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:05:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:05:23 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[08-Dec-2025 15:05:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:05:23 Europe/Berlin] Session role: not set
[08-Dec-2025 15:05:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:05:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:05:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:05:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:05:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:05:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:05:25 Europe/Berlin] Session role: not set
[08-Dec-2025 15:05:25 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:05:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:05:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:06:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:06:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:06:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:06:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:06:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:06:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:06:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:06:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:06:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:06:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:06:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:06:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:06:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:06:26 Europe/Berlin] Session role: not set
[08-Dec-2025 15:06:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:06:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:06:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:06:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:06:28 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Dec-2025 15:06:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:06:28 Europe/Berlin] Session role: not set
[08-Dec-2025 15:06:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:06:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:06:29 UTC] Analytics: Looking for courses for teacher ID: 28
[08-Dec-2025 14:06:29 UTC] Analytics: No courses found for teacher 28
[08-Dec-2025 14:06:29 UTC] Analytics: Teacher has 1 total courses in database
[08-Dec-2025 14:06:29 UTC] Analytics: Final top_courses count: 0
[08-Dec-2025 14:06:29 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[08-Dec-2025 14:06:29 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[08-Dec-2025 15:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:06:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:06:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:06:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:06:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:07:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:07:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:07:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:07:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:07:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:07:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:07:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:07:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:07:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:07:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:07:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:07:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:07:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:07:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:07:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:07:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:07:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:07:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:07:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:08:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:08:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:08:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:08:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:08:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:08:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:08:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:08:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:08:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:08:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:08:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:08:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:08:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:08:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:08:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:08:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:08:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:08:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:08:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:08:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:08:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:08:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:08:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:09:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:09:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:09:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:09:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:09:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:09:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:09:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:09:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:09:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:09:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:09:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:09:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:09:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:09:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:09:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:09:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:09:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:09:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:09:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:09:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:09:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:09:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:09:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:10:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:10:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:10:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:10:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:10:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:10:04 Europe/Berlin] Session role: not set
[08-Dec-2025 15:10:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:10:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:10:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:10:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:10:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:10:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:10:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:10:07 Europe/Berlin] Session role: not set
[08-Dec-2025 15:10:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:10:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:11:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:11:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:11:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:11:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:11:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:11:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:11:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:11:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:11:05 Europe/Berlin] Session role: not set
[08-Dec-2025 15:11:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:11:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:11:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:11:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:11:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:11:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:33 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:11:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:11:33 Europe/Berlin] Session role: not set
[08-Dec-2025 15:11:33 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:11:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:11:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:12:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:12:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:12:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:12:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:12:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:12:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:12:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:12:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:12:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:12:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:12:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:12:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:12:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:12:08 Europe/Berlin] Session role: not set
[08-Dec-2025 15:12:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:12:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:12:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:13:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:13:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:13:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:13:02 Europe/Berlin] Session role: not set
[08-Dec-2025 15:13:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:13:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:13:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:13:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:13:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:13:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:13:07 Europe/Berlin] Session role: not set
[08-Dec-2025 15:13:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:13:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:13:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:13:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:13:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:13:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:13:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:13:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:13:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:13:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:13:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:13:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:13:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:13:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:13:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:13:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:13:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:13:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:01 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:01 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:01 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:03 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Dec-2025 15:14:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:04 UTC] Analytics: Looking for courses for teacher ID: 28
[08-Dec-2025 14:14:04 UTC] Analytics: No courses found for teacher 28
[08-Dec-2025 14:14:04 UTC] Analytics: Teacher has 1 total courses in database
[08-Dec-2025 14:14:04 UTC] Analytics: Final top_courses count: 0
[08-Dec-2025 14:14:04 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[08-Dec-2025 14:14:04 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[08-Dec-2025 15:14:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:06 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 15:14:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:13 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:15 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 14:14:15 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 14:14:15 UTC] Found 0 videos for teacher 28
[08-Dec-2025 15:14:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:16 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:23 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:23 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:23 UTC] DB Connection Status: Connected
[08-Dec-2025 14:14:23 UTC] User with ID 28 found
[08-Dec-2025 14:14:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:24 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:27 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:27 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:54 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:14:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:14:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:14:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:14:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:14:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:14:57 Europe/Berlin] Session role: not set
[08-Dec-2025 15:14:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:14:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:14:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:15:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:15:03 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 15:15:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:03 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:15:03 Europe/Berlin] Session role: not set
[08-Dec-2025 15:15:03 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:15:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:15:03 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:15:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:15:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:15:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:15:04 Europe/Berlin] Session role: not set
[08-Dec-2025 15:15:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:15:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:15:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:15:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:15:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:15:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:37 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:15:37 Europe/Berlin] Session role: not set
[08-Dec-2025 15:15:37 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:15:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:15:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:15:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:15:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:15:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:15:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:15:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:15:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:15:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:15:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:15:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:16:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:16:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:16:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:16:05 Europe/Berlin] Session role: not set
[08-Dec-2025 15:16:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:16:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:16:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:16:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:16:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:16:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:16:40 Europe/Berlin] Session role: not set
[08-Dec-2025 15:16:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:16:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:16:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:16:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:16:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:16:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:16:59 Europe/Berlin] Session role: not set
[08-Dec-2025 15:16:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:16:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:16:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:17:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:17:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:05 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:17:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:17:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:35 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:17:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:17:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:17:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:47 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:17:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:47 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:47 UTC] DB Connection Status: Connected
[08-Dec-2025 14:17:47 UTC] User with ID 28 found
[08-Dec-2025 14:17:47 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:49 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:17:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:53 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 15:17:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:17:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:17:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:17:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:17:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:17:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:17:54 Europe/Berlin] Session role: not set
[08-Dec-2025 15:17:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:17:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:17:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 15:18:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:10 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:18:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:17 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 15:18:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:17 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:18:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:17 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:19 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:18:20 UTC] Teacher Auth Check - Script: manage-course-materials.php
[08-Dec-2025 14:18:20 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:20 UTC] isLoggedIn check result: true
[08-Dec-2025 14:18:20 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:20 UTC] isLoggedIn check result: true
[08-Dec-2025 14:18:20 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:20 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:18:20 UTC] Session role: not set
[08-Dec-2025 14:18:20 UTC] Session user_role: teacher
[08-Dec-2025 14:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:49 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:51 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:51 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:53 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Dec-2025 15:18:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:18:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:54 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:18:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:18:57 UTC] Teacher Auth Check - Script: library_submissions.php
[08-Dec-2025 14:18:57 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:57 UTC] isLoggedIn check result: true
[08-Dec-2025 14:18:57 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:57 UTC] isLoggedIn check result: true
[08-Dec-2025 14:18:57 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:18:57 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:18:57 UTC] Session role: not set
[08-Dec-2025 14:18:57 UTC] Session user_role: teacher
[08-Dec-2025 14:18:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:18:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:18:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:18:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:18:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:18:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:18:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:18:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:18:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:19:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:19:10 UTC] Teacher Auth Check - Script: publish_to_library.php
[08-Dec-2025 14:19:10 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:19:10 UTC] isLoggedIn check result: true
[08-Dec-2025 14:19:10 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:19:10 UTC] isLoggedIn check result: true
[08-Dec-2025 14:19:10 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:19:10 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:19:10 UTC] Session role: not set
[08-Dec-2025 14:19:10 UTC] Session user_role: teacher
[08-Dec-2025 14:19:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:19:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:19:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:10 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:19:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:19:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:19 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:19:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:19:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:41 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:19:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:44 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Dec-2025 15:19:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:44 UTC] Analytics: Looking for courses for teacher ID: 28
[08-Dec-2025 14:19:44 UTC] Analytics: No courses found for teacher 28
[08-Dec-2025 14:19:44 UTC] Analytics: Teacher has 1 total courses in database
[08-Dec-2025 14:19:44 UTC] Analytics: Final top_courses count: 0
[08-Dec-2025 14:19:44 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[08-Dec-2025 14:19:44 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[08-Dec-2025 15:19:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:19:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:45 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:45 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:45 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:19:49 Europe/Berlin] Session role: not set
[08-Dec-2025 15:19:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:19:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:00 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Dec-2025 15:20:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:00 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:20:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:00 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:19 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:23 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[08-Dec-2025 15:20:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:23 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:23 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:20:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:24 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:31 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Dec-2025 15:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:31 UTC] isLoggedIn check result: true
[08-Dec-2025 14:20:31 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:44 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Dec-2025 15:20:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:20:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:20:49 Europe/Berlin] Session role: not set
[08-Dec-2025 15:20:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:21:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:21:09 Europe/Berlin] Teacher Auth Check - Script: settings.php
[08-Dec-2025 15:21:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:21:09 Europe/Berlin] Session role: not set
[08-Dec-2025 15:21:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:21:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:21:09 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[08-Dec-2025 15:21:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:21:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:21:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:21:10 Europe/Berlin] Session role: not set
[08-Dec-2025 15:21:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:21:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:21:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:21:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:21:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:21:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:21:19 Europe/Berlin] Session role: not set
[08-Dec-2025 15:21:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:21:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:21:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:21:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:21:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:21:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:21:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:21:40 Europe/Berlin] Session role: not set
[08-Dec-2025 15:21:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:21:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:21:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:22:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:22:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:22:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:22:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:22:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:22:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:22:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:22:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:22:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:22:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:22:25 Europe/Berlin] Session role: not set
[08-Dec-2025 15:22:25 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:22:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:22:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:22:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:22:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:22:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:22:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:22:40 Europe/Berlin] Session role: not set
[08-Dec-2025 15:22:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:22:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:22:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:23:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:23:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:23:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:23:10 Europe/Berlin] Session role: not set
[08-Dec-2025 15:23:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:23:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:23:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:23:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:23:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:23:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:23:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:23:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:23:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:23:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:23:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:23:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:23:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:23:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:23:40 Europe/Berlin] Session role: not set
[08-Dec-2025 15:23:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:23:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:23:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:24:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:24:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:24:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:10 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:24:10 Europe/Berlin] Session role: not set
[08-Dec-2025 15:24:10 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:24:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:24:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:24:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:24:13 UTC] Teacher Auth Check - Script: manage-course-materials.php
[08-Dec-2025 14:24:13 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:13 UTC] isLoggedIn check result: true
[08-Dec-2025 14:24:13 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:13 UTC] isLoggedIn check result: true
[08-Dec-2025 14:24:13 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:13 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:24:13 UTC] Session role: not set
[08-Dec-2025 14:24:13 UTC] Session user_role: teacher
[08-Dec-2025 14:24:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:24:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:24:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:24:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:24:14 Europe/Berlin] Session role: not set
[08-Dec-2025 15:24:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:24:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:24:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:24:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:24:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:24:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:24:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:24:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:24:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:24:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:24:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:24:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:24:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:24:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:24:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:24:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:24:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:24:48 UTC] Teacher Auth Check - Script: publish_to_library.php
[08-Dec-2025 14:24:48 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:48 UTC] isLoggedIn check result: true
[08-Dec-2025 14:24:48 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:48 UTC] isLoggedIn check result: true
[08-Dec-2025 14:24:48 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:24:48 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:24:48 UTC] Session role: not set
[08-Dec-2025 14:24:48 UTC] Session user_role: teacher
[08-Dec-2025 14:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:24:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:24:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:24:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:51 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:24:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:24:51 Europe/Berlin] Session role: not set
[08-Dec-2025 15:24:51 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:24:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:24:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:25:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:25:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:25:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:25:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:25:22 Europe/Berlin] Session role: not set
[08-Dec-2025 15:25:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:25:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:25:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:25:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:25:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:24 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:25:24 Europe/Berlin] Session role: not set
[08-Dec-2025 15:25:24 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:25:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:25:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:25:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:25:31 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Dec-2025 15:25:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:25:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:25:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:25:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:25:35 UTC] Analytics: Looking for courses for teacher ID: 28
[08-Dec-2025 14:25:35 UTC] Analytics: No courses found for teacher 28
[08-Dec-2025 14:25:35 UTC] Analytics: Teacher has 1 total courses in database
[08-Dec-2025 14:25:35 UTC] Analytics: Final top_courses count: 0
[08-Dec-2025 14:25:35 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[08-Dec-2025 14:25:35 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[08-Dec-2025 15:25:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:25:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:25:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:25:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:25:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:25:36 Europe/Berlin] Session role: not set
[08-Dec-2025 15:25:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:25:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:25:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:26:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:26:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:07 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:07 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:07 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:26:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:26:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:26:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:26:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:26:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:28 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Dec-2025 15:26:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:28 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:28 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:28 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:26:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:26:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:31 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:31 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:31 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:26:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:26:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:34 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[08-Dec-2025 15:26:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:34 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:26:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:26:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:26:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:26:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:26:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:26:36 Europe/Berlin] Session role: not set
[08-Dec-2025 15:26:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:26:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:26:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:27:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:06 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:27:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:27:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:36 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:36 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:36 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Dec-2025 15:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:42 UTC] isLoggedIn check result: true
[08-Dec-2025 14:27:42 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:27:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:43 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 14:27:57 UTC] Teacher Auth Check - Script: publish_to_library.php
[08-Dec-2025 14:27:57 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:27:57 UTC] isLoggedIn check result: true
[08-Dec-2025 14:27:57 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:27:57 UTC] isLoggedIn check result: true
[08-Dec-2025 14:27:57 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 14:27:57 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 14:27:57 UTC] Session role: not set
[08-Dec-2025 14:27:57 UTC] Session user_role: teacher
[08-Dec-2025 14:27:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:27:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:27:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:27:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:27:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:27:59 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[08-Dec-2025 15:27:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:59 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:27:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:27:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:27:59 Europe/Berlin] Session role: not set
[08-Dec-2025 15:27:59 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:27:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:28:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:28:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:00 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:00 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:28:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:28:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 15:28:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:28:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:28:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:13 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:28:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:28:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:15 Europe/Berlin] Teacher Auth Check - Script: videos.php
[08-Dec-2025 15:28:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:15 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:15 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:28:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:28:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:16 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:16 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:28:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:28:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:28:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:28:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:28:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:28:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:28:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:28:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:28:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:28:47 Europe/Berlin] Session role: not set
[08-Dec-2025 15:28:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:28:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:28:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:29:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:29:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:29:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:29:17 Europe/Berlin] Session role: not set
[08-Dec-2025 15:29:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:29:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:29:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:29:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:29:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:29:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:29:21 Europe/Berlin] Session role: not set
[08-Dec-2025 15:29:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:29:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:29:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:29:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:29:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:29:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:29:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:29:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:29:47 Europe/Berlin] Session role: not set
[08-Dec-2025 15:29:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:29:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:29:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:30:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:30:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:30:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:30:17 Europe/Berlin] Session role: not set
[08-Dec-2025 15:30:17 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:30:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:30:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:30:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:30:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:30:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:30:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:30:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:30:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:30:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:30:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:30:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:30:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:30:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:30:47 Europe/Berlin] Session role: not set
[08-Dec-2025 15:30:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:30:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:30:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:31:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:31:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:31:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:31:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:31:22 Europe/Berlin] Session role: not set
[08-Dec-2025 15:31:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:31:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:31:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:31:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:31:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:31:22 Europe/Berlin] Session role: not set
[08-Dec-2025 15:31:22 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:31:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:31:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:31:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:31:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:31:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:47 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:31:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:31:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:31:47 Europe/Berlin] Session role: not set
[08-Dec-2025 15:31:47 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:32:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:32:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:32:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:32:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:32:26 Europe/Berlin] Session role: not set
[08-Dec-2025 15:32:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:32:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:32:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:32:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:32:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:32:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:32:26 Europe/Berlin] Session role: not set
[08-Dec-2025 15:32:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:32:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:32:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:33:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:33:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:33:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:33:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:33:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:33:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:33:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:33:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:33:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:33:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:33:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:33:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:33:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:33:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:33:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:33:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:34:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:34:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:34:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:34:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:34:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:34:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:34:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:34:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:34:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:34:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:34:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:34:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:34:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:34:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:34:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:35:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:35:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:35:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:35:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:21 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:21 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:35:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:43 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Dec-2025 15:35:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:43 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:43 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:43 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:43 UTC] isLoggedIn check result: true
[08-Dec-2025 14:35:43 UTC] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:35:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:44 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:44 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:49 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:49 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:49 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:49 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:50 UTC] DB Connection Status: Connected
[08-Dec-2025 14:35:50 UTC] User with ID 28 found
[08-Dec-2025 14:35:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:35:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:35:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:50 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:50 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:35:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Dec-2025 15:35:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:55 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:55 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:55 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:35:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:35:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:35:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:35:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:35:56 Europe/Berlin] Session role: not set
[08-Dec-2025 15:35:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:35:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:35:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:36:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:36:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:36:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:36:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:36:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:36:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:36:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:36:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:36:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:36:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:36:26 Europe/Berlin] Session role: not set
[08-Dec-2025 15:36:26 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:36:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:36:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:36:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:36:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:36:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:56 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:36:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:36:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:36:56 Europe/Berlin] Session role: not set
[08-Dec-2025 15:36:56 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:36:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:36:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:37:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:11 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Dec-2025 15:37:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:11 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 15:37:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:37:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:15 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:15 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:37:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:37:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:37:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:40 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:37:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:40 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:40 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:40 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:40 UTC] DB Connection Status: Connected
[08-Dec-2025 14:37:40 UTC] User with ID 28 found
[08-Dec-2025 14:37:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:37:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:37:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:41 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:41 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:41 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:37:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:37:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:53 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:53 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:53 UTC] DB Connection Status: Connected
[08-Dec-2025 14:37:53 UTC] User with ID 28 found
[08-Dec-2025 14:37:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:37:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:37:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:54 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:54 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:37:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:57 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[08-Dec-2025 15:37:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:57 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:58 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:37:58 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 14:37:58 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:37:58 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 14:37:58 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:37:58 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 14:37:58 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:37:58 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 15:37:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:37:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:37:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:37:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:37:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:37:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:37:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:37:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:37:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:38:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:05 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:38:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:05 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:05 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:06 UTC] DB Connection Status: Connected
[08-Dec-2025 14:38:06 UTC] User with ID 28 found
[08-Dec-2025 14:38:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:38:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:38:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:06 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:38:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:08 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Dec-2025 15:38:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:08 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:10 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 452
[08-Dec-2025 14:38:10 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:38:10 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 15:38:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:38:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:11 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:11 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:11 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:38:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:38:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:38:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:38:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:38:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:38:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:38:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:38:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:38:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:38:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:39:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:39:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:39:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:39:14 Europe/Berlin] Session role: not set
[08-Dec-2025 15:39:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:39:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:39:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:39:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:39:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:39:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:39:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:39:20 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:39:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:39:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:39:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:39:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:39:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:39:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:39:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:39:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:39:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:39:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:39:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:57 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:39:57 Europe/Berlin] Session role: not set
[08-Dec-2025 15:39:57 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:39:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:39:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:39:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:39:58 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 15:39:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:58 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:39:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:39:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:39:58 Europe/Berlin] Session role: not set
[08-Dec-2025 15:39:58 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:39:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:39:59 UTC] DB Connection Status: Connected
[08-Dec-2025 14:39:59 UTC] User with ID 28 found
[08-Dec-2025 14:39:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:40:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:40:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:04 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:04 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:04 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:40:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:06 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[08-Dec-2025 15:40:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:06 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:06 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:08 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 452
[08-Dec-2025 14:40:08 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[08-Dec-2025 14:40:08 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[08-Dec-2025 15:40:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:40:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:09 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:40:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:40:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:40:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 15:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:38 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:38 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 14:40:38 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 14:40:38 UTC] Found 0 videos for teacher 28
[08-Dec-2025 15:40:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:38 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:38 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:40:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:40:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:40:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:40:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:40:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:40:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:40:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:40:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:40:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:41:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:41:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:08 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:41:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:41:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:41:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:13 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Dec-2025 15:41:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:13 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 15:41:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:41:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:14 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:14 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:41:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 15:41:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:34 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:34 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:34 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:34 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 14:41:34 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 14:41:34 UTC] Found 0 videos for teacher 28
[08-Dec-2025 15:41:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:41:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:35 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:35 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:35 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:41:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:41:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:41:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:41:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765185902
    [last_regeneration] => 1765185902
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765185902
    [session_started_at] => 2025-12-08 10:25:03
    [login_redirect_count] => 0
    [flash_message] => Course created successfully!
    [flash_type] => success
)

[08-Dec-2025 15:41:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 15:41:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:41:42 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 14:41:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 14:41:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:42:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:42:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:42:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
)

[08-Dec-2025 15:42:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:42:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
)

[08-Dec-2025 15:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:43:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:43:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:43:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:43:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:44:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:44:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:44:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:44:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:44:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:45:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:45:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:45:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:45:21 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:45:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:46:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:46:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:46:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:46:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:46:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765204905
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:47:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:47:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:47:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:47:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:47:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:48:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:48:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:48:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:48:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:48:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:49:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:49:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:49:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:49:20 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:49:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:50:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:50:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:50:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:50:01 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 15:50:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765204905
    [last_regeneration] => 1765205211
    [session_started_at] => 2025-12-08 15:42:20
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[08-Dec-2025 15:50:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:50:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:50:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
)

[08-Dec-2025 15:50:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:50:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
)

[08-Dec-2025 15:50:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:50:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
)

[08-Dec-2025 15:50:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:50:12 Europe/Berlin] Session role: not set
[08-Dec-2025 15:50:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:50:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:50:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:50:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:50:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:50:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:50:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:50:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:50:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:50:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:50:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:50:42 Europe/Berlin] Session role: not set
[08-Dec-2025 15:50:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:50:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:50:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:51:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:51:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:51:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:51:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:51:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:51:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:51:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:51:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:51:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:51:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:51:22 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:51:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:52:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:52:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:52:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:52:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:52:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:52:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:52:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:52:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:52:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:52:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:52:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:53:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:53:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:53:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:53:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:53:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:53:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:53:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:53:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:53:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:53:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:54:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:54:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:54:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:54:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:54:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:54:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:54:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:54:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:54:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:54:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:54:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:54:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:55:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:55:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:55:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:55:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:55:27 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:55:27 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:55:27 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:55:27 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:55:27 Europe/Berlin] Session role: not set
[08-Dec-2025 15:55:27 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:55:30 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:55:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:56:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:56:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:56:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:56:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:56:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:56:22 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:56:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:57:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:57:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:57:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:57:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:57:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:57:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:57:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:57:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:57:21 Europe/Berlin] Session role: not set
[08-Dec-2025 15:57:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:57:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:57:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:58:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:58:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:58:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:58:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:58:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:58:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:58:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:58:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:58:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:58:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:58:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:58:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 15:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 15:59:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 15:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:59:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:59:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:59:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 15:59:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 15:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 15:59:20 Europe/Berlin] Session role: not set
[08-Dec-2025 15:59:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 14:59:22 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 14:59:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:00:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:00:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:00:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:00 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:00 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:00 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:00 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:00:00 Europe/Berlin] Session role: not set
[08-Dec-2025 16:00:00 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:00:00 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:00:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:00:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:00:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:00:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:00:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:00:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:00:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:00:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:00:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:00:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:00:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:00:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:00:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:00:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:00:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:00:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:00:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:01:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:01:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:01:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:01:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:01:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:01:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:01:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:01:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:01:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:01:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:01:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:01:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:02:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:02:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:02:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:02:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:02:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:03:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:03:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:03:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:06 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:06 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:06 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:06 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:03:06 Europe/Berlin] Session role: not set
[08-Dec-2025 16:03:06 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:03:06 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:03:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:03:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:03:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:03:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:03:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:03:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:03:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:03:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:03:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:03:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:03:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:03:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:03:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:03:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:03:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:03:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:03:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:04:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:04:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:04:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:04:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:04:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:04:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:04:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:04:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:04:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:04:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:04:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:04:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:05:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:05:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:05:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:05:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:05:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:05:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:05:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:05:13 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:05:13 Europe/Berlin] Session role: not set
[08-Dec-2025 16:05:13 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:05:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:05:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:06:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:06:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:06:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:06:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:06:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:06:14 Europe/Berlin] Session role: not set
[08-Dec-2025 16:06:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:06:14 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:06:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:06:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:06:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:06:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:06:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:06:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:06:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:06:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:06:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:06:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:06:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:07:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:07:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:07:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:07:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:07:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:07:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:07:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:07:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:07:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:07:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:07:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:07:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:07:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:44 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:07:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:07:44 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:07:44 Europe/Berlin] Session role: not set
[08-Dec-2025 16:07:44 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:07:44 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:07:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:08:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:08:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:08:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:08:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:08:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:08:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:08:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:08:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:08:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:08:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:08:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:08:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:08:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:08:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:08:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:08:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:08:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:08:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:09:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:09:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:09:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:09:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:09:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:09:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:09:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:09:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:09:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:09:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:09:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:09:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:09:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:09:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:09:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:09:50 Europe/Berlin] Session role: not set
[08-Dec-2025 16:09:50 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:09:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:09:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:10:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:10:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:10:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:10:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:10:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:10:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:10:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:10:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:10:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:11:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:11:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:11:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:11:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:11:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:11:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:11:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:11:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:11:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:11:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:11:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:11:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:12:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:12:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:12:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:12:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:12:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:12:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:12:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:13:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:13:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:13:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:13:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:13:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:13:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:13:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:13:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:13:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:13:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:13:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:14:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:14:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:14:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:14:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:14:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:14:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:14:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:14:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:14:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:14:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:14:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:14:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:15:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:15:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:15:25 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:15:25 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:15:25 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:15:25 Europe/Berlin] Session role: not set
[08-Dec-2025 16:15:25 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:15:25 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:15:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:16:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:16:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:16:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:16:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:16:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:16:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:16:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:16:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:16:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:17:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:17:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:17:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:17:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:17:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:18:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:18:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:18:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:19:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:19:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:19:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:19:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:19:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:19:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:19:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:19:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:19:21 Europe/Berlin] Session role: not set
[08-Dec-2025 16:19:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:19:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:19:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:20:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:20:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:20:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:20:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:20:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:20:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:20:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:20:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:20:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:20:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:21:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:21:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:21:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:21:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:21:29 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:21:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:21:29 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:21:29 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:21:29 Europe/Berlin] Session role: not set
[08-Dec-2025 16:21:29 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:21:30 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:21:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:22:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:22:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:22:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:22:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:22:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:22:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:22:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:22:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:22:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:22:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:22:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:23:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:23:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:23:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:23:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:23:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:23:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:23:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:23:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:23:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:23:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:23:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:23:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:24:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:24:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:24:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:24:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:24:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:24:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:24:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:24:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:24:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:24:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:24:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:24:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:50 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:24:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:24:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:24:50 Europe/Berlin] Session role: not set
[08-Dec-2025 16:24:50 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:24:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:24:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:25:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:25:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:25:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:25:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:25:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:25:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:25:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:25:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:25:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:25:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:25:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:25:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:25:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:25:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:25:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:25:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:25:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:25:43 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:25:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:26:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:26:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:26:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:26:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:26:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:23 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:26:23 Europe/Berlin] Session role: not set
[08-Dec-2025 16:26:23 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:26:23 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:26:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:27:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:27:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:27:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:27:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:27:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:27:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:27:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:27:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:27:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:28:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:28:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:28:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:28:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:28:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:28:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:28:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:28:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:28:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:28:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:28:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:28:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:28:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:28:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:28:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:28:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:28:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:28:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:28:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:29:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:29:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:29:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:29:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:29:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:29:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:29:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:29:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:29:14 Europe/Berlin] Session role: not set
[08-Dec-2025 16:29:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:29:14 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:29:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:30:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:30:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:30:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:30:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:30:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:30:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:30:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:30:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:30:14 Europe/Berlin] Session role: not set
[08-Dec-2025 16:30:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:30:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:30:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:31:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:31:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:31:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:31:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:31:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:31:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:31:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:31:18 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:31:18 Europe/Berlin] Session role: not set
[08-Dec-2025 16:31:18 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:31:18 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:31:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:32:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:32:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:32:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:32:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:32:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:32:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:32:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:32:19 Europe/Berlin] Session role: not set
[08-Dec-2025 16:32:19 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:32:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:32:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:33:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:33:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:33:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:33:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:33:26 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:33:26 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:33:26 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:33:26 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:33:26 Europe/Berlin] Session role: not set
[08-Dec-2025 16:33:26 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:33:26 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:33:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:34:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:34:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:34:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:34:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:34:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:34:19 Europe/Berlin] Session role: not set
[08-Dec-2025 16:34:19 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:34:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:34:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:34:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:34:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:34:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:34:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:34:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:34:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:34:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:34:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:34:43 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:34:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:35:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:35:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:35:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:35:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:35:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:35:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:35:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:35:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:35:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:35:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:35:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:35:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:36:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:36:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:36:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:36:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:36:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:36:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:36:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:36:13 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:36:13 Europe/Berlin] Session role: not set
[08-Dec-2025 16:36:13 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:36:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:36:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:37:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:37:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:37:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:37:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:37:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:37:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:37:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:37:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:37:14 Europe/Berlin] Session role: not set
[08-Dec-2025 16:37:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:37:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:37:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:38:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:38:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:38:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:38:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:38:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:38:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:38:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:38:15 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:38:15 Europe/Berlin] Session role: not set
[08-Dec-2025 16:38:15 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:38:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:38:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:39:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:39:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:39:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:39:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:39:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:39:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:39:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:39:16 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:39:16 Europe/Berlin] Session role: not set
[08-Dec-2025 16:39:16 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:39:17 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:39:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:40:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:40:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:40:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:40:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:40:17 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:40:17 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:40:17 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:40:17 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:40:17 Europe/Berlin] Session role: not set
[08-Dec-2025 16:40:17 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:40:18 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:40:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:41:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:41:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:41:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:41:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:41:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:41:18 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:41:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:41:18 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:41:18 Europe/Berlin] Session role: not set
[08-Dec-2025 16:41:18 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:41:18 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:41:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:42:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:42:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:42:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:42:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:42:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:42:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:42:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:42:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:42:19 Europe/Berlin] Session role: not set
[08-Dec-2025 16:42:19 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:42:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:42:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:43:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:43:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:43:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:43:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:43:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:43:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:43:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:43:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:43:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:44:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:44:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:44:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:44:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:44:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:44:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:44:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:44:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:44:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:44:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:45:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:45:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:45:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:45:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:45:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:45:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:45:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:45:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:45:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:46:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:46:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:46:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:46:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:46:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:46:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:46:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:46:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:46:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:46:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:47:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:47:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:47:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:47:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:47:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:47:21 Europe/Berlin] Session role: not set
[08-Dec-2025 16:47:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:47:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:47:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:47:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:47:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:47:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:47:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:47:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:47:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:47:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:47:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:48:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:48:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:48:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:48:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:48:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:48:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:48:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:48:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:48:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:48:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:48:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:48:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:48:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:48:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:48:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:48:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:48:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:48:43 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:48:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:49:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:49:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:49:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:49:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:49:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:49:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:49:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:49:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:49:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:49:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:49:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:49:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:50:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:50:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:50:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:50:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:50:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:50:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:50:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:50:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:50:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:50:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:50:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:50:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:51:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:51:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:51:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:51:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:51:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:51:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:51:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:51:23 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:51:23 Europe/Berlin] Session role: not set
[08-Dec-2025 16:51:23 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:51:23 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:51:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:52:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:52:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:52:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:52:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:52:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:52:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:52:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:52:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:52:21 Europe/Berlin] Session role: not set
[08-Dec-2025 16:52:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:52:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:52:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:53:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:53:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:53:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:53:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:53:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:53:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:53:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:53:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:53:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:53:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:53:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:53:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:53:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:54 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:53:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:53:54 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:53:54 Europe/Berlin] Session role: not set
[08-Dec-2025 16:53:54 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:53:54 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:53:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:54:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:54:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:54:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:54:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:54:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:54:12 Europe/Berlin] Session role: not set
[08-Dec-2025 16:54:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:54:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:54:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:54:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:54:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:54:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:54:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:54:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:54:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:54:42 Europe/Berlin] Session role: not set
[08-Dec-2025 16:54:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:54:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:54:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:55:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:55:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:55:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:55:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:55:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:55:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:55:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:55:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:55:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:55:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:55:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:55:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:56:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:56:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:56:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:56:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:57:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:57:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:57:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:57:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:57:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:57:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:57:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:57:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:57:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:57:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:57:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:57:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:58:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:58:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:58:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:58:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:58:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:58:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:58:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:58:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:58:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:58:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:58:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:58:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 16:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:59:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 16:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:59:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:59:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:59:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 16:59:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 16:59:20 Europe/Berlin] Session role: not set
[08-Dec-2025 16:59:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 15:59:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 15:59:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:00:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:00:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:00:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:00:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:00:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:00:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:00:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:00:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:01:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:01:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:01:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:01:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:01:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:01:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:01:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:01:23 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:01:23 Europe/Berlin] Session role: not set
[08-Dec-2025 17:01:23 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:01:23 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:01:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:02:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:02:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:02:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:02:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:02:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:02:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:03:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:03:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:03:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:03:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:03:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:16 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:03:16 Europe/Berlin] Session role: not set
[08-Dec-2025 17:03:16 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:03:16 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:03:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:03:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:03:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:03:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:03:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:03:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:03:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:03:42 Europe/Berlin] Session role: not set
[08-Dec-2025 17:03:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:03:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:03:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:04:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:04:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:04:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:04:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:04:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:04:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:04:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:04:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:04:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:04:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:04:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:04:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:05:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:05:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:05:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:05:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:05:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:05:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:05:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:05:13 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:05:13 Europe/Berlin] Session role: not set
[08-Dec-2025 17:05:13 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:05:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:05:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:06:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:06:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:06:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:06:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:06:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:06:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:06:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:06:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:06:14 Europe/Berlin] Session role: not set
[08-Dec-2025 17:06:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:06:14 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:06:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:07:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:07:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:07:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:07:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:07:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:07:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:07:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:07:15 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:07:15 Europe/Berlin] Session role: not set
[08-Dec-2025 17:07:15 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:07:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:07:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:08:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:08:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:08:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:08:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:08:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:08:16 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:08:16 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:08:16 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:08:16 Europe/Berlin] Session role: not set
[08-Dec-2025 17:08:16 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:08:16 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:08:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:09:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:09:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:09:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:09:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:09:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:09:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:09:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:09:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:09:21 Europe/Berlin] Session role: not set
[08-Dec-2025 17:09:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:09:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:09:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:10:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:10:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:10:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:10:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:10:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:10:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:10:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:10:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:10:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:10:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:11:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:11:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:11:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:11:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:11:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:15 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:11:15 Europe/Berlin] Session role: not set
[08-Dec-2025 17:11:15 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:11:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:11:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:11:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:11:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:11:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:11:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:52 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:11:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:11:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:11:52 Europe/Berlin] Session role: not set
[08-Dec-2025 17:11:52 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:11:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:11:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:12:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:12:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:12:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:12:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:12:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:12:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:12:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:12:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:12:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:12:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:12:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:12:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:13:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:13:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:13:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:13:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:13:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:13:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:13:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:13:13 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:13:13 Europe/Berlin] Session role: not set
[08-Dec-2025 17:13:13 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:13:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:13:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:14:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:14:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:14:23 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:14:23 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:14:23 Europe/Berlin] Session role: not set
[08-Dec-2025 17:14:23 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:14:24 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:15:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:15:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:15:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:15:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:15:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:15:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:15:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:15:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:15:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:15:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:15:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:16:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:16:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:16:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:16:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:16:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:16:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:16:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:16:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:16:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:16:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:17:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:17:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:17:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:18:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:18:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:18:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:18:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:18:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:19:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:19:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:19:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:19:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:19:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:19:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:19:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:19:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:19:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:19:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:20:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:20:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:20:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:20:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:20:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:20:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:20:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:20:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:20:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:20:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:20:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:21:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:21:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:21:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:05 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:05 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:05 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:05 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:21:05 Europe/Berlin] Session role: not set
[08-Dec-2025 17:21:05 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:21:05 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:21:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:21:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:21:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:21:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:21:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:21:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:21:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:21:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:21:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:21:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:21:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:21:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:21:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:21:42 Europe/Berlin] Session role: not set
[08-Dec-2025 17:21:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:21:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:21:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:22:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:22:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:22:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:22:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:22:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:22:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:22:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:22:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:22:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:22:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:22:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:22:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:23:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:23:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:23:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:23:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:23:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:23:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:23:13 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:23:13 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:23:13 Europe/Berlin] Session role: not set
[08-Dec-2025 17:23:13 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:23:13 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:23:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:24:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:24:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:24:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:24:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:24:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:24:14 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:24:14 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:24:14 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:24:14 Europe/Berlin] Session role: not set
[08-Dec-2025 17:24:14 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:24:14 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:24:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:25:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:25:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:25:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:25:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:15 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:25:15 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:15 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:25:15 Europe/Berlin] Session role: not set
[08-Dec-2025 17:25:15 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:25:15 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:25:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:25:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:25:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:25:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:25:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:25:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765205408
    [created_at] => 1765205408
    [last_regeneration] => 1765205408
    [session_started_at] => 2025-12-08 15:50:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:25:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:25:42 Europe/Berlin] Session role: not set
[08-Dec-2025 17:25:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:25:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:25:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:26:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Dec-2025 17:26:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
)

[08-Dec-2025 17:26:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
)

[08-Dec-2025 17:26:08 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
)

[08-Dec-2025 17:26:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:08 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:08 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:08 UTC] Fetching videos for teacher_id: 28
[08-Dec-2025 16:26:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Dec-2025 16:26:08 UTC] Found 0 videos for teacher 28
[08-Dec-2025 17:26:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:26:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:09 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:09 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:09 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:26:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:26:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:12 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:26:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:19 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Dec-2025 17:26:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:19 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:19 UTC] DB Connection Status: Connected
[08-Dec-2025 16:26:19 UTC] User with ID 28 found
[08-Dec-2025 16:26:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Dec-2025 17:26:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:26:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:19 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:19 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:26:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:26:29 UTC] Teacher Auth Check - Script: publish_to_library.php
[08-Dec-2025 16:26:29 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:29 UTC] isLoggedIn check result: true
[08-Dec-2025 16:26:29 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:29 UTC] isLoggedIn check result: true
[08-Dec-2025 16:26:29 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:29 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 16:26:29 UTC] Session role: not set
[08-Dec-2025 16:26:29 UTC] Session user_role: teacher
[08-Dec-2025 16:26:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 17:26:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:26:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:29 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:29 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:29 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:26:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:26:32 UTC] Teacher Auth Check - Script: library_submissions.php
[08-Dec-2025 16:26:32 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:32 UTC] isLoggedIn check result: true
[08-Dec-2025 16:26:32 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:32 UTC] isLoggedIn check result: true
[08-Dec-2025 16:26:32 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:26:32 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 16:26:32 UTC] Session role: not set
[08-Dec-2025 16:26:32 UTC] Session user_role: teacher
[08-Dec-2025 16:26:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 17:26:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:26:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:26:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:26:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:26:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:26:32 Europe/Berlin] Session role: not set
[08-Dec-2025 17:26:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:26:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:26:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:27:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:27:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:27:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:02 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:27:02 Europe/Berlin] Session role: not set
[08-Dec-2025 17:27:02 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:27:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:27:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:27:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:27:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:27:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:13 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:27:13 Europe/Berlin] Session role: not set
[08-Dec-2025 17:27:13 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:27:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:27:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:27:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:27:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:27:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:32 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:27:32 Europe/Berlin] Session role: not set
[08-Dec-2025 17:27:32 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:27:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:27:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 16:27:48 UTC] === FORM SUBMISSION DEBUG ===
[08-Dec-2025 16:27:48 UTC] POST data: Array
(
    [title] => CyberSecurity
    [priority] => high
    [description] => welcome
    [category] => 4
    [custom_category] => 
    [tags] => programming
    [submit_document] => 
)

[08-Dec-2025 16:27:48 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => katleho_website_B(90).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpSTegtg
            [error] => 0
            [size] => 72054
        )

    [thumbnail] => Array
        (
            [name] => download.jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpPJjc7J
            [error] => 0
            [size] => 12269
        )

)

[08-Dec-2025 16:27:48 UTC] Checking document_file: SET
[08-Dec-2025 16:27:48 UTC] Document file name: katleho_website_B(90).pdf
[08-Dec-2025 16:27:48 UTC] === DATABASE INSERT DEBUG ===
[08-Dec-2025 16:27:48 UTC] teacher_id: 28
[08-Dec-2025 16:27:48 UTC] title: CyberSecurity
[08-Dec-2025 16:27:48 UTC] description: welcome
[08-Dec-2025 16:27:48 UTC] category_id: 4
[08-Dec-2025 16:27:48 UTC] tags: programming
[08-Dec-2025 16:27:48 UTC] relative_path: uploads/library_submissions/1765211268_6936fc84088db.pdf
[08-Dec-2025 16:27:48 UTC] file_name: katleho_website_B(90).pdf
[08-Dec-2025 16:27:48 UTC] file_extension: pdf
[08-Dec-2025 16:27:48 UTC] file_size: 72054
[08-Dec-2025 16:27:48 UTC] priority: high
[08-Dec-2025 16:27:48 UTC] thumbnail_path: uploads/library_submissions/thumb_1765211268_6936fc8406faa.jpeg
[08-Dec-2025 16:27:48 UTC] SUCCESS: Submission inserted with ID: 5
[08-Dec-2025 16:27:48 UTC] Teacher Auth Check - Script: library_submissions.php
[08-Dec-2025 16:27:48 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:48 UTC] isLoggedIn check result: true
[08-Dec-2025 16:27:48 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:48 UTC] isLoggedIn check result: true
[08-Dec-2025 16:27:48 UTC] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 16:27:48 UTC] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 16:27:48 UTC] Session role: not set
[08-Dec-2025 16:27:48 UTC] Session user_role: teacher
[08-Dec-2025 16:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 17:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:48 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211167
    [last_regeneration] => 1765211167
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211167
    [session_started_at] => 2025-12-08 17:26:08
    [login_redirect_count] => 0
)

[08-Dec-2025 17:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Dec-2025 17:27:48 Europe/Berlin] Session role: not set
[08-Dec-2025 17:27:48 Europe/Berlin] Session user_role: teacher
[08-Dec-2025 16:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[08-Dec-2025 16:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:28:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:28:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:28:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765211285
    [last_regeneration] => 1765211285
    [session_started_at] => 2025-12-08 17:28:14
)

[08-Dec-2025 17:28:14 Europe/Berlin] isLoggedIn check result: false
[08-Dec-2025 17:28:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765211285
    [last_regeneration] => 1765211285
    [session_started_at] => 2025-12-08 17:28:14
)

[08-Dec-2025 17:28:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:28:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:28:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
)

[08-Dec-2025 17:28:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:28:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
)

[08-Dec-2025 17:28:46 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:28:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
)

[08-Dec-2025 17:28:46 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:28:46 Europe/Berlin] Session role: not set
[08-Dec-2025 17:28:46 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:28:46 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:28:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:29:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:29:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:29:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:29:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:12 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:29:12 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:12 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:29:12 Europe/Berlin] Session role: not set
[08-Dec-2025 17:29:12 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:29:12 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:29:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:29:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:29:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:29:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:29:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:42 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:29:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:29:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:29:42 Europe/Berlin] Session role: not set
[08-Dec-2025 17:29:42 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:29:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:29:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:30:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:30:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:30:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:30:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:30:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:30:21 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:30:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:30:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:30:21 Europe/Berlin] Session role: not set
[08-Dec-2025 17:30:21 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:30:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:30:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:31:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:31:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:31:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:31:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:31:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:31:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:31:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:31:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:31:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:31:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:31:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:31:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:32:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:32:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:32:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:32:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:32:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:32:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:32:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:32:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:32:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:32:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:32:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:33:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:33:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:33:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:33:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:33:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:33:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:33:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:33:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:33:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:33:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:33:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:34:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:34:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:34:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:34:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:34:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:34:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:34:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:34:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:34:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:34:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:34:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:35:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:35:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:35:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:35:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:35:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:35:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:35:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:35:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:35:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:35:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:35:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:36:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:36:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:36:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:36:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:36:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:36:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:36:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:36:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:36:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:36:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:36:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:37:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:37:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:37:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:37:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:37:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:37:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:37:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:37:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:37:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:37:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:37:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:38:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:38:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:38:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:38:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:38:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:38:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:38:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:38:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:38:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:39:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:39:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:39:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:39:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:39:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:39:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:39:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:39:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:39:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:39:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:39:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:40:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:40:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:40:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:40:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:40:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:40:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:40:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:40:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:41:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:41:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:41:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:41:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:41:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:41:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:41:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:41:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:41:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:41:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:41:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:41:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:42:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:42:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:42:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:42:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:42:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:42:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:42:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:42:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:42:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:42:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:42:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:43:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:43:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:43:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:43:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:43:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:43:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:43:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:43:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:43:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:43:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:43:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:44:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:44:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:44:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:44:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:44:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:44:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:44:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:44:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:44:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:44:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:44:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:45:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:45:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:45:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:45:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:45:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:45:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:45:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:45:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:45:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:45:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:46:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:46:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:46:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:46:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:46:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:46:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:46:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:46:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:46:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:46:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:46:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:47:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:47:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:47:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:47:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:47:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:47:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:47:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:47:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:47:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:47:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:47:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:47:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Dec-2025 17:48:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Dec-2025 17:48:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Dec-2025 17:48:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:48:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:48:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:48:20 Europe/Berlin] isLoggedIn check result: true
[08-Dec-2025 17:48:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765211309
    [created_at] => 1765211309
    [last_regeneration] => 1765211309
    [session_started_at] => 2025-12-08 17:28:29
    [login_redirect_count] => 0
)

[08-Dec-2025 17:48:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[08-Dec-2025 17:48:20 Europe/Berlin] Session role: not set
[08-Dec-2025 17:48:20 Europe/Berlin] Session user_role: admin
[08-Dec-2025 16:48:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[08-Dec-2025 16:48:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 05:42:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 05:42:08 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[09-Dec-2025 05:42:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 05:42:08
)

[09-Dec-2025 05:42:08 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 05:42:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 05:42:08
)

[09-Dec-2025 09:02:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 09:02:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
)

[09-Dec-2025 09:02:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
)

[09-Dec-2025 09:02:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
)

[09-Dec-2025 09:02:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:19 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:19 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:22 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 08:02:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 08:02:22 UTC] Found 0 videos for teacher 28
[09-Dec-2025 09:02:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:02:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:23 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:23 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:23 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:23 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:02:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 09:02:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:36 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:36 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:36 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:36 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:36 UTC] DB Connection Status: Connected
[09-Dec-2025 08:02:36 UTC] User with ID 28 found
[09-Dec-2025 08:02:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 09:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:37 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:37 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:02:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:41 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[09-Dec-2025 09:02:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:41 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:41 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:41 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:41 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:41 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 09:02:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:02:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:42 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:42 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:02:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 08:02:56 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 08:02:56 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:02:56 UTC] isLoggedIn check result: true
[09-Dec-2025 08:02:56 UTC] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:02:56 UTC] isLoggedIn check result: true
[09-Dec-2025 08:02:56 UTC] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:02:56 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 08:02:56 UTC] Session role: not set
[09-Dec-2025 08:02:56 UTC] Session user_role: teacher
[09-Dec-2025 08:02:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:02:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:02:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:02:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:57 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:57 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:02:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:02:57 Europe/Berlin] Session role: not set
[09-Dec-2025 09:02:57 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:02:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:02:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:03:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:03:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:03:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:03:27 Europe/Berlin] Session role: not set
[09-Dec-2025 09:03:27 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:03:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:03:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:03:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:03:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:03:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:57 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:57 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:03:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:03:57 Europe/Berlin] Session role: not set
[09-Dec-2025 09:03:57 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:03:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:03:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:04:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:04:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:04:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:04:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:04:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:04:27 Europe/Berlin] Session role: not set
[09-Dec-2025 09:04:27 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:04:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:04:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:04:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 08:04:34 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 08:04:34 UTC] POST data: Array
(
    [title] => Business studies
    [priority] => low
    [description] => welcome
    [category] => 6
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[09-Dec-2025 08:04:34 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Citiwood-Catalogue-V3-Comb.pdf
            [type] => application/pdf
            [tmp_name] => /tmp/php0w313s
            [error] => 0
            [size] => 3341506
        )

    [thumbnail] => Array
        (
            [name] => 01.png
            [type] => image/png
            [tmp_name] => /tmp/phpBhnbdq
            [error] => 0
            [size] => 87045
        )

)

[09-Dec-2025 08:04:34 UTC] Checking document_file: SET
[09-Dec-2025 08:04:34 UTC] Document file name: Citiwood-Catalogue-V3-Comb.pdf
[09-Dec-2025 08:04:34 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 08:04:34 UTC] teacher_id: 28
[09-Dec-2025 08:04:34 UTC] title: Business studies
[09-Dec-2025 08:04:34 UTC] description: welcome
[09-Dec-2025 08:04:34 UTC] category_id: 6
[09-Dec-2025 08:04:34 UTC] tags: welcome
[09-Dec-2025 08:04:34 UTC] relative_path: uploads/library_submissions/1765267474_6937d8126f3a4.pdf
[09-Dec-2025 08:04:34 UTC] file_name: Citiwood-Catalogue-V3-Comb.pdf
[09-Dec-2025 08:04:34 UTC] file_extension: pdf
[09-Dec-2025 08:04:34 UTC] file_size: 3341506
[09-Dec-2025 08:04:34 UTC] priority: low
[09-Dec-2025 08:04:34 UTC] thumbnail_path: uploads/library_submissions/thumb_1765267474_6937d81267e8d.png
[09-Dec-2025 08:04:34 UTC] SUCCESS: Submission inserted with ID: 6
[09-Dec-2025 08:04:35 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 08:04:35 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:04:35 UTC] isLoggedIn check result: true
[09-Dec-2025 08:04:35 UTC] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:04:35 UTC] isLoggedIn check result: true
[09-Dec-2025 08:04:35 UTC] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 08:04:35 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 08:04:35 UTC] Session role: not set
[09-Dec-2025 08:04:35 UTC] Session user_role: teacher
[09-Dec-2025 08:04:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:04:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:04:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:04:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:35 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:35 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765267339
    [last_regeneration] => 1765267339
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765267339
    [session_started_at] => 2025-12-09 09:02:19
    [login_redirect_count] => 0
)

[09-Dec-2025 09:04:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:04:35 Europe/Berlin] Session role: not set
[09-Dec-2025 09:04:35 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:04:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:04:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:57:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:57:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 09:57:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
)

[09-Dec-2025 09:57:08 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
)

[09-Dec-2025 09:57:08 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
)

[09-Dec-2025 09:57:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:57:08 Europe/Berlin] Session role: not set
[09-Dec-2025 09:57:08 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:57:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:57:12 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 08:57:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 08:57:12 UTC] Found 0 videos for teacher 28
[09-Dec-2025 09:57:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:57:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:57:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:57:13 Europe/Berlin] Session role: not set
[09-Dec-2025 09:57:13 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:57:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:57:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:57:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 08:57:19 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 08:57:19 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:57:19 UTC] isLoggedIn check result: true
[09-Dec-2025 08:57:19 UTC] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:57:19 UTC] isLoggedIn check result: true
[09-Dec-2025 08:57:19 UTC] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:57:19 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 08:57:19 UTC] Session role: not set
[09-Dec-2025 08:57:19 UTC] Session user_role: teacher
[09-Dec-2025 08:57:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:57:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:57:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:57:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:57:19 Europe/Berlin] Session role: not set
[09-Dec-2025 09:57:19 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:57:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:57:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:57:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:57:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:57:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:57:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:57:49 Europe/Berlin] Session role: not set
[09-Dec-2025 09:57:49 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:57:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:57:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:58:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:58:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:58:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:19 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:58:19 Europe/Berlin] Session role: not set
[09-Dec-2025 09:58:19 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:58:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:58:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 09:58:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 08:58:20 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 08:58:20 UTC] POST data: Array
(
    [title] => Computer technologies
    [priority] => high
    [description] => welcome
    [category] => 4
    [custom_category] => 
    [tags] => welcome
    [submit_document] => 
)

[09-Dec-2025 08:58:20 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Infinityregister (4).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/php3x6nld
            [error] => 0
            [size] => 47574
        )

    [thumbnail] => Array
        (
            [name] => close-up-code-codes-239898-1030x687.jpg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpuJU2MP
            [error] => 0
            [size] => 677894
        )

)

[09-Dec-2025 08:58:20 UTC] Checking document_file: SET
[09-Dec-2025 08:58:20 UTC] Document file name: Infinityregister (4).pdf
[09-Dec-2025 08:58:20 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 08:58:20 UTC] teacher_id: 28
[09-Dec-2025 08:58:20 UTC] title: Computer technologies
[09-Dec-2025 08:58:20 UTC] description: welcome
[09-Dec-2025 08:58:20 UTC] category_id: 4
[09-Dec-2025 08:58:20 UTC] tags: welcome
[09-Dec-2025 08:58:20 UTC] relative_path: uploads/library_submissions/1765270700_6937e4ac61545.pdf
[09-Dec-2025 08:58:20 UTC] file_name: Infinityregister (4).pdf
[09-Dec-2025 08:58:20 UTC] file_extension: pdf
[09-Dec-2025 08:58:20 UTC] file_size: 47574
[09-Dec-2025 08:58:20 UTC] priority: high
[09-Dec-2025 08:58:20 UTC] thumbnail_path: uploads/library_submissions/thumb_1765270700_6937e4ac45601.jpg
[09-Dec-2025 08:58:20 UTC] SUCCESS: Submission inserted with ID: 7
[09-Dec-2025 08:58:20 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 08:58:20 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:58:20 UTC] isLoggedIn check result: true
[09-Dec-2025 08:58:20 UTC] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:58:20 UTC] isLoggedIn check result: true
[09-Dec-2025 08:58:20 UTC] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 08:58:20 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 08:58:20 UTC] Session role: not set
[09-Dec-2025 08:58:20 UTC] Session user_role: teacher
[09-Dec-2025 08:58:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:58:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 09:58:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 09:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765270628
    [last_regeneration] => 1765270628
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765270628
    [session_started_at] => 2025-12-09 09:57:08
    [login_redirect_count] => 0
)

[09-Dec-2025 09:58:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:58:21 Europe/Berlin] Session role: not set
[09-Dec-2025 09:58:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 08:58:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 08:58:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:32:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:32:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 10:32:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
)

[09-Dec-2025 10:32:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
)

[09-Dec-2025 10:32:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
)

[09-Dec-2025 10:32:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:32:13 Europe/Berlin] Session role: not set
[09-Dec-2025 10:32:13 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:32:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:32:16 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 09:32:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 09:32:16 UTC] Found 0 videos for teacher 28
[09-Dec-2025 10:32:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:32:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:32:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:32:17 Europe/Berlin] Session role: not set
[09-Dec-2025 10:32:17 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:32:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:32:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:32:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:32:21 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 09:32:21 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:32:21 UTC] isLoggedIn check result: true
[09-Dec-2025 09:32:21 UTC] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:32:21 UTC] isLoggedIn check result: true
[09-Dec-2025 09:32:21 UTC] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:32:21 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:32:21 UTC] Session role: not set
[09-Dec-2025 09:32:21 UTC] Session user_role: teacher
[09-Dec-2025 09:32:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:32:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:32:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:32:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:32:21 Europe/Berlin] Session role: not set
[09-Dec-2025 10:32:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:32:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:32:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:32:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:32:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:32:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:32:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:32:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:32:51 Europe/Berlin] Session role: not set
[09-Dec-2025 10:32:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:32:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:32:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:33:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:33:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:33:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:33:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:33:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:33:21 Europe/Berlin] Session role: not set
[09-Dec-2025 10:33:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:33:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:33:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:33:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 09:33:34 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 09:33:34 UTC] POST data: Array
(
    [title] => Computer literacy and systems
    [priority] => medium
    [description] => qwkx
    [category] => 6
    [custom_category] => 
    [tags] => programming
    [submit_document] => 
)

[09-Dec-2025 09:33:34 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => katleho_website_B(90).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpsNu6fC
            [error] => 0
            [size] => 72054
        )

    [thumbnail] => Array
        (
            [name] => download (16).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phptKNRKS
            [error] => 0
            [size] => 12556
        )

)

[09-Dec-2025 09:33:34 UTC] Checking document_file: SET
[09-Dec-2025 09:33:34 UTC] Document file name: katleho_website_B(90).pdf
[09-Dec-2025 09:33:34 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 09:33:34 UTC] teacher_id: 28
[09-Dec-2025 09:33:34 UTC] title: Computer literacy and systems
[09-Dec-2025 09:33:34 UTC] description: qwkx
[09-Dec-2025 09:33:34 UTC] category_id: 6
[09-Dec-2025 09:33:34 UTC] tags: programming
[09-Dec-2025 09:33:34 UTC] relative_path: uploads/library_submissions/1765272814_6937ecee219f7.pdf
[09-Dec-2025 09:33:34 UTC] file_name: katleho_website_B(90).pdf
[09-Dec-2025 09:33:34 UTC] file_extension: pdf
[09-Dec-2025 09:33:34 UTC] file_size: 72054
[09-Dec-2025 09:33:34 UTC] priority: medium
[09-Dec-2025 09:33:34 UTC] thumbnail_path: uploads/library_submissions/thumb_1765272814_6937ecee1fc1f.jpeg
[09-Dec-2025 09:33:34 UTC] SUCCESS: Submission inserted with ID: 8
[09-Dec-2025 09:33:34 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 09:33:34 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:33:34 UTC] isLoggedIn check result: true
[09-Dec-2025 09:33:34 UTC] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:33:34 UTC] isLoggedIn check result: true
[09-Dec-2025 09:33:34 UTC] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 09:33:34 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 09:33:34 UTC] Session role: not set
[09-Dec-2025 09:33:34 UTC] Session user_role: teacher
[09-Dec-2025 09:33:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:33:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:33:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:33:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:35 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:33:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:35 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:33:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765272733
    [last_regeneration] => 1765272733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765272733
    [session_started_at] => 2025-12-09 10:32:13
    [login_redirect_count] => 0
)

[09-Dec-2025 10:33:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:33:35 Europe/Berlin] Session role: not set
[09-Dec-2025 10:33:35 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:33:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:33:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:50:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 10:50:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
)

[09-Dec-2025 10:50:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
)

[09-Dec-2025 10:50:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
)

[09-Dec-2025 10:50:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:29 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:29 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:50:30 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 09:50:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 09:50:30 UTC] Found 0 videos for teacher 28
[09-Dec-2025 10:50:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:50:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:30 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:30 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:50:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:50:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:40 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[09-Dec-2025 10:50:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:40 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:40 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:50:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:50:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:42 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:42 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:50:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:48 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:48 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:50:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:50:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:50:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:50:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:50:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:50:50 Europe/Berlin] Session role: not set
[09-Dec-2025 10:50:50 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:50:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:50:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 10:51:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:51:13 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 10:51:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:51:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:51:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:51:13 Europe/Berlin] Session role: not set
[09-Dec-2025 10:51:13 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:51:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:51:13 UTC] Withdrawal form submitted by user 28 with amount 500, method: bank_transfer
[09-Dec-2025 09:51:14 UTC] Withdrawal request created successfully for user 28 with structured payment data
[09-Dec-2025 09:51:14 UTC] Bank: Absa, Account: 7458458458, Holder: Alain M Kitumaini
[09-Dec-2025 10:51:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:51:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 10:51:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:51:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 10:51:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765273829
    [last_regeneration] => 1765273829
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765273829
    [session_started_at] => 2025-12-09 10:50:29
    [login_redirect_count] => 0
)

[09-Dec-2025 10:51:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:51:14 Europe/Berlin] Session role: not set
[09-Dec-2025 10:51:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 09:51:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 09:51:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:02:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:02:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 11:02:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
)

[09-Dec-2025 11:02:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
)

[09-Dec-2025 11:02:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
)

[09-Dec-2025 11:02:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:02:14 Europe/Berlin] Session role: not set
[09-Dec-2025 11:02:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:02:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:02:14 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 10:02:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 10:02:14 UTC] Found 0 videos for teacher 28
[09-Dec-2025 11:02:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:02:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:02:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:02:14 Europe/Berlin] Session role: not set
[09-Dec-2025 11:02:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:02:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:02:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:02:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:02:33 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:02:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:33 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:33 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:02:33 Europe/Berlin] Session role: not set
[09-Dec-2025 11:02:33 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:02:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:02:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:02:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:02:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:02:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:02:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:02:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:02:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:02:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:03:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:03:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:03:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:03:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:03:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:03:04 Europe/Berlin] Session role: not set
[09-Dec-2025 11:03:04 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:03:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:03:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:03:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:03:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:03:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765274533
    [last_regeneration] => 1765274533
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765274533
    [session_started_at] => 2025-12-09 11:02:14
    [login_redirect_count] => 0
)

[09-Dec-2025 11:03:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:03:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:03:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:03:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:03:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:10:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:10:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 11:10:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
)

[09-Dec-2025 11:10:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:10:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
)

[09-Dec-2025 11:10:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:10:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
)

[09-Dec-2025 11:10:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:10:56 Europe/Berlin] Session role: not set
[09-Dec-2025 11:10:56 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:10:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:10:57 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 10:10:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 10:10:57 UTC] Found 0 videos for teacher 28
[09-Dec-2025 11:10:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:10:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:10:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:10:58 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:10:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:10:58 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:10:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:10:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:10:58 Europe/Berlin] Session role: not set
[09-Dec-2025 11:10:58 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:10:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:10:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:11:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:11:02 Europe/Berlin] Session role: not set
[09-Dec-2025 11:11:02 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:11:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:11:03 UTC] DB Connection Status: Connected
[09-Dec-2025 10:11:03 UTC] User with ID 28 found
[09-Dec-2025 10:11:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:11:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:11:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:11:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:08 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:08 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:11:08 Europe/Berlin] Session role: not set
[09-Dec-2025 11:11:08 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:11:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:11:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:11:24 Europe/Berlin] Session role: not set
[09-Dec-2025 11:11:24 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:11:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:11:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:11:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:11:25 Europe/Berlin] Session role: not set
[09-Dec-2025 11:11:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:11:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:11:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:11:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:11:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:11:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:11:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:11:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:11:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:11:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:11:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:12:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:12:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:12:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:12:25 Europe/Berlin] Session role: not set
[09-Dec-2025 11:12:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:12:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:12:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:12:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:12:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:12:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:12:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:12:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:12:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:12:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:12:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:12:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:12:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:13:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:13:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:13:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:13:25 Europe/Berlin] Session role: not set
[09-Dec-2025 11:13:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:13:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:13:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:13:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:13:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:13:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:13:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:13:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:13:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:13:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:13:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:14:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:14:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:14:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:14:25 Europe/Berlin] Session role: not set
[09-Dec-2025 11:14:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:14:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:14:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:14:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:14:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:14:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:14:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:14:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:14:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:14:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:15:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:15:25 Europe/Berlin] Session role: not set
[09-Dec-2025 11:15:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:15:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:15:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:15:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:15:49 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:15:49 Europe/Berlin] Session role: not set
[09-Dec-2025 11:15:49 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:15:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:15:50 UTC] Error 2: require_once(/home/twpurnyc/public_html/teacher/../admin/fast_email_service.php): failed to open stream: No such file or directory in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 9
[09-Dec-2025 10:15:50 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/twpurnyc/public_html/teacher/../admin/fast_email_service.php' (include_path='C:\Users\user\Downloads\xamppfile\php\PEAR') in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 9
[09-Dec-2025 11:15:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:15:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:15:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:15:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:15:50 Europe/Berlin] Session role: not set
[09-Dec-2025 11:15:50 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:15:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:15:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:16:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:16:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:16:20 Europe/Berlin] Session role: not set
[09-Dec-2025 11:16:20 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:16:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:16:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:16:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:16:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:16:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:16:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:16:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:16:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:16:51 Europe/Berlin] Session role: not set
[09-Dec-2025 11:16:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:16:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:16:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:17:20 Europe/Berlin] Session role: not set
[09-Dec-2025 11:17:20 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:17:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:17:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:17:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:17:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:17:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:17:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:17:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:17:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:17:50 Europe/Berlin] Session role: not set
[09-Dec-2025 11:17:50 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:17:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:17:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:18:20 Europe/Berlin] Session role: not set
[09-Dec-2025 11:18:20 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:18:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:18:40 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:18:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:18:40 Europe/Berlin] Session role: not set
[09-Dec-2025 11:18:40 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:18:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:18:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:18:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:18:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:41 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:41 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:18:41 Europe/Berlin] Session role: not set
[09-Dec-2025 11:18:41 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:18:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:18:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:18:59 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:18:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:59 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:59 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:18:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:18:59 Europe/Berlin] Session role: not set
[09-Dec-2025 11:18:59 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:18:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:18:59 UTC] Withdrawal form submitted by user 28 with amount 500, method: bank_transfer
[09-Dec-2025 10:18:59 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - failed
[09-Dec-2025 10:19:00 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:19:00 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:19:00 UTC] Withdrawal request created successfully for user 28 with structured payment data
[09-Dec-2025 10:19:00 UTC] Bank: Absa, Account: 7458458458, Holder: Alain M Kitumaini
[09-Dec-2025 11:19:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:19:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:19:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:19:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:19:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:19:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:19:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:19:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:19:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:19:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:19:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:19:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:19:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:19:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:19:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:19:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:19:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:20:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:20:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:20:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:20:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:20:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:20:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:20:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:20:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:20:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:20:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:20:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:20:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:20:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:20:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:20:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:21:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:21:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:21:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:21:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:21:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:21:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:21:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:21:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:21:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:21:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:21:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:21:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:21:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:21:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:21:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:22:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:22:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:22:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:22:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:22:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:22:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:22:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:22:21 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:22:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:22:21 Europe/Berlin] Session role: not set
[09-Dec-2025 11:22:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:22:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:22:21 UTC] Withdrawal request #4 cancelled by teacher 28
[09-Dec-2025 11:22:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:22:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:22:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:22:22 Europe/Berlin] Session role: not set
[09-Dec-2025 11:22:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:22:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:22:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:22:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:22:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:22:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:22:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:22:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:22:52 Europe/Berlin] Session role: not set
[09-Dec-2025 11:22:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:22:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:22:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:23:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:23:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:23:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:23:22 Europe/Berlin] Session role: not set
[09-Dec-2025 11:23:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:23:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:23:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:23:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:23:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:23:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:23:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:23:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:23:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:23:52 Europe/Berlin] Session role: not set
[09-Dec-2025 11:23:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:23:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:23:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:24:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:24:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:24:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:24:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:24:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:24:21 Europe/Berlin] Session role: not set
[09-Dec-2025 11:24:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:24:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:24:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:24:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:24:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:24:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:24:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:24:51 Europe/Berlin] Session role: not set
[09-Dec-2025 11:24:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:24:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:24:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:25:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:25:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:25:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:25:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:25:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:25:22 Europe/Berlin] Session role: not set
[09-Dec-2025 11:25:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:25:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:25:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:25:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:25:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:25:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:25:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:25:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:25:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:25:52 Europe/Berlin] Session role: not set
[09-Dec-2025 11:25:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:25:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:25:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:26:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:26:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:26:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:26:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:26:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:26:22 Europe/Berlin] Session role: not set
[09-Dec-2025 11:26:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:26:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:26:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:26:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:26:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:26:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:26:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:26:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:26:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:26:53 Europe/Berlin] Session role: not set
[09-Dec-2025 11:26:53 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:26:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:26:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:27:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:27:11 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:27:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:27:11 Europe/Berlin] Session role: not set
[09-Dec-2025 11:27:11 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:27:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:27:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:27:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:27:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:27:11 Europe/Berlin] Session role: not set
[09-Dec-2025 11:27:11 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:27:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:27:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:27:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:27:28 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:27:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:28 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:28 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:27:28 Europe/Berlin] Session role: not set
[09-Dec-2025 11:27:28 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:27:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:27:28 UTC] Withdrawal form submitted by user 28 with amount 500, method: bank_transfer
[09-Dec-2025 10:27:30 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - failed
[09-Dec-2025 10:27:31 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:27:31 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:27:31 UTC] Withdrawal request created successfully for user 28 with structured payment data
[09-Dec-2025 10:27:31 UTC] Bank: Absa, Account: 7458458458, Holder: Alain M Kitumaini
[09-Dec-2025 11:27:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:27:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:27:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:27:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:27:32 Europe/Berlin] Session role: not set
[09-Dec-2025 11:27:32 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:27:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:27:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:28:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:28:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:28:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:28:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:28:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:28:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:28:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:28:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:28:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:28:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:28:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:28:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:28:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:28:32 Europe/Berlin] Session role: not set
[09-Dec-2025 11:28:32 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:28:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:28:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:29:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:29:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:29:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:29:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:29:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:29:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:29:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:29:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:29:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:29:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:29:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:29:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:29:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:29:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:29:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:29:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:29:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:29:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:29:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:30:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:30:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:30:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:30:02 Europe/Berlin] Session role: not set
[09-Dec-2025 11:30:02 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:30:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:30:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:30:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:30:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:30:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:30:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:30:32 Europe/Berlin] Session role: not set
[09-Dec-2025 11:30:32 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:30:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:30:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:31:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:31:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:31:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:31:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:31:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:31:02 Europe/Berlin] Session role: not set
[09-Dec-2025 11:31:02 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:31:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:31:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:31:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:31:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:31:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:31:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:31:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:31:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:31:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:31:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:31:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:31:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:32:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:32:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:32:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:32:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:32:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:32:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:32:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:32:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:32:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:32:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:32:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:32:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:31 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:32:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:32:31 Europe/Berlin] Session role: not set
[09-Dec-2025 11:32:31 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:32:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:32:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:33:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:33:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:33:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:33:02 Europe/Berlin] Session role: not set
[09-Dec-2025 11:33:02 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:33:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:33:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:33:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:33:29 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:33:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:33:29 Europe/Berlin] Session role: not set
[09-Dec-2025 11:33:29 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:33:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:33:29 UTC] Withdrawal request #5 cancelled by teacher 28
[09-Dec-2025 11:33:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:33:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:33:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:33:30 Europe/Berlin] Session role: not set
[09-Dec-2025 11:33:30 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:33:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:33:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:33:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:33:48 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:33:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:33:48 Europe/Berlin] Session role: not set
[09-Dec-2025 11:33:48 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:33:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:33:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:33:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:33:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:33:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:33:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:33:52 Europe/Berlin] Session role: not set
[09-Dec-2025 11:33:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:33:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:33:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:34:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:34:09 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:34:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:34:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:34:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:34:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:34:11 UTC] Withdrawal form submitted by user 28 with amount 500, method: bank_transfer
[09-Dec-2025 10:34:18 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - failed
[09-Dec-2025 10:34:19 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:34:19 UTC] Email logged successfully: kendricknick56@gmail.com - 🏦 Withdrawal Request Submitted: R500.00 - sent
[09-Dec-2025 10:34:19 UTC] Withdrawal request created successfully for user 28 with structured payment data
[09-Dec-2025 10:34:19 UTC] Bank: Absa, Account: 7458458458, Holder: Alain M Kitumaini
[09-Dec-2025 11:34:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:34:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:34:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:34:20 Europe/Berlin] Session role: not set
[09-Dec-2025 11:34:20 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:34:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:34:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:34:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:34:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:34:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:34:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:34:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:34:50 Europe/Berlin] Session role: not set
[09-Dec-2025 11:34:50 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:34:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:34:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:35:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:35:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:35:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:20 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:35:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:35:20 Europe/Berlin] Session role: not set
[09-Dec-2025 11:35:20 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:35:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:35:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:35:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:35:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:35:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:35:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:50 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:35:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:35:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:35:50 Europe/Berlin] Session role: not set
[09-Dec-2025 11:35:50 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:35:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:35:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:36:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:36:01 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:36:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:36:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:36:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:36:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:36:03 UTC] DB Connection Status: Connected
[09-Dec-2025 10:36:04 UTC] User with ID 28 found
[09-Dec-2025 10:36:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:36:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:36:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:36:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:06 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:06 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:36:06 Europe/Berlin] Session role: not set
[09-Dec-2025 11:36:06 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:36:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:36:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:36:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:36:07 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[09-Dec-2025 11:36:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:36:07 Europe/Berlin] Session role: not set
[09-Dec-2025 11:36:07 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:36:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:36:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:36:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:36:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:36:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:36:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:36:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:36:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:36:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:36:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:36:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:36:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:36:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:36:40 Europe/Berlin] Session role: not set
[09-Dec-2025 11:36:40 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:36:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:36:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:37:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:37:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:37:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:37:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:37:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:37:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:37:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:37:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:37:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:37:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:37:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:37:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:39 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:37:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:39 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:37:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:37:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:37:39 Europe/Berlin] Session role: not set
[09-Dec-2025 11:37:39 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:37:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:37:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:38:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:38:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:38:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:38:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:38:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:38:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:38:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:38:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:38:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:38:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:38:26 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:38:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 11:38:26
)

[09-Dec-2025 11:38:26 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 11:38:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 11:38:26
)

[09-Dec-2025 11:38:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:38:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:38:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:38:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:40 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:38:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:38:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:38:40 Europe/Berlin] Session role: not set
[09-Dec-2025 11:38:40 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:38:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:38:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:38:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:38:44 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:38:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 11:38:44
)

[09-Dec-2025 11:38:44 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 11:38:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 11:38:44
)

[09-Dec-2025 11:39:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:39:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:39:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:10 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:10 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:39:10 Europe/Berlin] Session role: not set
[09-Dec-2025 11:39:10 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:39:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:39:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:39:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:39:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:39:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:39 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:39 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:39:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:39:39 Europe/Berlin] Session role: not set
[09-Dec-2025 11:39:39 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:39:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:39:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:40:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:40:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:40:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:40:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:40:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:40:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:40:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:40:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:40:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:40:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:40:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:40:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:40:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:40:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:40:42 Europe/Berlin] Session role: not set
[09-Dec-2025 11:40:42 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:40:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:40:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:41:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:41:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:41:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:10 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:10 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:41:10 Europe/Berlin] Session role: not set
[09-Dec-2025 11:41:10 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:41:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:41:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:41:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:41:30 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[09-Dec-2025 11:41:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:41:30 Europe/Berlin] Session role: not set
[09-Dec-2025 11:41:30 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:41:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:41:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:41:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:41:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:41:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:41:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:41:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:41:32 Europe/Berlin] Session role: not set
[09-Dec-2025 11:41:32 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:41:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:41:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:42:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:42:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:42:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:02 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:42:02 Europe/Berlin] Session role: not set
[09-Dec-2025 11:42:02 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:42:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:42:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:42:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:42:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:42:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:32 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
)

[09-Dec-2025 11:42:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:42:32 Europe/Berlin] Session role: not set
[09-Dec-2025 11:42:32 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:42:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:42:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:42:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:42:52 Europe/Berlin] Error 2: mail() has been disabled for security reasons in /home/twpurnyc/public_html/config/fast_email_service.php on line 151
[09-Dec-2025 11:42:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:42:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:42:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:42:53 Europe/Berlin] Session role: not set
[09-Dec-2025 11:42:53 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:42:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:42:53 UTC] DB Connection Status: Connected
[09-Dec-2025 10:42:53 UTC] User with ID 28 found
[09-Dec-2025 10:42:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:42:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:42:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:42:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:42:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:42:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:42:53 Europe/Berlin] Session role: not set
[09-Dec-2025 11:42:53 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:42:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:42:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:43:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:43:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:43:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:23 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:43:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:23 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:43:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:43:23 Europe/Berlin] Session role: not set
[09-Dec-2025 11:43:23 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:43:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:43:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:43:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:43:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:43:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:54 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:54 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:43:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:43:54 Europe/Berlin] Session role: not set
[09-Dec-2025 11:43:54 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:43:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:43:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:44:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:44:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:44:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:44:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:44:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:44:24 Europe/Berlin] Session role: not set
[09-Dec-2025 11:44:24 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:44:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:44:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:44:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:44:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:44:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:44:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:53 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:44:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:44:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:44:53 Europe/Berlin] Session role: not set
[09-Dec-2025 11:44:53 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:44:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:44:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:45:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:45:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:24 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:24 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:45:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:45:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:26 Europe/Berlin] Attempting to delete course_id: 15 by teacher_id: 28
[09-Dec-2025 11:45:26 Europe/Berlin] Successfully deleted course_id: 15
[09-Dec-2025 11:45:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:27 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:45:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
    [success_message] => Course has been successfully deleted.
)

[09-Dec-2025 11:45:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
    [success_message] => Course has been successfully deleted.
)

[09-Dec-2025 11:45:27 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
    [success_message] => Course has been successfully deleted.
)

[09-Dec-2025 11:45:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:27 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:27 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:45:27 UTC] DB Connection Status: Connected
[09-Dec-2025 10:45:27 UTC] User with ID 28 found
[09-Dec-2025 10:45:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:45:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:45:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:30 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:30 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:45:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:48 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:48 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 11:45:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:55 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:45:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:45:55 UTC] DB Connection Status: Connected
[09-Dec-2025 10:45:55 UTC] User with ID 28 found
[09-Dec-2025 10:45:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:45:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:45:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:55 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:45:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:45:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:45:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:45:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:45:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:45:56 Europe/Berlin] Session role: not set
[09-Dec-2025 11:45:56 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:45:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:45:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:46:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:01 Europe/Berlin] Teacher Auth Check - Script: view-course.php
[09-Dec-2025 11:46:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:01 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:46:01 Europe/Berlin] Session role: not set
[09-Dec-2025 11:46:01 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:46:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:46:03 UTC] Error 8: Undefined index: status in /home/twpurnyc/public_html/teacher/view-course.php on line 452
[09-Dec-2025 10:46:03 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[09-Dec-2025 10:46:03 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[09-Dec-2025 11:46:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:46:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:05 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:05 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:46:05 Europe/Berlin] Session role: not set
[09-Dec-2025 11:46:05 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:46:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:46:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:46:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:15 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:46:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:15 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:15 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:46:15 Europe/Berlin] Session role: not set
[09-Dec-2025 11:46:15 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:46:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:46:16 UTC] DB Connection Status: Connected
[09-Dec-2025 10:46:16 UTC] User with ID 28 found
[09-Dec-2025 10:46:16 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:46:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:46:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:46:17 Europe/Berlin] Session role: not set
[09-Dec-2025 11:46:17 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:46:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:46:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:46:48 Europe/Berlin] Session role: not set
[09-Dec-2025 11:46:48 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:46:49 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 11:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 11:46:49
)

[09-Dec-2025 11:46:49 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 11:46:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 11:46:49
)

[09-Dec-2025 11:47:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:47:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:47:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:47:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:17 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:47:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:47:17 Europe/Berlin] Session role: not set
[09-Dec-2025 11:47:17 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:47:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:47:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:47:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:47:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:47:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:47 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:47 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:47:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:47:47 Europe/Berlin] Session role: not set
[09-Dec-2025 11:47:47 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:48:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:18 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:18 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:48:18 Europe/Berlin] Session role: not set
[09-Dec-2025 11:48:18 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:48:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:48:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:48:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:48:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:48:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:47 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:48:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:47 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:48:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:48:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:48:47 Europe/Berlin] Session role: not set
[09-Dec-2025 11:48:47 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:48:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:48:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:49:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:49:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:49:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:18 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:18 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:49:18 Europe/Berlin] Session role: not set
[09-Dec-2025 11:49:18 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:49:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:49:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:49:48 Europe/Berlin] Session role: not set
[09-Dec-2025 11:49:48 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:50:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:50:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:50:49 Europe/Berlin] Session role: not set
[09-Dec-2025 11:50:49 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:51:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:51:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:51:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:42 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:51:42 Europe/Berlin] Session role: not set
[09-Dec-2025 11:51:42 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:51:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:51:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:51:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:51:44 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[09-Dec-2025 11:51:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:51:44 Europe/Berlin] Session role: not set
[09-Dec-2025 11:51:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:51:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:51:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:51:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:51:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:51:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:51:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:51:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:51:44 Europe/Berlin] Session role: not set
[09-Dec-2025 11:51:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:51:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:51:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:52:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:52:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:52:14 Europe/Berlin] Session role: not set
[09-Dec-2025 11:52:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:52:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 1
[09-Dec-2025 10:52:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:52:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:52:41 Europe/Berlin] PDO connection created successfully for email service
[09-Dec-2025 11:52:42 Europe/Berlin] Email logged successfully: kendricknick56@gmail.com - 🎓 Course Created: "Call center" - Awaiting Approval - failed
[09-Dec-2025 11:52:43 Europe/Berlin] Email logged successfully: kendricknick56@gmail.com - 🎓 Course Created: "Call center" - Awaiting Approval - sent
[09-Dec-2025 11:52:43 Europe/Berlin] Email logged successfully: kendricknick56@gmail.com - 🎓 Course Created: "Call center" - Awaiting Approval - sent
[09-Dec-2025 11:52:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:52:44 Europe/Berlin] Teacher Auth Check - Script: courses.php
[09-Dec-2025 11:52:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:52:44 Europe/Berlin] Session role: not set
[09-Dec-2025 11:52:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:52:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:52:44 UTC] DB Connection Status: Connected
[09-Dec-2025 10:52:44 UTC] User with ID 28 found
[09-Dec-2025 10:52:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[09-Dec-2025 11:52:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:52:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:52:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:52:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:52:44 Europe/Berlin] Session role: not set
[09-Dec-2025 11:52:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:52:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:52:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:53:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:53:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:53:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:53:14 Europe/Berlin] Session role: not set
[09-Dec-2025 11:53:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:53:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:53:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:53:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:53:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:53:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:45 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:53:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:45 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:53:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:53:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:53:45 Europe/Berlin] Session role: not set
[09-Dec-2025 11:53:45 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:53:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:53:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:54:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:54:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:54:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:54:14 Europe/Berlin] Session role: not set
[09-Dec-2025 11:54:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:54:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:54:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:54:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:54:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:54:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:54:44 Europe/Berlin] Session role: not set
[09-Dec-2025 11:54:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:54:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:54:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:54:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:54:56 UTC] Teacher Auth Check - Script: publish_to_library.php
[09-Dec-2025 10:54:56 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:54:56 UTC] isLoggedIn check result: true
[09-Dec-2025 10:54:56 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:54:56 UTC] isLoggedIn check result: true
[09-Dec-2025 10:54:56 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:54:56 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:54:56 UTC] Session role: not set
[09-Dec-2025 10:54:56 UTC] Session user_role: teacher
[09-Dec-2025 10:54:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:54:58 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[09-Dec-2025 10:54:58 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[09-Dec-2025 10:54:58 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[09-Dec-2025 10:54:58 UTC] Error 8: Undefined index: id in /home/twpurnyc/public_html/teacher/publish_to_library.php on line 783
[09-Dec-2025 11:54:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:54:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:54:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:58 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:58 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:54:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:54:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:54:58 Europe/Berlin] Session role: not set
[09-Dec-2025 11:54:58 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:54:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:54:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:55:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:55:03 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 10:55:03 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:55:03 UTC] isLoggedIn check result: true
[09-Dec-2025 10:55:03 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:55:03 UTC] isLoggedIn check result: true
[09-Dec-2025 10:55:03 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:55:03 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:55:03 UTC] Session role: not set
[09-Dec-2025 10:55:03 UTC] Session user_role: teacher
[09-Dec-2025 10:55:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 11:55:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:55:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:55:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:55:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:55:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:55:04 Europe/Berlin] Session role: not set
[09-Dec-2025 11:55:04 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:55:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:55:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:55:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:55:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:55:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:55:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:55:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:55:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:55:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:55:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:55:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:55:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:56:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:56:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:56:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:56:04 Europe/Berlin] Session role: not set
[09-Dec-2025 11:56:04 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:56:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:56:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:56:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:56:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:56:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:56:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:56:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:56:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:56:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:56:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:57:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:57:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:57:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:57:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:57:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:57:04 Europe/Berlin] Session role: not set
[09-Dec-2025 11:57:04 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:57:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:57:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:57:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:57:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:57:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:57:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:57:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:57:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:57:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:57:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:57:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:57:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:58:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:58:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:58:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:04 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:58:04 Europe/Berlin] Session role: not set
[09-Dec-2025 11:58:04 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:58:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:58:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:58:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:34 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:58:34 Europe/Berlin] Session role: not set
[09-Dec-2025 11:58:34 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:58:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:58:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:58:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 10:58:59 UTC] Teacher Auth Check - Script: manage-course-materials.php
[09-Dec-2025 10:58:59 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:58:59 UTC] isLoggedIn check result: true
[09-Dec-2025 10:58:59 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:58:59 UTC] isLoggedIn check result: true
[09-Dec-2025 10:58:59 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 10:58:59 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 10:58:59 UTC] Session role: not set
[09-Dec-2025 10:58:59 UTC] Session user_role: teacher
[09-Dec-2025 10:58:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 11:59:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:00 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:00 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:00 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:00 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:59:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:59:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 11:59:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:09 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:09 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:09 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:59:11 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 10:59:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 10:59:11 UTC] Found 0 videos for teacher 28
[09-Dec-2025 11:59:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:13 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:13 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:59:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:22 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 11:59:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:26 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:26 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 2
[09-Dec-2025 10:59:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:59:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:26 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:26 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:59:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:37 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:37 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:59:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 11:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:59:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 11:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 11:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:59:52 Europe/Berlin] Session role: not set
[09-Dec-2025 11:59:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 10:59:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 10:59:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:00:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:00:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:00:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:00:07 Europe/Berlin] Session role: not set
[09-Dec-2025 12:00:07 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:00:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:00:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:00:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:00:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:00:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:00:22 Europe/Berlin] Session role: not set
[09-Dec-2025 12:00:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:00:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:00:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:00:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:00:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:00:37 Europe/Berlin] Session role: not set
[09-Dec-2025 12:00:37 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:00:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:00:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:00:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:00:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:00:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:52 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:00:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:00:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:00:52 Europe/Berlin] Session role: not set
[09-Dec-2025 12:00:52 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:00:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:00:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:01:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:01:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:01:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:07 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:01:07 Europe/Berlin] Session role: not set
[09-Dec-2025 12:01:07 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:01:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:01:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:01:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:01:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:01:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:01:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:01:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:01:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:01:22 Europe/Berlin] Session role: not set
[09-Dec-2025 12:01:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:01:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:01:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:02:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:02:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:02:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:02:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:02:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:02:30 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:02:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:02:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:02:30 Europe/Berlin] Session role: not set
[09-Dec-2025 12:02:30 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:02:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:02:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:03:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:03:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:03:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:29 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:03:29 Europe/Berlin] Session role: not set
[09-Dec-2025 12:03:29 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:03:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:03:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:03:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:03:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:37 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:03:37 Europe/Berlin] Session role: not set
[09-Dec-2025 12:03:37 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:03:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:03:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:03:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:03:41 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 11:03:41 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:03:41 UTC] isLoggedIn check result: true
[09-Dec-2025 11:03:41 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:03:41 UTC] isLoggedIn check result: true
[09-Dec-2025 11:03:41 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:03:41 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:03:41 UTC] Session role: not set
[09-Dec-2025 11:03:41 UTC] Session user_role: teacher
[09-Dec-2025 11:03:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 12:03:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:03:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:03:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:43 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:43 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:03:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:03:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:03:43 Europe/Berlin] Session role: not set
[09-Dec-2025 12:03:43 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:03:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:03:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:04:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:04:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:04:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:04:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:13 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:04:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:04:13 Europe/Berlin] Session role: not set
[09-Dec-2025 12:04:13 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:04:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:04:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:04:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:04:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:04:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:43 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:43 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:04:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:04:43 Europe/Berlin] Session role: not set
[09-Dec-2025 12:04:43 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:04:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:04:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:05:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:05:00 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 11:05:00 UTC] POST data: Array
(
    [title] => Frontend Web development
    [priority] => medium
    [description] => welcome
    [category] => 3
    [custom_category] => 
    [tags] => 
    [submit_document] => 
)

[09-Dec-2025 11:05:00 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Infinityregister (4).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/php2OuNMP
            [error] => 0
            [size] => 47574
        )

    [thumbnail] => Array
        (
            [name] => PowerBi.jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpIkSha4
            [error] => 0
            [size] => 3908
        )

)

[09-Dec-2025 11:05:00 UTC] Checking document_file: SET
[09-Dec-2025 11:05:00 UTC] Document file name: Infinityregister (4).pdf
[09-Dec-2025 11:05:00 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 11:05:00 UTC] teacher_id: 28
[09-Dec-2025 11:05:00 UTC] title: Frontend Web development
[09-Dec-2025 11:05:00 UTC] description: welcome
[09-Dec-2025 11:05:00 UTC] category_id: 3
[09-Dec-2025 11:05:00 UTC] tags: 
[09-Dec-2025 11:05:00 UTC] relative_path: uploads/library_submissions/1765278300_6938025c56eb1.pdf
[09-Dec-2025 11:05:00 UTC] file_name: Infinityregister (4).pdf
[09-Dec-2025 11:05:00 UTC] file_extension: pdf
[09-Dec-2025 11:05:00 UTC] file_size: 47574
[09-Dec-2025 11:05:00 UTC] priority: medium
[09-Dec-2025 11:05:00 UTC] thumbnail_path: uploads/library_submissions/thumb_1765278300_6938025c5578d.jpeg
[09-Dec-2025 11:05:00 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/library_submissions.php:52
Stack trace:
#0 /home/twpurnyc/public_html/teacher/library_submissions.php(330): sendLibrarySubmissionEmail(9)
#1 {main}
  thrown in /home/twpurnyc/public_html/teacher/library_submissions.php on line 52
[09-Dec-2025 12:07:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:07:43 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 11:07:43 UTC] POST data: Array
(
    [title] => Frontend Web development
    [priority] => medium
    [description] => welcome
    [category] => 3
    [custom_category] => 
    [tags] => 
    [submit_document] => 
)

[09-Dec-2025 11:07:43 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Infinityregister (4).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/php1Njoh8
            [error] => 0
            [size] => 47574
        )

    [thumbnail] => Array
        (
            [name] => PowerBi.jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/php8fJdFe
            [error] => 0
            [size] => 3908
        )

)

[09-Dec-2025 11:07:43 UTC] Checking document_file: SET
[09-Dec-2025 11:07:43 UTC] Document file name: Infinityregister (4).pdf
[09-Dec-2025 11:07:43 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 11:07:43 UTC] teacher_id: 28
[09-Dec-2025 11:07:43 UTC] title: Frontend Web development
[09-Dec-2025 11:07:43 UTC] description: welcome
[09-Dec-2025 11:07:43 UTC] category_id: 3
[09-Dec-2025 11:07:43 UTC] tags: 
[09-Dec-2025 11:07:43 UTC] relative_path: uploads/library_submissions/1765278463_693802ff77e25.pdf
[09-Dec-2025 11:07:43 UTC] file_name: Infinityregister (4).pdf
[09-Dec-2025 11:07:43 UTC] file_extension: pdf
[09-Dec-2025 11:07:43 UTC] file_size: 47574
[09-Dec-2025 11:07:43 UTC] priority: medium
[09-Dec-2025 11:07:43 UTC] thumbnail_path: uploads/library_submissions/thumb_1765278463_693802ff767f1.jpeg
[09-Dec-2025 11:07:43 UTC] SQL prepare failed in sendLibrarySubmissionEmail: Unknown column 'ls.original_filename' in 'field list'
[09-Dec-2025 11:07:43 UTC] SUCCESS: Submission inserted with ID: 10
[09-Dec-2025 11:07:43 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 11:07:43 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:07:43 UTC] isLoggedIn check result: true
[09-Dec-2025 11:07:43 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:07:43 UTC] isLoggedIn check result: true
[09-Dec-2025 11:07:43 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:07:43 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:07:43 UTC] Session role: not set
[09-Dec-2025 11:07:43 UTC] Session user_role: teacher
[09-Dec-2025 11:07:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 12:07:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:07:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:07:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:07:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:07:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:07:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:07:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:07:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:07:44 Europe/Berlin] Session role: not set
[09-Dec-2025 12:07:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:07:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:07:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:08:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:08:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:08:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:08:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:08:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:08:14 Europe/Berlin] Session role: not set
[09-Dec-2025 12:08:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:08:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:08:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:08:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:08:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:08:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:08:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:08:44 Europe/Berlin] Session role: not set
[09-Dec-2025 12:08:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:08:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:08:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:09:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:09:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:09:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:09:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:09:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:09:14 Europe/Berlin] Session role: not set
[09-Dec-2025 12:09:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:09:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:09:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:09:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:09:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:09:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:09:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:09:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:09:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:09:44 Europe/Berlin] Session role: not set
[09-Dec-2025 12:09:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:09:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:09:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:10:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:10:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:10:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:10:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:10:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:10:14 Europe/Berlin] Session role: not set
[09-Dec-2025 12:10:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:10:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:10:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:10:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:10:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:10:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:10:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:10:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:10:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:10:44 Europe/Berlin] Session role: not set
[09-Dec-2025 12:10:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:10:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:10:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:11:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:11:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:11:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:11:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:11:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:11:14 Europe/Berlin] Session role: not set
[09-Dec-2025 12:11:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:11:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:11:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:11:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:11:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:11:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:11:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:44 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:11:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:11:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:11:44 Europe/Berlin] Session role: not set
[09-Dec-2025 12:11:44 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:11:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:11:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:12:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:12:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:12:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:12:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:14 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:12:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:12:14 Europe/Berlin] Session role: not set
[09-Dec-2025 12:12:14 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:12:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:12:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:12:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:12:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:12:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:45 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:12:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:45 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:12:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:12:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:12:45 Europe/Berlin] Session role: not set
[09-Dec-2025 12:12:45 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:12:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:12:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:12:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:12:58 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 11:12:58 UTC] POST data: Array
(
    [title] => Frontend Web development
    [priority] => medium
    [description] => welcome
    [category] => 3
    [custom_category] => 
    [tags] => 
    [submit_document] => 
)

[09-Dec-2025 11:12:58 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Infinityregister (4).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpNvpZAO
            [error] => 0
            [size] => 47574
        )

    [thumbnail] => Array
        (
            [name] => PowerBi.jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpPyRclf
            [error] => 0
            [size] => 3908
        )

)

[09-Dec-2025 11:12:58 UTC] Checking document_file: SET
[09-Dec-2025 11:12:58 UTC] Document file name: Infinityregister (4).pdf
[09-Dec-2025 11:12:58 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 11:12:58 UTC] teacher_id: 28
[09-Dec-2025 11:12:58 UTC] title: Frontend Web development
[09-Dec-2025 11:12:58 UTC] description: welcome
[09-Dec-2025 11:12:58 UTC] category_id: 3
[09-Dec-2025 11:12:58 UTC] tags: 
[09-Dec-2025 11:12:58 UTC] relative_path: uploads/library_submissions/1765278778_6938043ac9232.pdf
[09-Dec-2025 11:12:58 UTC] file_name: Infinityregister (4).pdf
[09-Dec-2025 11:12:58 UTC] file_extension: pdf
[09-Dec-2025 11:12:58 UTC] file_size: 47574
[09-Dec-2025 11:12:58 UTC] priority: medium
[09-Dec-2025 11:12:58 UTC] thumbnail_path: uploads/library_submissions/thumb_1765278778_6938043ac7b69.jpeg
[09-Dec-2025 11:12:58 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/library_submissions.php:50
Stack trace:
#0 /home/twpurnyc/public_html/teacher/library_submissions.php(320): sendLibrarySubmissionEmail(11)
#1 {main}
  thrown in /home/twpurnyc/public_html/teacher/library_submissions.php on line 50
[09-Dec-2025 12:26:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 11:26:49 UTC] === FORM SUBMISSION DEBUG ===
[09-Dec-2025 11:26:49 UTC] POST data: Array
(
    [title] => Frontend Web development
    [priority] => medium
    [description] => welcome
    [category] => 3
    [custom_category] => 
    [tags] => 
    [submit_document] => 
)

[09-Dec-2025 11:26:49 UTC] FILES data: Array
(
    [document_file] => Array
        (
            [name] => Infinityregister (4).pdf
            [type] => application/pdf
            [tmp_name] => /tmp/phpzfhJUW
            [error] => 0
            [size] => 47574
        )

    [thumbnail] => Array
        (
            [name] => PowerBi.jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpHc0PyO
            [error] => 0
            [size] => 3908
        )

)

[09-Dec-2025 11:26:49 UTC] Checking document_file: SET
[09-Dec-2025 11:26:49 UTC] Document file name: Infinityregister (4).pdf
[09-Dec-2025 11:26:49 UTC] === DATABASE INSERT DEBUG ===
[09-Dec-2025 11:26:49 UTC] teacher_id: 28
[09-Dec-2025 11:26:49 UTC] title: Frontend Web development
[09-Dec-2025 11:26:49 UTC] description: welcome
[09-Dec-2025 11:26:49 UTC] category_id: 3
[09-Dec-2025 11:26:49 UTC] tags: 
[09-Dec-2025 11:26:49 UTC] relative_path: uploads/library_submissions/1765279609_693807799df4c.pdf
[09-Dec-2025 11:26:49 UTC] file_name: Infinityregister (4).pdf
[09-Dec-2025 11:26:49 UTC] file_extension: pdf
[09-Dec-2025 11:26:49 UTC] file_size: 47574
[09-Dec-2025 11:26:49 UTC] priority: medium
[09-Dec-2025 11:26:49 UTC] thumbnail_path: uploads/library_submissions/thumb_1765279609_693807799c740.jpeg
[09-Dec-2025 11:26:52 UTC] Email logged successfully: kendricknick56@gmail.com - 📚 Document Submitted: "Frontend Web development" - Awaiting Approval - failed
[09-Dec-2025 11:26:52 UTC] Email logged successfully: kendricknick56@gmail.com - 📚 Document Submitted: "Frontend Web development" - Awaiting Approval - sent
[09-Dec-2025 11:26:52 UTC] Email logged successfully: kendricknick56@gmail.com - 📚 Document Submitted: "Frontend Web development" - Awaiting Approval - sent
[09-Dec-2025 11:26:52 UTC] SUCCESS: Submission inserted with ID: 12
[09-Dec-2025 11:26:52 UTC] Teacher Auth Check - Script: library_submissions.php
[09-Dec-2025 11:26:52 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:26:52 UTC] isLoggedIn check result: true
[09-Dec-2025 11:26:52 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:26:52 UTC] isLoggedIn check result: true
[09-Dec-2025 11:26:52 UTC] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 11:26:52 UTC] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 11:26:52 UTC] Session role: not set
[09-Dec-2025 11:26:52 UTC] Session user_role: teacher
[09-Dec-2025 11:26:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 12:26:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:26:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:26:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:26:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:26:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:26:56 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:26:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:26:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:26:56 Europe/Berlin] Session role: not set
[09-Dec-2025 12:26:56 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:26:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:26:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:27:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:27:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:27:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:27:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:24 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:27:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:27:24 Europe/Berlin] Session role: not set
[09-Dec-2025 12:27:24 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:27:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:27:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:27:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:27:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:27:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:27:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:27:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:27:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:27:55 Europe/Berlin] Session role: not set
[09-Dec-2025 12:27:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:27:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:27:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:28:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:28:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:28:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:28:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:28:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:28:25 Europe/Berlin] Session role: not set
[09-Dec-2025 12:28:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:28:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:28:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:28:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:28:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:28:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:28:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:55 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:28:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:28:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:28:55 Europe/Berlin] Session role: not set
[09-Dec-2025 12:28:55 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:28:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:28:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:29:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:29:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:29:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:29:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:29:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:29:25 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:29:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765275056
    [last_regeneration] => 1765275056
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765275056
    [session_started_at] => 2025-12-09 11:10:56
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[09-Dec-2025 12:29:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:29:25 Europe/Berlin] Session role: not set
[09-Dec-2025 12:29:25 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:29:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:29:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
)

[09-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
)

[09-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
)

[09-Dec-2025 12:34:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:34:49 Europe/Berlin] Session role: not set
[09-Dec-2025 12:34:49 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:34:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:34:50 UTC] Fetching videos for teacher_id: 28
[09-Dec-2025 11:34:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[09-Dec-2025 11:34:50 UTC] Found 0 videos for teacher 28
[09-Dec-2025 12:34:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:34:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:34:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:34:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:34:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:34:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:34:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:34:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:34:51 Europe/Berlin] Session role: not set
[09-Dec-2025 12:34:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:34:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:34:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:35:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:35:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:35:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:35:22 Europe/Berlin] Session role: not set
[09-Dec-2025 12:35:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:35:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:35:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:35:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:35:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:35:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:35:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:35:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:35:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:35:51 Europe/Berlin] Session role: not set
[09-Dec-2025 12:35:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:35:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:35:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:36:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:36:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:36:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:22 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:36:22 Europe/Berlin] Session role: not set
[09-Dec-2025 12:36:22 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:36:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:36:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:36:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:36:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:36:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:36:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:36:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:36:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:36:51 Europe/Berlin] Session role: not set
[09-Dec-2025 12:36:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:36:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:36:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:37:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:37:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:37:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:37:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:21 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:37:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:37:21 Europe/Berlin] Session role: not set
[09-Dec-2025 12:37:21 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:37:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:37:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:37:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:37:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[09-Dec-2025 12:37:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:37:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:51 Europe/Berlin] isLoggedIn check result: true
[09-Dec-2025 12:37:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765280088
    [last_regeneration] => 1765280088
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765280088
    [session_started_at] => 2025-12-09 12:34:49
    [login_redirect_count] => 0
)

[09-Dec-2025 12:37:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[09-Dec-2025 12:37:51 Europe/Berlin] Session role: not set
[09-Dec-2025 12:37:51 Europe/Berlin] Session user_role: teacher
[09-Dec-2025 11:37:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[09-Dec-2025 11:37:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[09-Dec-2025 12:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 12:45:20 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 12:45:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 12:45:20
)

[09-Dec-2025 12:45:20 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 12:45:20 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 12:45:20
)

[09-Dec-2025 13:06:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Dec-2025 13:06:40 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[09-Dec-2025 13:06:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-09 13:06:40
)

[09-Dec-2025 13:06:40 Europe/Berlin] isLoggedIn check result: false
[09-Dec-2025 13:06:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-09 13:06:40
)

[10-Dec-2025 06:44:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:44:46 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 06:44:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-10 06:44:46
)

[10-Dec-2025 06:44:46 Europe/Berlin] isLoggedIn check result: false
[10-Dec-2025 06:44:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-10 06:44:46
)

[10-Dec-2025 06:45:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:45:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 06:45:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-10 06:45:02
)

[10-Dec-2025 06:45:02 Europe/Berlin] isLoggedIn check result: false
[10-Dec-2025 06:45:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-10 06:45:02
)

[10-Dec-2025 06:57:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 06:57:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
)

[10-Dec-2025 06:57:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
)

[10-Dec-2025 06:57:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
)

[10-Dec-2025 06:57:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:40 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:40 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 05:57:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 05:57:40 UTC] Found 0 videos for teacher 28
[10-Dec-2025 06:57:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:57:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:42 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:48 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 06:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:48 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:48 UTC] DB Connection Status: Connected
[10-Dec-2025 05:57:48 UTC] User with ID 28 found
[10-Dec-2025 05:57:48 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 06:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:48 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:57:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:53 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 06:57:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:53 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 06:57:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:57:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:57:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:57:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:57:54 Europe/Berlin] Session role: not set
[10-Dec-2025 06:57:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:57:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:57:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:58:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:58:04 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 06:58:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:58:04 Europe/Berlin] Session role: not set
[10-Dec-2025 06:58:04 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:58:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:58:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:58:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:58:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:58:05 Europe/Berlin] Session role: not set
[10-Dec-2025 06:58:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:58:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:58:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:58:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:58:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:58:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:58:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:58:35 Europe/Berlin] Session role: not set
[10-Dec-2025 06:58:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:58:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:58:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:59:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:59:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:59:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:59:05 Europe/Berlin] Session role: not set
[10-Dec-2025 06:59:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:59:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:59:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 06:59:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 06:59:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 06:59:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:59:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 06:59:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 06:59:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 06:59:35 Europe/Berlin] Session role: not set
[10-Dec-2025 06:59:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 05:59:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 05:59:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:00:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:00:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:00:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:00:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:00:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:00:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:00:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:00:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:00:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:00:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:01:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:01:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:01:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:01:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:01:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:01:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:01:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:01:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:01:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:01:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:01:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:01:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:01:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:01:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:01:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:02:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:02:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:02:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:02:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:02:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:02:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:02:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:02:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:02:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:02:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:02:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:02:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:02:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:02:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:02:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:02:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:02:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:02:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:02:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:03:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:03:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:03:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:03:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:03:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:03:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:03:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:03:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:03:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:03:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:03:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:03:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:03:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:03:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:03:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:03:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:03:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:03:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:03:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:04:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:04:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:04:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:04:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:04:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:04:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:04:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:04:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:04:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:04:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:04:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:04:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:04:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:04:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:04:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:04:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:04:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:04:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:05:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:05:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:05:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:05:06 Europe/Berlin] Session role: not set
[10-Dec-2025 07:05:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:05:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:05:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:05:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:05:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:05:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:05:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:05:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:05:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:05:44 Europe/Berlin] Session role: not set
[10-Dec-2025 07:05:44 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:05:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:05:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:06:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:06:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:06:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:06:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:06:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:06:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:06:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:06:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:06:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:06:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:06:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:06:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:06:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:06:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:06:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:06:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:06:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:07:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:07:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:07:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:07:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:07:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:07:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:07:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:07:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:07:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:07:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:08:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:08:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:08:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:08:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:08:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:08:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:08:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:08:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:08:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:08:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:09:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:09:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:09:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:09:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:09:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:09:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:09:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:09:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:09:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:09:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:09:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:09:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:10:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:10:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:10:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:10:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:10:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:10:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:10:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:10:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:10:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:10:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:10:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:10:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:11:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:11:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:11:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:11:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:11:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:11:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:11:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:11:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:11:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:11:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:11:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:11:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:12:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:12:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:12:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:12:07 Europe/Berlin] Session role: not set
[10-Dec-2025 07:12:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:12:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:12:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:12:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:12:09 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 07:12:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:12:09 Europe/Berlin] Session role: not set
[10-Dec-2025 07:12:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:12:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:12:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:12:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:12:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:12:09 Europe/Berlin] Session role: not set
[10-Dec-2025 07:12:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:12:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:12:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:12:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:12:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:12:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:12:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:12:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:12:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:12:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:12:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:12:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:13:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:06 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 07:13:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:06 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:13:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:13:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:09 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:13:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:13:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:36 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 07:13:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:36 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:13:36 UTC] DB Connection Status: Connected
[10-Dec-2025 06:13:36 UTC] User with ID 28 found
[10-Dec-2025 06:13:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:13:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:13:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:37 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:13:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:13:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:41 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:13:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:13:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:13:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:13:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:13:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:13:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:13:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:13:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:13:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:13:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:14:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:14:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:14:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:14:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:14:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:14:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:14:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:14:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:14:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:14:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:14:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:14:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:14:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:14:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:14:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:14:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:14:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:15:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:15:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:15:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:15:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:15:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:15:13 Europe/Berlin] Session role: not set
[10-Dec-2025 07:15:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:15:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:15:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:15:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:15:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:15:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:15:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:15:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:15:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:15:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:15:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:16:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:16:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:16:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:16:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:16:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:16:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:16:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:16:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:16:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:16:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:16:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:16:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:16:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:16:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:16:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:17:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:17:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:17:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:17:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:17:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:17:13 Europe/Berlin] Session role: not set
[10-Dec-2025 07:17:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:17:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:17:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:17:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:17:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:17:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:17:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:17:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:17:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:17:43 Europe/Berlin] Session role: not set
[10-Dec-2025 07:17:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:17:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:17:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:18:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:18:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:18:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:18:13 Europe/Berlin] Session role: not set
[10-Dec-2025 07:18:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:18:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:18:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:18:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:18:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:18:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:18:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:18:43 Europe/Berlin] Session role: not set
[10-Dec-2025 07:18:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:18:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:18:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:19:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:19:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:19:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:19:13 Europe/Berlin] Session role: not set
[10-Dec-2025 07:19:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:19:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:19:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:19:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:19:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:19:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:19:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:19:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:19:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:19:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:19:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:20:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:20:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:20:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:20:16 Europe/Berlin] Session role: not set
[10-Dec-2025 07:20:16 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:20:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:20:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:20:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:20:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:20:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:20:43 Europe/Berlin] Session role: not set
[10-Dec-2025 07:20:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:20:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:20:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:20:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:20:53 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:20:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:20:53 Europe/Berlin] Session role: not set
[10-Dec-2025 07:20:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:20:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:20:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:20:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:20:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:20:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:20:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:20:54 Europe/Berlin] Session role: not set
[10-Dec-2025 07:20:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:20:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:20:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:21:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:21:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:21:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:21:24 Europe/Berlin] Session role: not set
[10-Dec-2025 07:21:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:21:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:21:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:21:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:21:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:21:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:21:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:21:55 Europe/Berlin] Session role: not set
[10-Dec-2025 07:21:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:21:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:21:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:22:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:22:18 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:22:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:22:18 Europe/Berlin] Session role: not set
[10-Dec-2025 07:22:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:22:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:22:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:22:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:22:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:22:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:22:19 Europe/Berlin] Session role: not set
[10-Dec-2025 07:22:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:22:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:22:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:22:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:22:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:22:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:22:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:22:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:22:49 Europe/Berlin] Session role: not set
[10-Dec-2025 07:22:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:22:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:23:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:23:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:23:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:23:19 Europe/Berlin] Session role: not set
[10-Dec-2025 07:23:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:23:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:23:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:23:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:23:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:23:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:23:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:23:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:23:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:23:49 Europe/Berlin] Session role: not set
[10-Dec-2025 07:23:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:23:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:23:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:24:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:24:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:24:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:24:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:24:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:24:19 Europe/Berlin] Session role: not set
[10-Dec-2025 07:24:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:24:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:24:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:24:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:24:49 Europe/Berlin] Session role: not set
[10-Dec-2025 07:24:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:24:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:24:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:25:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:25:09 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:25:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:25:09 Europe/Berlin] Session role: not set
[10-Dec-2025 07:25:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:25:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:25:10 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:25:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:25:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:25:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:25:10 Europe/Berlin] Session role: not set
[10-Dec-2025 07:25:10 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:25:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:25:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:25:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:25:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:25:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:25:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:25:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:25:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:25:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:25:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:26:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:26:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:26:11 Europe/Berlin] Session role: not set
[10-Dec-2025 07:26:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:26:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:26:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:26:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:26:39 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 07:26:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-10 07:26:39
)

[10-Dec-2025 07:26:39 Europe/Berlin] isLoggedIn check result: false
[10-Dec-2025 07:26:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-10 07:26:39
)

[10-Dec-2025 07:26:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:26:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:26:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:26:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:26:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:26:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:26:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:26:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:27:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:27:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:27:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:27:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:27:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:27:16 Europe/Berlin] Session role: not set
[10-Dec-2025 07:27:16 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:27:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:27:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:27:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:27:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:27:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:27:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:27:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:28:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:28:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:28:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:28:11 Europe/Berlin] Session role: not set
[10-Dec-2025 07:28:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:28:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:28:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:28:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:28:29 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:28:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:29 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:29 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:28:29 Europe/Berlin] Session role: not set
[10-Dec-2025 07:28:29 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:28:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:28:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:28:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:28:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:28:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:28:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:28:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:28:30 Europe/Berlin] Session role: not set
[10-Dec-2025 07:28:30 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:28:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:28:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:29:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:29:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:29:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:29:00 Europe/Berlin] Session role: not set
[10-Dec-2025 07:29:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:29:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:29:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:29:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:29:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:29:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:29:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:29:30 Europe/Berlin] Session role: not set
[10-Dec-2025 07:29:30 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:29:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:29:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:30:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:30:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:30:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:30:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:30:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:30:00 Europe/Berlin] Session role: not set
[10-Dec-2025 07:30:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:30:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:30:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:30:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:30:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:30:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:30:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:30:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:30:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:30:30 Europe/Berlin] Session role: not set
[10-Dec-2025 07:30:30 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:30:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:30:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:31:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:31:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:31:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:31:00 Europe/Berlin] Session role: not set
[10-Dec-2025 07:31:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:31:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:31:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:31:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:31:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:31:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:30 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:31:30 Europe/Berlin] Session role: not set
[10-Dec-2025 07:31:30 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:31:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:31:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:31:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:31:34 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:31:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:31:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:31:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:31:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:31:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:31:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:31:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:31:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:31:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:31:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:31:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:31:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:31:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:32:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:32:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:32:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:32:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:32:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:32:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:32:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:32:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:32:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:32:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:32:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:32:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:32:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:32:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:32:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:32:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:33:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:33:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:33:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:33:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:33:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:33:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:33:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:33:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:33:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:33:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:33:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:33:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:33:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:33:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:33:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:33:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:33:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:34:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:34:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:34:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:34:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:34:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:34:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:34:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:34:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:34:33 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:34:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:34:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:34:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:34:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:34:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:34:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:34:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:34:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:34:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:34:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:34:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:34:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:34:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:35:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:35:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:35:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:35:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:35:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:35:04 Europe/Berlin] Session role: not set
[10-Dec-2025 07:35:04 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:35:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:35:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:35:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:35:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:35:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:35:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:35:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:35:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:35:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:35:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:35:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:35:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:36:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:36:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:36:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:36:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:36:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:36:04 Europe/Berlin] Session role: not set
[10-Dec-2025 07:36:04 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:36:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:36:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:36:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:36:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:36:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:36:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:36:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:36:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:36:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:36:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:36:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:36:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:38:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:38:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:38:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:38:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:38:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:38:09 Europe/Berlin] Session role: not set
[10-Dec-2025 07:38:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:38:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:38:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:38:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:38:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:38:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:38:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:38:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:38:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:38:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:38:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:38:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:38:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:39:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:39:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:39:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:39:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:39:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:39:03 Europe/Berlin] Session role: not set
[10-Dec-2025 07:39:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:39:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:39:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:39:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:39:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:39:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:39:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:39:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:39:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:39:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:39:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:39:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:39:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:40:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:40:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:40:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:40:04 Europe/Berlin] Session role: not set
[10-Dec-2025 07:40:04 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:40:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:40:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:40:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:40:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:40:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:40:39 Europe/Berlin] Session role: not set
[10-Dec-2025 07:40:39 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:40:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:40:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:40:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:40:40 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 07:40:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:40:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:40:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:40:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:40:40 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 07:40:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:40:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:40:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:40:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:40:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:40:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:40:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:40:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:40:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 07:40:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:40:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:40:59 Europe/Berlin] Session role: not set
[10-Dec-2025 07:40:59 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:40:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:41:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:41:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:41:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:41:01 Europe/Berlin] Session role: not set
[10-Dec-2025 07:41:01 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:41:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:41:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:41:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:41:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:41:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:41:31 Europe/Berlin] Session role: not set
[10-Dec-2025 07:41:31 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:41:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:41:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:41:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:41:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 07:41:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:41:40 Europe/Berlin] Session role: not set
[10-Dec-2025 07:41:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:41:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:41:40 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 06:41:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 06:41:40 UTC] Found 0 videos for teacher 28
[10-Dec-2025 07:41:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:41:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:41:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:41:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:41:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:41:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:41:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:41:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:42:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:42:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:42:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:42:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:42:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:42:11 Europe/Berlin] Session role: not set
[10-Dec-2025 07:42:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:42:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:42:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:42:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:42:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:42:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:42:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:42:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:42:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:42:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:42:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:42:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:42:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:43:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:43:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:43:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:43:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:43:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:43:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:43:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:43:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:43:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:43:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:43:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:43:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:43:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:43:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:43:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:43:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:43:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:43:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:43:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:44:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:44:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:44:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:44:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:44:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:44:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:44:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:44:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:44:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:44:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:44:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:44:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:44:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:44:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:44:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:44:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:44:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:44:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:44:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:45:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:45:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:45:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:45:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:45:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:45:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:45:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:45:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:45:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:45:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:45:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:45:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:45:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:45:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:45:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:45:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:45:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:45:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:45:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:46:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:46:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:46:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:46:13 Europe/Berlin] Session role: not set
[10-Dec-2025 07:46:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:46:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:46:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:46:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:46:44 Europe/Berlin] Session role: not set
[10-Dec-2025 07:46:44 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:46:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:46:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:47:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:47:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:47:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:47:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:47:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:47:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:47:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:47:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:47:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:47:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:47:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:47:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:47:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:47:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:47:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:48:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:48:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:12 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:48:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:48:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:48:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:42 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:48:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:48:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:43 Europe/Berlin] Teacher Auth Check - Script: videos.php
[10-Dec-2025 07:48:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:43 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:48:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:45 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:45 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:48:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:48 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 07:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:48 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:48:48 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/upload-video.php:20
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/upload-video.php on line 20
[10-Dec-2025 07:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:48:49 Europe/Berlin] Session role: not set
[10-Dec-2025 07:48:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:48:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:49:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:49:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:49:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:49:19 Europe/Berlin] Session role: not set
[10-Dec-2025 07:49:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:49:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:49:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:49:49 Europe/Berlin] Session role: not set
[10-Dec-2025 07:49:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:49:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:50:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:50:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:50:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:50:19 Europe/Berlin] Session role: not set
[10-Dec-2025 07:50:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:50:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:50:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:50:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:50:25 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 07:50:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:50:25 Europe/Berlin] Session role: not set
[10-Dec-2025 07:50:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:50:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:50:25 UTC] Upload Video: Failed to prepare identity verification query: Unknown column 'identity_document_uploaded_at' in 'field list'
[10-Dec-2025 07:50:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:50:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:50:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:50:26 Europe/Berlin] Session role: not set
[10-Dec-2025 07:50:26 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:50:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:50:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:50:57 Europe/Berlin] Session role: not set
[10-Dec-2025 07:50:57 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:50:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:51:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:51:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:51:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:51:27 Europe/Berlin] Session role: not set
[10-Dec-2025 07:51:27 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:51:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:51:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:51:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:51:35 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 07:51:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:35 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:51:35 Europe/Berlin] Session role: not set
[10-Dec-2025 07:51:35 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:51:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:51:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:51:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:51:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:51:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:51:36 Europe/Berlin] Session role: not set
[10-Dec-2025 07:51:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:51:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:51:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:52:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:52:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:52:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:52:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:52:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:52:06 Europe/Berlin] Session role: not set
[10-Dec-2025 07:52:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:52:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:52:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:52:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:52:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:52:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:52:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:52:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:52:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:52:36 Europe/Berlin] Session role: not set
[10-Dec-2025 07:52:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:52:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:52:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:53:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:53:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:53:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:53:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:53:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:53:06 Europe/Berlin] Session role: not set
[10-Dec-2025 07:53:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:53:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:53:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:53:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:53:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:53:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:53:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:53:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:53:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:53:36 Europe/Berlin] Session role: not set
[10-Dec-2025 07:53:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:53:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:53:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:54:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:54:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:54:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:54:06 Europe/Berlin] Session role: not set
[10-Dec-2025 07:54:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:54:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:54:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:54:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:54:26 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 07:54:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:54:26 Europe/Berlin] Session role: not set
[10-Dec-2025 07:54:26 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:54:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:54:26 UTC] Upload Video: Failed to prepare identity verification query: Unknown column 'identity_document_uploaded_at' in 'field list'
[10-Dec-2025 07:54:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:54:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:54:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:54:27 Europe/Berlin] Session role: not set
[10-Dec-2025 07:54:27 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:54:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:54:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:54:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:54:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 07:54:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:54:31 Europe/Berlin] Session role: not set
[10-Dec-2025 07:54:31 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:54:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:54:32 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 06:54:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 06:54:32 UTC] Found 0 videos for teacher 28
[10-Dec-2025 07:54:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:54:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:54:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:54:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:54:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:54:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:54:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:54:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:55:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:55:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:55:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:55:03 Europe/Berlin] Session role: not set
[10-Dec-2025 07:55:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:55:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:55:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:55:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:55:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:55:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:55:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:55:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:55:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:55:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:55:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:55:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:55:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:56:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:56:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:56:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:56:05 Europe/Berlin] Session role: not set
[10-Dec-2025 07:56:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:56:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:56:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:56:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:56:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:56:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:34 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:56:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:56:34 Europe/Berlin] Session role: not set
[10-Dec-2025 07:56:34 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:56:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:56:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:57:03 Europe/Berlin] Session role: not set
[10-Dec-2025 07:57:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:57:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:57:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:57:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:57:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:57:41 Europe/Berlin] Session role: not set
[10-Dec-2025 07:57:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:57:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:57:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:58:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:58:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:58:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:58:03 Europe/Berlin] Session role: not set
[10-Dec-2025 07:58:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:58:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:58:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:58:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:58:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:58:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:58:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:58:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:58:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:58:37 Europe/Berlin] Session role: not set
[10-Dec-2025 07:58:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:58:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:58:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:59:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:59:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:59:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:59:03 Europe/Berlin] Session role: not set
[10-Dec-2025 07:59:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:59:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:59:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 07:59:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 07:59:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 07:59:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:59:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 07:59:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 07:59:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 07:59:33 Europe/Berlin] Session role: not set
[10-Dec-2025 07:59:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 06:59:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 06:59:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:00:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:00:05 Europe/Berlin] Session role: not set
[10-Dec-2025 08:00:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:00:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:00:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:00:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:00:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:00:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:00:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:00:33 Europe/Berlin] Session role: not set
[10-Dec-2025 08:00:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:00:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:00:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:01:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:01:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:01:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:01:03 Europe/Berlin] Session role: not set
[10-Dec-2025 08:01:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:01:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:01:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:01:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:01:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:01:37 Europe/Berlin] Session role: not set
[10-Dec-2025 08:01:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:01:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:01:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:02:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:02:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 08:02:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:02:01 Europe/Berlin] Session role: not set
[10-Dec-2025 08:02:01 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:02:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:02:09 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 07:02:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 07:02:09 UTC] Found 0 videos for teacher 28
[10-Dec-2025 08:02:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:02:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:02:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:02:09 Europe/Berlin] Session role: not set
[10-Dec-2025 08:02:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:02:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:02:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:02:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:02:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:02:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:02:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:02:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:02:39 Europe/Berlin] Session role: not set
[10-Dec-2025 08:02:39 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:02:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:02:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:03:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:03:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:03:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:03:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:03:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:03:09 Europe/Berlin] Session role: not set
[10-Dec-2025 08:03:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:03:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:03:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:03:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:03:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:03:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:03:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:03:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:03:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:03:39 Europe/Berlin] Session role: not set
[10-Dec-2025 08:03:39 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:03:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:03:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:04:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:04:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:04:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:04:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:04:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:04:09 Europe/Berlin] Session role: not set
[10-Dec-2025 08:04:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:04:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:04:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:04:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:04:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:04:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:04:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:04:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:04:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:04:40 Europe/Berlin] Session role: not set
[10-Dec-2025 08:04:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:04:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:04:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:05:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:05:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:05:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:05:09 Europe/Berlin] Session role: not set
[10-Dec-2025 08:05:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:05:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:05:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:05:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:05:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 08:05:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:14 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:14 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:05:14 Europe/Berlin] Session role: not set
[10-Dec-2025 08:05:14 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:05:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:05:15 UTC] Dashboard: Failed to prepare identity verification query
[10-Dec-2025 07:05:21 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 07:05:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 07:05:21 UTC] Found 0 videos for teacher 28
[10-Dec-2025 08:05:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:05:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:05:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:05:21 Europe/Berlin] Session role: not set
[10-Dec-2025 08:05:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:05:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:05:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:05:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:05:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:05:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:05:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:05:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:05:51 Europe/Berlin] Session role: not set
[10-Dec-2025 08:05:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:05:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:05:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:06:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:06:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:06:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:06:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:06:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:06:21 Europe/Berlin] Session role: not set
[10-Dec-2025 08:06:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:06:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:06:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:06:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:06:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:06:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:06:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:06:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:06:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:06:51 Europe/Berlin] Session role: not set
[10-Dec-2025 08:06:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:06:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:06:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:07:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:07:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:07:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:07:21 Europe/Berlin] Session role: not set
[10-Dec-2025 08:07:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:07:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:07:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:07:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:07:47 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 08:07:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:07:47 Europe/Berlin] Session role: not set
[10-Dec-2025 08:07:47 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:07:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:07:49 Europe/Berlin] Session role: not set
[10-Dec-2025 08:07:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:08:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:08:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:08:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:08:19 Europe/Berlin] Session role: not set
[10-Dec-2025 08:08:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:08:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:08:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:08:49 Europe/Berlin] Session role: not set
[10-Dec-2025 08:08:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:09:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:09:19 Europe/Berlin] Session role: not set
[10-Dec-2025 08:09:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:09:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:09:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:09:49 Europe/Berlin] Session role: not set
[10-Dec-2025 08:09:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:10:19 Europe/Berlin] Session role: not set
[10-Dec-2025 08:10:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:10:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:10:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:10:49 Europe/Berlin] Session role: not set
[10-Dec-2025 08:10:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:11:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:11:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:11:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:11:19 Europe/Berlin] Session role: not set
[10-Dec-2025 08:11:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:11:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:11:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:11:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:11:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:11:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:11:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:11:49 Europe/Berlin] Session role: not set
[10-Dec-2025 08:11:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:11:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:11:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:12:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:12:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:12:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:12:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:12:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:12:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:12:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:12:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:12:40 Europe/Berlin] Session role: not set
[10-Dec-2025 08:12:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:12:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:12:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:13:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:13:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:13:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:13:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:13:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:13:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:13:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:13:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:13:40 Europe/Berlin] Session role: not set
[10-Dec-2025 08:13:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:13:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:13:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:14:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:14:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:14:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:14:19 Europe/Berlin] Session role: not set
[10-Dec-2025 08:14:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:14:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:14:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:14:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:14:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 08:14:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:22 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:22 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:14:22 Europe/Berlin] Session role: not set
[10-Dec-2025 08:14:22 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:14:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:14:24 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 07:14:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 07:14:24 UTC] Found 0 videos for teacher 28
[10-Dec-2025 08:14:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:14:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:14:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:14:25 Europe/Berlin] Session role: not set
[10-Dec-2025 08:14:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:14:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:14:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:14:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:14:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:14:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:14:55 Europe/Berlin] Session role: not set
[10-Dec-2025 08:14:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:14:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:14:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:15:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:15:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:15:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765346259
    [last_regeneration] => 1765346259
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765346259
    [session_started_at] => 2025-12-10 06:57:40
    [login_redirect_count] => 0
)

[10-Dec-2025 08:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:15:25 Europe/Berlin] Session role: not set
[10-Dec-2025 08:15:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:15:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:15:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:48:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 08:48:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
)

[10-Dec-2025 08:48:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
)

[10-Dec-2025 08:48:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
)

[10-Dec-2025 08:48:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:01 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:01 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:01 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 07:48:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 07:48:01 UTC] Found 0 videos for teacher 28
[10-Dec-2025 08:48:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:48:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:05 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:48:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:09 Europe/Berlin] Teacher Auth Check - Script: profile.php
[10-Dec-2025 08:48:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:09 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:09 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:09 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:48:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:48:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:10 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:10 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:48:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:17 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 08:48:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:17 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:17 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:17 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:17 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:17 UTC] DB Connection Status: Connected
[10-Dec-2025 07:48:17 UTC] User with ID 28 found
[10-Dec-2025 07:48:17 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 08:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:18 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:48:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:20 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 08:48:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:20 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:20 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 08:48:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:48:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:21 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:48:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:48:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:48:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:48:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:48:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:48:51 Europe/Berlin] Session role: not set
[10-Dec-2025 08:48:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:48:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:48:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:49:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:49:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:49:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:49:21 Europe/Berlin] Session role: not set
[10-Dec-2025 08:49:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:49:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:49:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:49:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:49:24 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 08:49:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:49:24 Europe/Berlin] Session role: not set
[10-Dec-2025 08:49:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:49:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:49:24 UTC] Upload Video: Failed to prepare identity verification query: Unknown column 'identity_document_uploaded_at' in 'field list'
[10-Dec-2025 08:49:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:49:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:49:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:49:25 Europe/Berlin] Session role: not set
[10-Dec-2025 08:49:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:49:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:49:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:49:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:49:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:49:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:49:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:49:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:49:54 Europe/Berlin] Session role: not set
[10-Dec-2025 08:49:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:49:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:49:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:50:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:50:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:50:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:50:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:50:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:50:24 Europe/Berlin] Session role: not set
[10-Dec-2025 08:50:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:50:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:50:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:50:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:50:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:50:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:50:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:50:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:50:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:50:54 Europe/Berlin] Session role: not set
[10-Dec-2025 08:50:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:50:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:50:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:51:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:51:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:51:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:51:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:51:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:51:24 Europe/Berlin] Session role: not set
[10-Dec-2025 08:51:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:51:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:51:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:51:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:51:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:51:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:51:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:51:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:51:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:51:55 Europe/Berlin] Session role: not set
[10-Dec-2025 08:51:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:51:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:51:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:52:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:52:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:52:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:52:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:52:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:52:25 Europe/Berlin] Session role: not set
[10-Dec-2025 08:52:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:52:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:52:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:52:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:52:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:52:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:52:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:52:56 Europe/Berlin] Session role: not set
[10-Dec-2025 08:52:56 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:52:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:52:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:53:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:53:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:53:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:53:25 Europe/Berlin] Session role: not set
[10-Dec-2025 08:53:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:53:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:53:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:53:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:53:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 08:53:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:53:41 Europe/Berlin] Session role: not set
[10-Dec-2025 08:53:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:53:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:53:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:53:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:53:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:53:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:53:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:53:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:53:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:53:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:53:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:54:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:54:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:54:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:54:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:54:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:54:13 Europe/Berlin] Session role: not set
[10-Dec-2025 08:54:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:54:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:54:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:54:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:54:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:54:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:54:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:54:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:54:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:54:43 Europe/Berlin] Session role: not set
[10-Dec-2025 08:54:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:54:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:54:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:55:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:55:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:55:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:55:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:55:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:55:13 Europe/Berlin] Session role: not set
[10-Dec-2025 08:55:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:55:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:55:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:55:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:55:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:55:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:55:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:55:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:55:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:55:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:55:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:55:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:55:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:56:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:56:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:56:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:56:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:56:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:56:12 Europe/Berlin] Session role: not set
[10-Dec-2025 08:56:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:56:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:56:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:56:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:56:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:56:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:56:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:56:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:56:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:56:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:56:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:56:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:56:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:57:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:57:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:57:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:57:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:57:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:57:12 Europe/Berlin] Session role: not set
[10-Dec-2025 08:57:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:57:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:57:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:57:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:57:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:57:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:57:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:57:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:57:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:57:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:57:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:58:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:58:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:58:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:58:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:58:12 Europe/Berlin] Session role: not set
[10-Dec-2025 08:58:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:58:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:58:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:58:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:58:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:58:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:58:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:58:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:58:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:58:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:58:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:59:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:59:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:59:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:59:12 Europe/Berlin] Session role: not set
[10-Dec-2025 08:59:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:59:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:59:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 08:59:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:59:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 08:59:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 08:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:59:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:59:42 Europe/Berlin] Session role: not set
[10-Dec-2025 08:59:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 07:59:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 07:59:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:00:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:00:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:00:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:14 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:00:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:14 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:00:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:00:14 Europe/Berlin] Session role: not set
[10-Dec-2025 09:00:14 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:00:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:00:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:00:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:00:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:00:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:00:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:00:43 Europe/Berlin] Session role: not set
[10-Dec-2025 09:00:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:00:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:00:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:12:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:12:00 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 09:12:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:12:00 Europe/Berlin] Session role: not set
[10-Dec-2025 09:12:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:12:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:12:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 09:12:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:12:03 Europe/Berlin] Session role: not set
[10-Dec-2025 09:12:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:12:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:12:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:12:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:12:11 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 09:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:12:11 Europe/Berlin] Session role: not set
[10-Dec-2025 09:12:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:12:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:12:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 09:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:12:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:12:11 Europe/Berlin] Session role: not set
[10-Dec-2025 09:12:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:12:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:12:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:12:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:12:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:12:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:12:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:12:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:12:41 Europe/Berlin] Session role: not set
[10-Dec-2025 09:12:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:12:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:12:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:13:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:13:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:13:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:13:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:13:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:13:11 Europe/Berlin] Session role: not set
[10-Dec-2025 09:13:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:13:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:13:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:13:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:13:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:13:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:13:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:13:42 Europe/Berlin] Session role: not set
[10-Dec-2025 09:13:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:13:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:13:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:14:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:14:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:14:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:14:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:14:12 Europe/Berlin] Session role: not set
[10-Dec-2025 09:14:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:14:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:14:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:14:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:14:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:14:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:14:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:14:45 Europe/Berlin] Session role: not set
[10-Dec-2025 09:14:45 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:14:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:14:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:15:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:15:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:15:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:15:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:12 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:15:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:15:12 Europe/Berlin] Session role: not set
[10-Dec-2025 09:15:12 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:15:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:15:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:15:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:15:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:15:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:15:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:15:42 Europe/Berlin] Session role: not set
[10-Dec-2025 09:15:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:15:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:15:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:16:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:16:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:16:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:16:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:16:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:16:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:16:40 Europe/Berlin] Session role: not set
[10-Dec-2025 09:16:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:16:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:16:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:17:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:17:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:17:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:17:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:17:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:17:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:17:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:17:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:17:41 Europe/Berlin] Session role: not set
[10-Dec-2025 09:17:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:17:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:17:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:18:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:18:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:18:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:18:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:18:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:18:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:18:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:18:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:18:41 Europe/Berlin] Session role: not set
[10-Dec-2025 09:18:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:18:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:18:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:19:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:19:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:19:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:19:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:19:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:19:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:19:43 Europe/Berlin] Session role: not set
[10-Dec-2025 09:19:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:19:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:19:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:20:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:20:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:20:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:20:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:20:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:20:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:20:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:20:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:20:41 Europe/Berlin] Session role: not set
[10-Dec-2025 09:20:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:20:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:20:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:21:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:21:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:21:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:21:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:21:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:21:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:21:40 Europe/Berlin] Session role: not set
[10-Dec-2025 09:21:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:21:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:21:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:22:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:22:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:23 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:23 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:23 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:23 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:22:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:25 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 09:22:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:25 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:25 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 09:22:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:22:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:26 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:26 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:22:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:27 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 09:22:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:27 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:27 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:27 UTC] DB Connection Status: Connected
[10-Dec-2025 08:22:27 UTC] User with ID 28 found
[10-Dec-2025 08:22:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 09:22:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:22:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:28 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:28 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:28 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:28 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:22:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 09:22:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:31 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:31 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 09:22:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:22:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:22:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:22:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:22:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:22:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:22:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:22:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:22:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:23:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:23:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:23:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:23:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:23:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:23:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:23:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:23:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:23:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:23:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:23:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:23:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:23:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:23:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:23:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:23:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:23:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:24:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:24:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:24:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:24:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:24:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:24:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:24:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:24:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:24:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:24:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:24:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:24:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:24:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:24:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:24:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:24:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:24:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:24:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:24:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:25:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:25:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:25:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:25:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:25:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:25:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:25:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:25:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:25:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:25:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:25:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:25:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:25:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:25:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:25:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:26:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:26:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:26:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:26:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:26:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:26:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:26:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:26:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:26:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:26:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:26:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:26:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:26:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:26:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:26:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:26:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:26:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:27:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:27:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:27:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:27:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:27:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:27:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:27:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:27:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:27:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:27:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:33 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:27:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:27:33 Europe/Berlin] Session role: not set
[10-Dec-2025 09:27:33 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:27:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:27:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:28:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:28:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:28:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:28:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:28:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:28:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:28:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:28:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:28:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:28:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:28:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:28:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:28:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:28:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:28:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:28:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:28:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:29:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:29:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:29:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:29:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:29:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:29:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:29:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:29:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:29:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:29:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:29:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:29:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:29:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:29:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:29:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:29:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:29:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:29:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:30:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:30:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:30:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:30:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:30:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:30:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:30:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:30:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:30:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:30:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:30:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:30:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:30:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:30:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:30:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:31:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:31:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:31:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:31:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:31:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:31:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:31:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:31:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:31:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:31:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:31:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:31:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:31:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:31:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:31:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:31:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:31:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:31:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:31:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:32:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:32:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:32:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:32:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:32:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:32:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:32:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:32:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:32:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:32:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:32:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:32:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:32:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:32:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:32:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:32:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:32:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:33:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:33:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:33:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:33:02 Europe/Berlin] Session role: not set
[10-Dec-2025 09:33:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:33:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:33:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:33:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:33:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:33:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:33:32 Europe/Berlin] Session role: not set
[10-Dec-2025 09:33:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:33:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:33:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:33:37 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 09:33:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:33:37 Europe/Berlin] Session role: not set
[10-Dec-2025 09:33:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:33:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 09:33:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:33:38 Europe/Berlin] Session role: not set
[10-Dec-2025 09:33:38 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:33:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:33:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:34:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:34:08 Europe/Berlin] Teacher Auth Check - Script: videos.php
[10-Dec-2025 09:34:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:08 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:08 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:34:08 Europe/Berlin] Session role: not set
[10-Dec-2025 09:34:08 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:34:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 09:34:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:34:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:34:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:34:11 Europe/Berlin] Session role: not set
[10-Dec-2025 09:34:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:34:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:34:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:34:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 08:34:17 UTC] Teacher Auth Check - Script: manage-course-materials.php
[10-Dec-2025 08:34:17 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:34:17 UTC] isLoggedIn check result: true
[10-Dec-2025 08:34:17 UTC] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:34:17 UTC] isLoggedIn check result: true
[10-Dec-2025 08:34:17 UTC] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 08:34:17 UTC] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 08:34:17 UTC] Session role: not set
[10-Dec-2025 08:34:17 UTC] Session user_role: teacher
[10-Dec-2025 08:34:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 09:34:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:34:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:34:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:34:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:34:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:34:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:34:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:34:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:34:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:35:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:35:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:35:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:35:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:35:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:35:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:35:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:35:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:35:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:35:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:35:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:36:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:36:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:36:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:36:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:36:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:36:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:36:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:36:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:36:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:36:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:36:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:37:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:37:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:37:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:37:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:37:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:37:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:37:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:37:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:37:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:37:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:37:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:38:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:38:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:38:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:38:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:38:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:38:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:38:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:38:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:38:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:39:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:39:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:39:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:39:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:39:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:39:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:39:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:39:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:39:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:39:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:40:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:40:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:40:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:40:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:40:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:40:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:40:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:40:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:40:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:40:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:40:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:41:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:41:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:41:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:41:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:41:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:41:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:41:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:41:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:41:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:42:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:42:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:42:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:42:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:19 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:42:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:42:19 Europe/Berlin] Session role: not set
[10-Dec-2025 09:42:19 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:42:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:42:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:42:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:42:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:42:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:42:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:42:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:42:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:42:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:42:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:42:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:42:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:43:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:43:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:43:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:43:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:43:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:43:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:43:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:43:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:43:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:43:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:43:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:43:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:44:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:44:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:44:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:44:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:44:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:44:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:44:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:44:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:44:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:45:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:45:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:45:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:45:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:45:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:45:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:45:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:45:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:45:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:46:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:46:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:46:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:46:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:46:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:46:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:46:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:46:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:46:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:47:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:47:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:47:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:47:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:47:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:47:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:47:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:47:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:47:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:48:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:48:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:48:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:48:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:48:49 Europe/Berlin] Session role: not set
[10-Dec-2025 09:48:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:48:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:48:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:49:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:49:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:49:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:49:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:49:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:49:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:49:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:49:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:49:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:50:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:50:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:50:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:50:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:50:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:50:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:50:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:50:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:50:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:50:49 Europe/Berlin] Session role: not set
[10-Dec-2025 09:50:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:51:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:51:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:51:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:51:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:51:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:51:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:51:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:51:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:51:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:51:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:51:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:52:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:52:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:52:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:52:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:52:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:52:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:52:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:52:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:52:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:52:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:52:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:53:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:53:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:53:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:53:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:53:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:53:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:53:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:53:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:53:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:53:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:53:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:54:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:54:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:54:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:54:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:54:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:54:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:54:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:54:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:54:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:54:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:54:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:55:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:55:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:55:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:55:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:55:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:55:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:55:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:55:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:55:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:55:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:55:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:56:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:56:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:56:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:56:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:56:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:56:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:56:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:56:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:56:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:56:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:56:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:57:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:57:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:57:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:57:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:57:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:57:18 Europe/Berlin] Session role: not set
[10-Dec-2025 09:57:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:57:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:57:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 09:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 09:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 09:57:48 Europe/Berlin] Session role: not set
[10-Dec-2025 09:57:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 08:57:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 08:57:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:54:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 10:54:23 UTC] Teacher Auth Check - Script: manage-course-materials.php
[10-Dec-2025 10:54:23 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 10:54:23 UTC] isLoggedIn check result: true
[10-Dec-2025 10:54:23 UTC] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 10:54:23 UTC] isLoggedIn check result: true
[10-Dec-2025 10:54:23 UTC] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 10:54:23 UTC] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 10:54:23 UTC] Session role: not set
[10-Dec-2025 10:54:23 UTC] Session user_role: teacher
[10-Dec-2025 10:54:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:54:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:54:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:54:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:54:36 Europe/Berlin] Session role: not set
[10-Dec-2025 11:54:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:54:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:54:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:54:49 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 11:54:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:54:49 Europe/Berlin] Session role: not set
[10-Dec-2025 11:54:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:54:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:54:49 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 11:54:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:54:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:54:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:52 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:52 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:54:52 Europe/Berlin] Session role: not set
[10-Dec-2025 11:54:52 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:54:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:54:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:54:57 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[10-Dec-2025 11:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:54:57 Europe/Berlin] Session role: not set
[10-Dec-2025 11:54:57 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:54:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:55:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:55:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:55:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:55:00 Europe/Berlin] Session role: not set
[10-Dec-2025 11:55:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:55:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:55:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:55:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:55:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[10-Dec-2025 11:55:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:55:07 Europe/Berlin] Session role: not set
[10-Dec-2025 11:55:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:55:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:55:08 UTC] DB Connection Status: Connected
[10-Dec-2025 10:55:08 UTC] User with ID 28 found
[10-Dec-2025 10:55:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 11:55:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:55:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:55:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:10 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:55:10 Europe/Berlin] Session role: not set
[10-Dec-2025 11:55:10 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:55:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:55:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:55:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:55:16 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 11:55:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:16 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:55:16 Europe/Berlin] Session role: not set
[10-Dec-2025 11:55:16 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:55:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:55:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 11:55:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:55:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:55:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:55:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:55:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:55:24 Europe/Berlin] Session role: not set
[10-Dec-2025 11:55:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:55:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:55:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:56:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:56:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:56:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:56:05 Europe/Berlin] Session role: not set
[10-Dec-2025 11:56:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:56:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:56:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:56:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:56:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:56:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:56:27 Europe/Berlin] Session role: not set
[10-Dec-2025 11:56:27 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:56:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:56:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:56:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:56:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:56:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:56:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:56:55 Europe/Berlin] Session role: not set
[10-Dec-2025 11:56:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:56:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:56:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:57:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:57:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:57:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:57:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:57:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:57:25 Europe/Berlin] Session role: not set
[10-Dec-2025 11:57:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:57:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:57:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:57:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:57:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:57:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:57:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:57:55 Europe/Berlin] Session role: not set
[10-Dec-2025 11:57:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:57:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:57:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:58:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:58:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:58:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:58:25 Europe/Berlin] Session role: not set
[10-Dec-2025 11:58:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:58:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:58:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 11:58:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:58:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 11:58:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:58:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 11:58:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 11:58:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 11:58:59 Europe/Berlin] Session role: not set
[10-Dec-2025 11:58:59 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 10:59:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 10:59:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:00:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:00:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:00:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:00:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:00:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:00:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:00:03 Europe/Berlin] Session role: not set
[10-Dec-2025 12:00:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:00:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:00:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:01:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:01:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:01:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:01:03 Europe/Berlin] Session role: not set
[10-Dec-2025 12:01:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:01:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:01:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:01:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:01:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:01:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:26 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:01:26 Europe/Berlin] Session role: not set
[10-Dec-2025 12:01:26 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:01:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:01:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:01:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:01:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:01:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:01:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:01:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:01:56 Europe/Berlin] Session role: not set
[10-Dec-2025 12:01:56 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:01:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:01:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:02:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:02:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:02:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:02:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:02:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:02:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:02:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:02:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:02:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:02:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:03:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:03:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:03:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:03:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:03:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:03:25 Europe/Berlin] Session role: not set
[10-Dec-2025 12:03:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:03:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:03:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:03:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:03:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:03:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:03:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:03:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:03:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:03:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:03:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:03:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:03:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:04:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:04:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:04:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:04:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:04:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:04:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:04:56 Europe/Berlin] Session role: not set
[10-Dec-2025 12:04:56 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:04:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:04:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:05:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:05:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:05:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:05:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:05:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:05:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:05:57 Europe/Berlin] Session role: not set
[10-Dec-2025 12:05:57 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:05:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:05:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:06:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:06:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:06:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:06:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:06:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:06:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:06:58 Europe/Berlin] Session role: not set
[10-Dec-2025 12:06:58 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:06:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:06:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:07:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:07:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:07:59 Europe/Berlin] Session role: not set
[10-Dec-2025 12:07:59 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:08:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:08:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:08:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:08:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:08:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:08:38 Europe/Berlin] Session role: not set
[10-Dec-2025 12:08:38 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:08:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:08:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:08:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:08:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:08:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:08:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:08:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:08:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:08:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:08:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:08:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:08:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:09:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:09:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:09:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:09:25 Europe/Berlin] Session role: not set
[10-Dec-2025 12:09:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:09:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:09:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:09:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:09:47 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:09:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:09:47 Europe/Berlin] Session role: not set
[10-Dec-2025 12:09:47 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:09:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:09:48 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:09:49 Europe/Berlin] Session role: not set
[10-Dec-2025 12:09:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:10:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:10:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:10:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:10:20 Europe/Berlin] Session role: not set
[10-Dec-2025 12:10:20 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:10:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:10:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:10:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:10:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:10:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:10:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:10:50 Europe/Berlin] Session role: not set
[10-Dec-2025 12:10:50 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:10:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:10:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:11:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:11:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:11:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:28 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:11:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:28 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:11:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:11:28 Europe/Berlin] Session role: not set
[10-Dec-2025 12:11:28 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:11:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:11:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:11:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:11:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:11:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:11:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:11:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:11:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:11:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:11:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:12:20 Europe/Berlin] Session role: not set
[10-Dec-2025 12:12:20 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:12:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:12:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:12:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:12:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:12:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:12:50 Europe/Berlin] Session role: not set
[10-Dec-2025 12:12:50 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:12:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:12:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:13:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:13:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:21 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:13:21 Europe/Berlin] Session role: not set
[10-Dec-2025 12:13:21 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:13:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:13:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:13:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:13:49 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:13:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:13:49 Europe/Berlin] Session role: not set
[10-Dec-2025 12:13:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:13:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 11:13:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:13:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:13:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:13:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:13:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:13:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:13:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:13:53 Europe/Berlin] Session role: not set
[10-Dec-2025 12:13:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:13:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:13:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:14:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:14:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:24 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:14:24 Europe/Berlin] Session role: not set
[10-Dec-2025 12:14:24 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:14:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:14:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:14:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:14:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:14:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:14:54 Europe/Berlin] Session role: not set
[10-Dec-2025 12:14:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:14:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:14:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:15:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:15:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:15:25 Europe/Berlin] Session role: not set
[10-Dec-2025 12:15:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:15:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:15:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:15:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:15:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:15:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:15:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:15:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:15:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:15:53 Europe/Berlin] Session role: not set
[10-Dec-2025 12:15:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:15:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:15:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:16:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:16:13 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:16:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:13 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:16:13 Europe/Berlin] Session role: not set
[10-Dec-2025 12:16:13 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:16:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:16:14 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:16:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:16:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:16:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:17 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:17 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:16:17 Europe/Berlin] Session role: not set
[10-Dec-2025 12:16:17 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:16:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:16:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:16:48 Europe/Berlin] Session role: not set
[10-Dec-2025 12:16:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:17:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:17:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:17:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:17:18 Europe/Berlin] Session role: not set
[10-Dec-2025 12:17:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:17:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:17:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:17:48 Europe/Berlin] Session role: not set
[10-Dec-2025 12:17:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:18:20 Europe/Berlin] Session role: not set
[10-Dec-2025 12:18:20 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:18:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:18:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:18:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:18:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:18:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:18:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:18:53 Europe/Berlin] Session role: not set
[10-Dec-2025 12:18:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:18:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:18:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:19:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:19:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:19:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:19:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:18 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:19:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:19:18 Europe/Berlin] Session role: not set
[10-Dec-2025 12:19:18 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:19:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:19:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:19:48 Europe/Berlin] Session role: not set
[10-Dec-2025 12:19:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:20:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:20:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:20:48 Europe/Berlin] Session role: not set
[10-Dec-2025 12:20:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:21:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:21:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:21:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:21:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:21:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:21:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:21:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:21:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:21:50 Europe/Berlin] Session role: not set
[10-Dec-2025 12:21:50 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:21:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:21:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:22:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:22:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:22:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:22:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:22:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:22:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:22:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:22:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:22:51 Europe/Berlin] Session role: not set
[10-Dec-2025 12:22:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:22:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:22:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:23:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:23:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:23:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:23:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:23:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:23:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:23:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:23:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:23:51 Europe/Berlin] Session role: not set
[10-Dec-2025 12:23:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:23:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:23:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:24:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:24:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:24:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:24:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:24:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:24:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:24:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:24:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:24:53 Europe/Berlin] Session role: not set
[10-Dec-2025 12:24:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:24:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:24:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:25:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:25:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:25:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:25:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:25:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:25:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:25:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:25:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:25:54 Europe/Berlin] Session role: not set
[10-Dec-2025 12:25:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:25:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:25:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:26:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:26:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:26:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:26:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:26:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:26:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:26:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:26:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:26:47 Europe/Berlin] Session role: not set
[10-Dec-2025 12:26:47 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:26:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:26:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:30:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:30:32 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:30:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:32 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:30:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:30:32 Europe/Berlin] Session role: not set
[10-Dec-2025 12:30:32 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:30:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:30:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:30:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:30:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:30:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:30:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:30:37 Europe/Berlin] Session role: not set
[10-Dec-2025 12:30:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:30:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:30:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:31:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:31:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:31:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:31:11 Europe/Berlin] Session role: not set
[10-Dec-2025 12:31:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:31:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:31:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:31:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:31:20 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:31:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:20 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:31:20 Europe/Berlin] Session role: not set
[10-Dec-2025 12:31:20 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:31:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:31:24 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:31:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:31:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:31:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:25 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:31:25 Europe/Berlin] Session role: not set
[10-Dec-2025 12:31:25 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:31:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:31:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:31:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:31:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:31:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:31:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:31:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:31:58 Europe/Berlin] Session role: not set
[10-Dec-2025 12:31:58 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:32:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:32:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:32:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:32:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:32:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:31 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:32:31 Europe/Berlin] Session role: not set
[10-Dec-2025 12:32:31 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:32:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:32:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:32:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:32:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:32:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:32:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:32:57 Europe/Berlin] Session role: not set
[10-Dec-2025 12:32:57 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:32:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:32:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:33:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:33:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:33:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:27 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:33:27 Europe/Berlin] Session role: not set
[10-Dec-2025 12:33:27 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:33:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:33:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:33:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:33:43 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[10-Dec-2025 12:33:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:33:43 Europe/Berlin] Session role: not set
[10-Dec-2025 12:33:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:33:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:33:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[10-Dec-2025 12:33:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:33:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:33:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:33:49 Europe/Berlin] Session role: not set
[10-Dec-2025 12:33:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:33:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:33:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:33:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:33:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[10-Dec-2025 12:33:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:33:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:33:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:33:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:33:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:33:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:34:05 UTC] Fetching videos for teacher_id: 28
[10-Dec-2025 11:34:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[10-Dec-2025 11:34:05 UTC] Found 0 videos for teacher 28
[10-Dec-2025 12:34:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:34:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:34:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:34:06 Europe/Berlin] Session role: not set
[10-Dec-2025 12:34:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:34:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:34:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:34:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:34:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:34:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:34:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:34:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:34:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:34:36 Europe/Berlin] Session role: not set
[10-Dec-2025 12:34:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:34:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:34:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:35:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:35:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:35:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:35:06 Europe/Berlin] Session role: not set
[10-Dec-2025 12:35:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:35:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:35:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:35:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:35:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:35:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:35:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:36 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:35:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:35:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:35:36 Europe/Berlin] Session role: not set
[10-Dec-2025 12:35:36 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:35:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:35:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:36:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:36:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:36:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:36:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:36:07 Europe/Berlin] Session role: not set
[10-Dec-2025 12:36:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:36:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:36:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:36:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:36:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:36:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:36:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:36:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:36:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:36:37 Europe/Berlin] Session role: not set
[10-Dec-2025 12:36:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:36:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:36:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:37:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:37:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:37:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:37:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:37:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:37:07 Europe/Berlin] Session role: not set
[10-Dec-2025 12:37:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:37:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:37:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:37:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:37:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:37:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:37:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:37:37 Europe/Berlin] Session role: not set
[10-Dec-2025 12:37:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:37:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:37:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:38:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:38:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:38:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:38:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:38:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:38:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:38:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:38:38 Europe/Berlin] Session role: not set
[10-Dec-2025 12:38:38 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:38:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:38:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:39:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:39:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:39:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:39:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:39:39 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:39:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:39:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:39:39 Europe/Berlin] Session role: not set
[10-Dec-2025 12:39:39 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:39:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:39:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:40:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:40:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:40:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:40:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:40:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:40:40 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:40:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:40:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:40:40 Europe/Berlin] Session role: not set
[10-Dec-2025 12:40:40 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:40:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:40:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:41:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:41:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:41:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:41:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:41:41 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:41:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:41:41 Europe/Berlin] Session role: not set
[10-Dec-2025 12:41:41 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:41:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:41:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:42:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:42:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:42:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:42:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:42:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:42:42 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:42:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:42:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:42:42 Europe/Berlin] Session role: not set
[10-Dec-2025 12:42:42 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:42:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:42:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:43:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:43:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:43:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:43:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:43:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:43:43 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:43:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:43:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:43:43 Europe/Berlin] Session role: not set
[10-Dec-2025 12:43:43 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:43:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:43:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:44:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:44:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:44:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:44:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:44:44 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:44:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:44:44 Europe/Berlin] Session role: not set
[10-Dec-2025 12:44:44 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:44:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:44:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:45:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:45:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:45:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:45:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:45:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:45:45 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:45:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:45:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:45:45 Europe/Berlin] Session role: not set
[10-Dec-2025 12:45:45 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:45:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:45:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:46:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:46:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:46:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:46:46 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:46:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:46:46 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:46:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:46:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:46:46 Europe/Berlin] Session role: not set
[10-Dec-2025 12:46:46 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:46:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:46:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:47:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:47:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:47:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:47:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:47:47 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:47:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:47:47 Europe/Berlin] Session role: not set
[10-Dec-2025 12:47:47 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:47:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:47:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:48:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:48:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:48:48 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:48:48 Europe/Berlin] Session role: not set
[10-Dec-2025 12:48:48 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:49:49 Europe/Berlin] Session role: not set
[10-Dec-2025 12:49:49 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:49:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:50:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:50:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:50:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:50:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:50:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:50:50 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:50:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:50:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:50:50 Europe/Berlin] Session role: not set
[10-Dec-2025 12:50:50 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:50:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:50:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:51:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:51:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:51:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:51:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:51:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:51:51 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:51:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:51:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:51:51 Europe/Berlin] Session role: not set
[10-Dec-2025 12:51:51 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:51:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:51:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:52:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:52:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:52:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:52:52 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:52:52 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:52:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:52:52 Europe/Berlin] Session role: not set
[10-Dec-2025 12:52:52 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:52:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:52:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:53:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:53:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:53:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:53:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:53:53 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:53:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:53:53 Europe/Berlin] Session role: not set
[10-Dec-2025 12:53:53 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:53:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:53:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:54:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:54:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:54:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:54:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:54:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:54:54 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:54:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:54:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:54:54 Europe/Berlin] Session role: not set
[10-Dec-2025 12:54:54 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:54:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:54:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:55:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:55:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:55:55 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:55:55 Europe/Berlin] Session role: not set
[10-Dec-2025 12:55:55 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:55:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:55:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:56:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:56:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:56:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:56:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:56:56 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:56:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:56:56 Europe/Berlin] Session role: not set
[10-Dec-2025 12:56:56 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:56:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:56:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:57:57 Europe/Berlin] Session role: not set
[10-Dec-2025 12:57:57 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:57:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:57:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:58:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:58:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:58:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:58:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:58:58 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:58:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:58:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:58:58 Europe/Berlin] Session role: not set
[10-Dec-2025 12:58:58 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:58:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:58:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 12:59:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 12:59:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 12:59:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:59:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:59:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:59:59 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 12:59:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 12:59:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 12:59:59 Europe/Berlin] Session role: not set
[10-Dec-2025 12:59:59 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 11:59:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 11:59:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:00:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:01:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:01:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:01:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:01:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:01:00 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:01:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:01:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:01:00 Europe/Berlin] Session role: not set
[10-Dec-2025 13:01:00 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:01:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:01:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:02:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:02:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:02:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:02:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:02:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:02:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:02:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:02:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:02:01 Europe/Berlin] Session role: not set
[10-Dec-2025 13:02:01 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:02:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:02:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:03:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:03:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:03:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:03:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:03:02 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:03:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:03:02 Europe/Berlin] Session role: not set
[10-Dec-2025 13:03:02 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:03:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:03:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:04:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:04:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:04:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:04:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:04:03 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:04:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:04:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:04:03 Europe/Berlin] Session role: not set
[10-Dec-2025 13:04:03 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:04:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:04:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:05:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:05:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:05:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:05:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:05:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:05:04 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:05:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:05:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:05:04 Europe/Berlin] Session role: not set
[10-Dec-2025 13:05:04 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:05:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:05:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:06:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:06:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:06:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:06:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:06:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:06:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:06:05 Europe/Berlin] Session role: not set
[10-Dec-2025 13:06:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:06:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:06:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:07:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:07:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:07:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:07:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:07:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:07:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:07:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:07:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:07:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:07:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:07:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:07:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:08:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:08:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:08:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:08:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:08:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:08:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:08:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:08:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:08:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:08:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:09:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:09:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:09:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:09:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:09:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:09:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:09:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:09:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:09:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:09:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:09:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:09:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:10:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:10:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:10:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:10:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:10:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:10:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:10:07 Europe/Berlin] Session role: not set
[10-Dec-2025 13:10:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:10:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:11:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:11:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:11:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:11:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:11:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:11:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:11:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:11:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:11:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:11:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:11:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:12:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:12:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:12:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:12:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:12:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:12:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:13:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:13:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:13:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:13:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:13:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:13:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:13:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:13:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:13:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:13:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:13:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:13:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:14:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:14:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:14:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:14:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:14:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:14:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:14:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:14:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:14:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:14:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:15:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:15:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:15:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:15:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:15:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:15:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:15:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:15:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:15:05 Europe/Berlin] Session role: not set
[10-Dec-2025 13:15:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:15:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:15:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:16:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:16:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:16:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:16:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:16:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:16:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:16:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:16:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:16:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:16:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:16:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:16:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:17:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:17:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:17:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:17:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:17:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:17:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:17:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:17:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:17:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:17:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:18:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:18:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:18:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:18:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:18:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:18:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:18:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:18:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:18:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:18:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:18:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:18:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:19:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:19:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:19:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:19:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:19:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:19:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:19:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:19:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:19:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:19:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:20:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:20:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:20:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:20:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:20:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:20:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:20:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:20:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:20:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:20:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:20:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:21:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:21:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:21:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:21:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:21:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:21:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:21:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:21:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:21:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:21:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:22:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:22:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:22:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:22:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:22:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:22:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:22:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:22:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:22:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:22:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:22:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:22:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:23:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:23:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:23:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:23:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:23:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:23:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:23:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:23:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:23:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:23:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:23:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:23:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:24:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:24:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:24:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:24:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:24:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:24:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:24:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:24:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:24:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:24:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:25:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:25:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:25:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:25:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:25:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:25:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:25:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:25:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:25:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:25:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:25:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:25:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:26:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:26:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:26:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:26:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:26:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:26:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:26:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:26:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:26:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:26:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:26:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:26:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:27:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:27:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:27:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:27:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:27:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:27:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:27:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:27:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:27:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:27:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:27:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:27:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:28:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:28:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:28:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:28:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:28:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:28:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:28:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:28:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:28:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:28:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:28:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:28:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:29:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:29:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:29:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:29:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:29:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:29:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:29:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:29:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:29:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:29:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:29:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:29:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:30:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:30:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:30:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:30:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:30:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:30:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:30:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:30:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:30:07 Europe/Berlin] Session role: not set
[10-Dec-2025 13:30:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:30:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:30:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:31:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:31:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:31:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:31:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:31:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:31:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:31:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:31:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:31:05 Europe/Berlin] Session role: not set
[10-Dec-2025 13:31:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:31:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:31:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:32:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:32:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:32:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:32:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:32:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:32:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:32:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:32:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:32:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:32:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:33:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:33:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:33:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:33:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:33:05 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:33:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:33:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:33:05 Europe/Berlin] Session role: not set
[10-Dec-2025 13:33:05 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:33:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:33:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:34:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:34:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:34:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:34:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:34:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:34:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:34:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:34:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:34:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:34:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:35:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:35:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:35:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:35:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:35:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:35:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:35:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:35:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:35:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:35:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:36:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:36:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:36:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:36:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:36:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:36:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:36:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:36:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:36:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:36:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:37:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:37:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:37:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:37:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:37:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:37:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:37:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:37:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:37:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:37:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:37:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:37:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:38:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:38:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:38:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:38:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:38:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:38:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:38:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:38:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:38:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:38:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:39:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:39:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:39:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:39:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:39:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:39:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:39:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:39:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:39:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:39:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:40:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:40:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:40:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:40:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:40:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:40:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:40:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:40:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:40:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:40:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:41:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:41:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:41:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:41:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:41:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:41:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:41:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:41:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:41:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:41:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:42:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:42:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:42:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:42:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:42:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:42:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:42:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:42:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:42:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:42:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:42:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:42:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:43:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:43:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:43:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:43:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:43:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:43:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:43:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:43:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:43:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:43:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:43:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:43:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:44:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:44:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:44:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:44:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:44:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:44:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:44:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:44:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:44:07 Europe/Berlin] Session role: not set
[10-Dec-2025 13:44:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:44:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:44:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:45:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:45:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:45:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:45:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:45:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:45:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:45:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:45:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:45:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:45:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:46:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:46:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:46:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:01 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:46:01 Europe/Berlin] Session role: not set
[10-Dec-2025 13:46:01 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:46:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:46:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:46:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:46:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:46:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:46:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:46:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:46:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:46:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:46:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:46:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:46:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:46:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:46:37 Europe/Berlin] Session role: not set
[10-Dec-2025 13:46:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:46:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:46:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:47:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:47:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:47:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:47:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:47:38 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:47:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:47:38 Europe/Berlin] Session role: not set
[10-Dec-2025 13:47:38 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:47:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:47:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:48:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:48:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:48:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:48:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:11 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:48:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:48:11 Europe/Berlin] Session role: not set
[10-Dec-2025 13:48:11 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:48:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:48:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:48:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:48:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:48:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:48:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:37 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:48:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:48:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:48:37 Europe/Berlin] Session role: not set
[10-Dec-2025 13:48:37 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:48:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:48:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:49:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:49:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:49:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:49:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:49:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:49:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:49:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:49:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:49:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:49:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:49:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:49:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:50:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:50:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:50:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:50:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:50:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:50:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:50:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:50:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:50:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:50:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:50:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:50:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:51:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:51:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:51:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:51:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:51:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:51:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:51:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:51:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:51:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:51:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:51:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:51:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:52:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:52:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:52:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:52:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:52:07 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:52:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:52:07 Europe/Berlin] Session role: not set
[10-Dec-2025 13:52:07 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:52:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:52:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[10-Dec-2025 13:53:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[10-Dec-2025 13:53:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[10-Dec-2025 13:53:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:53:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:53:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:53:06 Europe/Berlin] isLoggedIn check result: true
[10-Dec-2025 13:53:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765352880
    [last_regeneration] => 1765352880
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765352880
    [session_started_at] => 2025-12-10 08:48:01
    [login_redirect_count] => 0
)

[10-Dec-2025 13:53:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[10-Dec-2025 13:53:06 Europe/Berlin] Session role: not set
[10-Dec-2025 13:53:06 Europe/Berlin] Session user_role: teacher
[10-Dec-2025 12:53:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[10-Dec-2025 12:53:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 04:14:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 04:14:29 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 04:14:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-11 04:14:29
)

[11-Dec-2025 04:14:29 Europe/Berlin] isLoggedIn check result: false
[11-Dec-2025 04:14:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 04:14:29
)

[11-Dec-2025 07:08:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 07:08:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 07:08:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
)

[11-Dec-2025 07:08:06 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 07:08:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
)

[11-Dec-2025 07:08:06 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 07:08:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
)

[11-Dec-2025 07:08:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 07:08:06 Europe/Berlin] Session role: not set
[11-Dec-2025 07:08:06 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 06:08:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 06:08:06 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 06:08:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 06:08:06 UTC] Found 0 videos for teacher 28
[11-Dec-2025 07:08:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 07:08:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 07:08:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
    [login_redirect_count] => 0
)

[11-Dec-2025 07:08:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 07:08:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
    [login_redirect_count] => 0
)

[11-Dec-2025 07:08:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 07:08:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 07:05:49
    [created_at] => 1765433285
    [last_regeneration] => 1765433285
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765433285
    [login_redirect_count] => 0
)

[11-Dec-2025 07:08:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 07:08:07 Europe/Berlin] Session role: not set
[11-Dec-2025 07:08:07 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 06:08:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 06:08:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:20:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:20:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 12:20:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
)

[11-Dec-2025 12:20:17 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
)

[11-Dec-2025 12:20:17 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
)

[11-Dec-2025 12:20:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:20:17 Europe/Berlin] Session role: not set
[11-Dec-2025 12:20:17 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:20:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:20:17 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 11:20:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 11:20:17 UTC] Found 0 videos for teacher 28
[11-Dec-2025 12:20:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:20:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:20:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:20:19 Europe/Berlin] Session role: not set
[11-Dec-2025 12:20:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:20:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:20:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:20:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:20:28 Europe/Berlin] Teacher Auth Check - Script: profile.php
[11-Dec-2025 12:20:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:20:28 Europe/Berlin] Session role: not set
[11-Dec-2025 12:20:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:20:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 12:20:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:20:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:20:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:20:28 Europe/Berlin] Session role: not set
[11-Dec-2025 12:20:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:20:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:20:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:20:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:20:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:20:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:20:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:20:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:20:59 Europe/Berlin] Session role: not set
[11-Dec-2025 12:20:59 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:20:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:20:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:21:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:21:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:21:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:21:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:21:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:21:28 Europe/Berlin] Session role: not set
[11-Dec-2025 12:21:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:21:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:21:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:21:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:21:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:21:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:21:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:21:59 Europe/Berlin] Session role: not set
[11-Dec-2025 12:21:59 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:21:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:21:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 12:22:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 12:22:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 12:22:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:22:29 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:22:29 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 12:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765452016
    [last_regeneration] => 1765452016
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765452016
    [session_started_at] => 2025-12-11 12:20:17
    [login_redirect_count] => 0
)

[11-Dec-2025 12:22:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 12:22:29 Europe/Berlin] Session role: not set
[11-Dec-2025 12:22:29 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 11:22:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 11:22:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:38:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:38:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 15:38:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
)

[11-Dec-2025 15:38:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:38:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
)

[11-Dec-2025 15:38:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:38:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
)

[11-Dec-2025 15:38:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:38:30 Europe/Berlin] Session role: not set
[11-Dec-2025 15:38:30 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:38:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:38:30 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 14:38:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 14:38:30 UTC] Found 0 videos for teacher 28
[11-Dec-2025 15:38:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:38:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:38:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:38:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:38:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:38:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:38:32 Europe/Berlin] Session role: not set
[11-Dec-2025 15:38:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:38:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:38:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:39:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:39:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:39:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:39:02 Europe/Berlin] Session role: not set
[11-Dec-2025 15:39:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:39:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:39:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:39:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:39:06 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 15:39:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:06 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:06 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:39:06 Europe/Berlin] Session role: not set
[11-Dec-2025 15:39:06 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:39:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:39:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:39:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:39:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:39:07 Europe/Berlin] Session role: not set
[11-Dec-2025 15:39:07 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:39:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:39:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:39:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:39:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:39:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:39:37 Europe/Berlin] Session role: not set
[11-Dec-2025 15:39:37 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:39:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:39:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:40:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:40:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:40:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:40:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:40:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:40:07 Europe/Berlin] Session role: not set
[11-Dec-2025 15:40:07 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:40:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:40:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:40:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:40:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:40:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:40:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:40:37 Europe/Berlin] Session role: not set
[11-Dec-2025 15:40:37 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:40:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:40:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:41:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:41:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:41:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:41:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:41:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:41:07 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:41:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765463909
    [last_regeneration] => 1765463909
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765463909
    [session_started_at] => 2025-12-11 15:38:30
    [login_redirect_count] => 0
)

[11-Dec-2025 15:41:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:41:07 Europe/Berlin] Session role: not set
[11-Dec-2025 15:41:07 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:41:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:41:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:51:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 15:51:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
)

[11-Dec-2025 15:51:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
)

[11-Dec-2025 15:51:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
)

[11-Dec-2025 15:51:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:19 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:51:21 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 14:51:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 14:51:21 UTC] Found 0 videos for teacher 28
[11-Dec-2025 15:51:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:51:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:22 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:51:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:51:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:28 Europe/Berlin] Teacher Auth Check - Script: profile.php
[11-Dec-2025 15:51:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:28 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:51:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:51:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:28 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:51:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:37 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 15:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:37 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:37 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:51:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:51:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:51:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:38 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:38 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464678
    [last_regeneration] => 1765464678
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464678
    [session_started_at] => 2025-12-11 15:51:19
    [login_redirect_count] => 0
)

[11-Dec-2025 15:51:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:51:38 Europe/Berlin] Session role: not set
[11-Dec-2025 15:51:38 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:51:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:51:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:53:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:53:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 15:53:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
)

[11-Dec-2025 15:53:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:53:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
)

[11-Dec-2025 15:53:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:53:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
)

[11-Dec-2025 15:53:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:53:58 Europe/Berlin] Session role: not set
[11-Dec-2025 15:53:58 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:53:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:53:59 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 14:53:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 14:53:59 UTC] Found 0 videos for teacher 28
[11-Dec-2025 15:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:53:59 Europe/Berlin] Session role: not set
[11-Dec-2025 15:53:59 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:53:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:54:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:54:04 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Dec-2025 15:54:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:54:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:54:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:54:04 Europe/Berlin] Session role: not set
[11-Dec-2025 15:54:04 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:54:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:54:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:54:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:54:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:54:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:54:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765464838
    [last_regeneration] => 1765464838
    [session_started_at] => 2025-12-11 15:51:54
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765464838
    [login_redirect_count] => 0
)

[11-Dec-2025 15:54:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:54:05 Europe/Berlin] Session role: not set
[11-Dec-2025 15:54:05 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:54:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:54:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
)

[11-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
)

[11-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
)

[11-Dec-2025 15:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:57:57 Europe/Berlin] Session role: not set
[11-Dec-2025 15:57:57 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:57:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:57:57 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 14:57:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 14:57:57 UTC] Found 0 videos for teacher 28
[11-Dec-2025 15:57:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:57:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:57:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:57:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:57:59 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:57:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:57:59 Europe/Berlin] Session role: not set
[11-Dec-2025 15:57:59 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:57:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:57:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:58:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:58:05 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 15:58:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:58:05 Europe/Berlin] Session role: not set
[11-Dec-2025 15:58:05 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:58:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:58:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:58:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:58:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:58:11 Europe/Berlin] Session role: not set
[11-Dec-2025 15:58:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:58:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:58:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:58:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:58:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:58:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:58:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:58:42 Europe/Berlin] Session role: not set
[11-Dec-2025 15:58:42 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:58:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:58:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:59:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:59:03 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Dec-2025 15:59:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:59:03 Europe/Berlin] Session role: not set
[11-Dec-2025 15:59:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:59:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:59:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:59:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:59:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:59:03 Europe/Berlin] Session role: not set
[11-Dec-2025 15:59:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:59:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:59:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 15:59:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 15:59:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 15:59:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 15:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 15:59:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 15:59:34 Europe/Berlin] Session role: not set
[11-Dec-2025 15:59:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 14:59:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 14:59:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:00:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:05 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:00:05 Europe/Berlin] Session role: not set
[11-Dec-2025 16:00:05 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:00:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:00:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:00:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:35 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:35 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:00:35 Europe/Berlin] Session role: not set
[11-Dec-2025 16:00:35 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:00:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:00:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:01:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:01:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:01:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:01:04 Europe/Berlin] Session role: not set
[11-Dec-2025 16:01:04 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:01:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:01:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:01:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:01:10 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:01:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:01:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:01:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:01:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:01:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:01:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:01:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:01:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:01:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:01:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:01:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:01:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:01:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:01:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:47 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:47 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:01:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:01:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:01:47 Europe/Berlin] Session role: not set
[11-Dec-2025 16:01:47 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:01:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:01:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:02:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:02:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:02:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:02:12 Europe/Berlin] Session role: not set
[11-Dec-2025 16:02:12 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:02:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:02:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:02:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:02:31 Europe/Berlin] Teacher Auth Check - Script: profile.php
[11-Dec-2025 16:02:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:31 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:31 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:02:31 Europe/Berlin] Session role: not set
[11-Dec-2025 16:02:31 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:02:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:02:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:02:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:02:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:02:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:02:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:02:32 Europe/Berlin] Session role: not set
[11-Dec-2025 16:02:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:02:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:02:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:03:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:03:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:03:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:03:02 Europe/Berlin] Session role: not set
[11-Dec-2025 16:03:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:03:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:03:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:03:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:03:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:03:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:03:32 Europe/Berlin] Session role: not set
[11-Dec-2025 16:03:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:03:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:03:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:03:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:03:36 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:03:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:03:36 Europe/Berlin] Session role: not set
[11-Dec-2025 16:03:36 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:03:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:03:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:03:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465076
    [last_regeneration] => 1765465076
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465076
    [session_started_at] => 2025-12-11 15:57:57
    [login_redirect_count] => 0
)

[11-Dec-2025 16:03:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:03:37 Europe/Berlin] Session role: not set
[11-Dec-2025 16:03:37 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:03:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:03:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:12:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:12:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 16:12:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
)

[11-Dec-2025 16:12:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
)

[11-Dec-2025 16:12:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
)

[11-Dec-2025 16:12:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:12:21 Europe/Berlin] Session role: not set
[11-Dec-2025 16:12:21 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:12:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:12:22 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 15:12:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 15:12:22 UTC] Found 0 videos for teacher 28
[11-Dec-2025 16:12:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:12:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:12:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:12:22 Europe/Berlin] Session role: not set
[11-Dec-2025 16:12:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:12:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:12:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:12:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:12:27 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:12:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:27 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:27 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:12:27 Europe/Berlin] Session role: not set
[11-Dec-2025 16:12:27 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:12:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:12:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:12:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:12:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:28 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:12:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765465939
    [last_regeneration] => 1765465939
    [session_started_at] => 2025-12-11 16:12:08
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765465939
    [login_redirect_count] => 0
)

[11-Dec-2025 16:12:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:12:28 Europe/Berlin] Session role: not set
[11-Dec-2025 16:12:28 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:12:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:12:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:15:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:15:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 16:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
)

[11-Dec-2025 16:15:38 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
)

[11-Dec-2025 16:15:38 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
)

[11-Dec-2025 16:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:15:38 Europe/Berlin] Session role: not set
[11-Dec-2025 16:15:38 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:15:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:15:38 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 15:15:38 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 15:15:38 UTC] Found 0 videos for teacher 28
[11-Dec-2025 16:15:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:15:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:15:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:39 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:39 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:15:39 Europe/Berlin] Session role: not set
[11-Dec-2025 16:15:39 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:15:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:15:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:15:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:15:51 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:15:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:15:51 Europe/Berlin] Session role: not set
[11-Dec-2025 16:15:51 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:15:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:15:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:15:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:15:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:15:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466137
    [last_regeneration] => 1765466137
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466137
    [session_started_at] => 2025-12-11 16:15:38
    [login_redirect_count] => 0
)

[11-Dec-2025 16:15:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:15:52 Europe/Berlin] Session role: not set
[11-Dec-2025 16:15:52 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:15:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:15:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:17:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:17:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 16:17:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
)

[11-Dec-2025 16:17:14 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
)

[11-Dec-2025 16:17:14 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
)

[11-Dec-2025 16:17:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:17:14 Europe/Berlin] Session role: not set
[11-Dec-2025 16:17:14 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:17:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:17:14 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 15:17:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 15:17:14 UTC] Found 0 videos for teacher 28
[11-Dec-2025 16:17:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:17:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:17:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:14 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:14 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:17:14 Europe/Berlin] Session role: not set
[11-Dec-2025 16:17:14 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:17:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:17:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:17:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:17:21 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:17:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:17:21 Europe/Berlin] Session role: not set
[11-Dec-2025 16:17:21 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:17:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:17:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:17:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:17:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:17:22 Europe/Berlin] Session role: not set
[11-Dec-2025 16:17:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:17:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:17:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:17:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:17:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:17:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:17:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:17:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:17:52 Europe/Berlin] Session role: not set
[11-Dec-2025 16:17:52 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:17:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:17:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:18:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:18:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:18:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:18:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:18:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:18:22 Europe/Berlin] Session role: not set
[11-Dec-2025 16:18:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:18:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:18:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:18:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:18:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:18:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:18:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:18:58 Europe/Berlin] Session role: not set
[11-Dec-2025 16:18:58 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:18:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:18:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:19:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:19:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:19:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:19:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:19:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:19:22 Europe/Berlin] Session role: not set
[11-Dec-2025 16:19:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:19:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:19:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:19:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:19:57 Europe/Berlin] Session role: not set
[11-Dec-2025 16:19:57 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:19:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:19:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:20:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:20:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:20:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:20:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:22 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:20:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:20:22 Europe/Berlin] Session role: not set
[11-Dec-2025 16:20:22 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:20:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:20:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:20:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:20:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:20:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:20:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:20:52 Europe/Berlin] Session role: not set
[11-Dec-2025 16:20:52 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:20:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:20:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:21:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:21:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:21:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:21:53 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:21:53 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:21:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:21:53 Europe/Berlin] Session role: not set
[11-Dec-2025 16:21:53 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:21:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:21:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:22:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:22:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:22:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:22:54 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:22:54 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:22:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:22:54 Europe/Berlin] Session role: not set
[11-Dec-2025 16:22:54 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:22:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:22:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:24:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:24:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:24:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:24:03 Europe/Berlin] Session role: not set
[11-Dec-2025 16:24:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:24:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:24:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:24:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:24:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:24:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:55 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:24:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:55 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:24:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466233
    [last_regeneration] => 1765466233
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466233
    [session_started_at] => 2025-12-11 16:17:14
    [login_redirect_count] => 0
)

[11-Dec-2025 16:24:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:24:55 Europe/Berlin] Session role: not set
[11-Dec-2025 16:24:55 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:24:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:24:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:26:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:26:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 16:26:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-11 16:26:38
)

[11-Dec-2025 16:26:38 Europe/Berlin] isLoggedIn check result: false
[11-Dec-2025 16:26:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 16:26:38
)

[11-Dec-2025 16:26:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:26:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 16:26:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
)

[11-Dec-2025 16:26:46 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:26:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
)

[11-Dec-2025 16:26:46 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:26:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
)

[11-Dec-2025 16:26:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:26:46 Europe/Berlin] Session role: not set
[11-Dec-2025 16:26:46 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:26:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:26:52 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 15:26:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 15:26:52 UTC] Found 0 videos for teacher 28
[11-Dec-2025 16:26:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:26:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:26:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:26:53 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:26:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:26:53 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:26:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:26:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:26:53 Europe/Berlin] Session role: not set
[11-Dec-2025 16:26:53 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:26:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:26:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:27:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:27:00 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 16:27:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:27:00 Europe/Berlin] Session role: not set
[11-Dec-2025 16:27:00 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:27:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:27:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:27:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:27:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:27:01 Europe/Berlin] Session role: not set
[11-Dec-2025 16:27:01 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:27:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:27:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:27:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:27:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:27:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:27:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:27:32 Europe/Berlin] Session role: not set
[11-Dec-2025 16:27:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:27:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:27:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:28:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:28:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:28:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:28:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:28:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:28:02 Europe/Berlin] Session role: not set
[11-Dec-2025 16:28:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:28:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:28:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:28:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:28:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:28:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:28:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:28:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:28:32 Europe/Berlin] Session role: not set
[11-Dec-2025 16:28:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:28:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:28:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:29:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:29:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:29:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:29:03 Europe/Berlin] Session role: not set
[11-Dec-2025 16:29:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:29:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:29:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:29:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:29:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:29:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:29:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:29:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:29:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:29:34 Europe/Berlin] Session role: not set
[11-Dec-2025 16:29:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:29:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:29:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:30:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:30:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:30:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:30:02 Europe/Berlin] Session role: not set
[11-Dec-2025 16:30:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:30:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:30:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:30:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:30:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:30:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:30:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:30:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:30:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:30:33 Europe/Berlin] Session role: not set
[11-Dec-2025 16:30:33 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:30:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:30:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:31:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:31:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:31:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:31:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:31:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:31:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:31:12 Europe/Berlin] Session role: not set
[11-Dec-2025 16:31:12 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:31:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:31:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:32:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:32:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:32:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:20 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:20 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:32:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:32:20 Europe/Berlin] Session role: not set
[11-Dec-2025 16:32:20 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:32:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:32:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:32:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:32:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:32:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:55 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:32:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:55 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:32:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:32:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:32:55 Europe/Berlin] Session role: not set
[11-Dec-2025 16:32:55 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:32:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:32:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:33:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:33:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:33:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:33:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:33:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:33:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:33:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:33:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:33:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:33:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:33:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:33:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:34:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:34:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:34:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:34:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:34:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:34:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:34:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:34:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:34:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:34:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:35:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:35:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:35:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:35:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:35:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:35:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:35:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:35:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:35:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:35:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:35:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:35:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:36:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:36:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:36:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:36:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:36:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:36:01 Europe/Berlin] Session role: not set
[11-Dec-2025 16:36:01 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:36:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:36:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:36:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:36:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:36:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:36:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:32 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:36:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:36:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:36:32 Europe/Berlin] Session role: not set
[11-Dec-2025 16:36:32 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:36:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:36:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:37:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:37:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:37:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:37:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:37:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:37:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:37:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:37:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:37:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:37:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:37:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:37:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:38:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:38:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:38:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:38:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:38:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:38:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:38:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:38:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:38:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:38:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:38:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:38:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:39:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:39:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:39:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:39:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:39:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:39:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:39:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:39:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:39:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:39:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:40:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:40:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:40:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:40:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:40:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:40:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:40:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:40:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:40:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:40:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:40:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:40:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:41:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:41:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:41:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:41:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:41:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:41:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:42:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:42:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:42:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:42:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:42:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:42:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:42:13 Europe/Berlin] Session role: not set
[11-Dec-2025 16:42:13 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:42:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:42:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:43:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:43:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:43:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:43:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:43:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:43:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:43:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:43:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:43:21 Europe/Berlin] Session role: not set
[11-Dec-2025 16:43:21 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:43:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:43:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:44:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:44:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:44:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:44:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:44:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:44:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:44:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:44:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:44:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:44:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:44:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:44:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:45:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:45:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:45:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:45:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:45:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:45:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:45:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:45:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:45:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:45:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:45:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:45:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:46:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:46:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:46:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:46:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:46:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:46:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:46:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:46:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:46:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:46:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:46:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:46:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:47:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:47:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:47:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:47:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:47:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:47:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:47:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:47:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:47:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:47:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:47:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:47:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:48:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:48:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:48:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:48:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:48:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:48:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:48:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:48:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:48:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:48:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:49:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:49:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:49:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:49:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:49:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:49:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:49:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:49:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:49:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:49:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:49:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:49:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:50:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:50:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:50:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:50:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:50:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:50:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:50:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:50:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:50:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:50:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:50:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:50:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:51:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:51:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:51:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:51:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:51:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:51:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:51:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:51:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:51:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:51:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:52:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:52:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:52:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:52:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:52:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:52:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:52:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:52:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:52:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:52:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:53:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:53:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:53:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:53:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:53:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:53:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:53:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:53:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:53:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:53:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:54:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:54:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:54:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:54:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:54:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:54:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:54:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:54:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:54:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:54:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:55:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:55:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:55:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:55:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:55:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:55:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:55:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:55:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:55:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:55:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:55:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:55:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:56:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:56:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:56:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:56:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:56:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:56:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:56:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:56:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:56:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:56:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:56:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:56:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 16:57:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 16:57:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 16:57:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:57:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:57:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 16:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765466803
    [last_regeneration] => 1765466803
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765466803
    [session_started_at] => 2025-12-11 16:26:46
    [login_redirect_count] => 0
)

[11-Dec-2025 16:57:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 16:57:10 Europe/Berlin] Session role: not set
[11-Dec-2025 16:57:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 15:57:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 15:57:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:01:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:01:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:01:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
)

[11-Dec-2025 17:01:44 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
)

[11-Dec-2025 17:01:44 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
)

[11-Dec-2025 17:01:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:01:44 Europe/Berlin] Session role: not set
[11-Dec-2025 17:01:44 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:01:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:01:45 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:01:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:01:45 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:01:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:01:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:01:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:46 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:46 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:01:46 Europe/Berlin] Session role: not set
[11-Dec-2025 17:01:46 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:01:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:01:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:01:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:01:50 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:01:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:01:50 Europe/Berlin] Session role: not set
[11-Dec-2025 17:01:50 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:01:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:01:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:01:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:01:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:01:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:01:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:01:51 Europe/Berlin] Session role: not set
[11-Dec-2025 17:01:51 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:01:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:01:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:02:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:02:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:02:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:02:21 Europe/Berlin] Session role: not set
[11-Dec-2025 17:02:21 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:02:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:02:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:02:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:02:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:02:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:02:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:02:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:02:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:02:51 Europe/Berlin] Session role: not set
[11-Dec-2025 17:02:51 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:02:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:02:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:03:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:03:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:03:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:03:23 Europe/Berlin] Session role: not set
[11-Dec-2025 17:03:23 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:03:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:03:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:03:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:03:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:03:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:03:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:03:51 Europe/Berlin] Session role: not set
[11-Dec-2025 17:03:51 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:03:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:03:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:04:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:04:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:04:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:04:23 Europe/Berlin] Session role: not set
[11-Dec-2025 17:04:23 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:04:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:04:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:04:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:04:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:04:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:04:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:51 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:04:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:04:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:04:51 Europe/Berlin] Session role: not set
[11-Dec-2025 17:04:51 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:04:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:04:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:05:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:05:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:05:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:05:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:05:21 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:05:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:05:21 Europe/Berlin] Session role: not set
[11-Dec-2025 17:05:21 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:05:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:05:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:06:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:06:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:06:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:06:10 Europe/Berlin] Session role: not set
[11-Dec-2025 17:06:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:06:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:06:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:06:19 Europe/Berlin] Teacher Auth Check - Script: profile.php
[11-Dec-2025 17:06:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:06:19 Europe/Berlin] Session role: not set
[11-Dec-2025 17:06:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:06:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:06:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:06:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:06:19 Europe/Berlin] Session role: not set
[11-Dec-2025 17:06:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:06:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:06:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:06:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:06:42 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:06:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:06:42 Europe/Berlin] Session role: not set
[11-Dec-2025 17:06:42 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:06:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:06:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:06:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:06:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:06:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:06:42 Europe/Berlin] Session role: not set
[11-Dec-2025 17:06:42 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:06:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:06:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:07:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:07:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:07:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:07:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:07:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:07:13 Europe/Berlin] Session role: not set
[11-Dec-2025 17:07:13 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:07:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:07:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:07:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:07:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:07:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:07:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:07:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:07:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:07:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:07:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:07:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:07:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:08:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:08:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:08:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:08:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:08:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:08:13 Europe/Berlin] Session role: not set
[11-Dec-2025 17:08:13 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:08:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:08:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:08:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:08:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:08:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:08:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:08:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:08:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:08:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:08:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:08:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:08:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:09:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:09:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:09:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:09:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:09:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:09:13 Europe/Berlin] Session role: not set
[11-Dec-2025 17:09:13 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:09:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:09:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:09:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:09:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:09:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:09:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:09:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:09:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:09:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:09:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:10:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:10:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:13 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:10:13 Europe/Berlin] Session role: not set
[11-Dec-2025 17:10:13 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:10:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:10:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:10:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:10:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:10:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765468900
    [last_regeneration] => 1765468900
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765468900
    [session_started_at] => 2025-12-11 17:01:44
    [login_redirect_count] => 0
)

[11-Dec-2025 17:10:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:10:50 Europe/Berlin] Session role: not set
[11-Dec-2025 17:10:50 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:10:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:10:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:18:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:18:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:18:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
)

[11-Dec-2025 17:18:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
)

[11-Dec-2025 17:18:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
)

[11-Dec-2025 17:18:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:18:57 Europe/Berlin] Session role: not set
[11-Dec-2025 17:18:57 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:18:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:18:57 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:18:57 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:18:57 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:18:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:18:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:18:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:18:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:18:58 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:18:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:18:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:18:58 Europe/Berlin] Session role: not set
[11-Dec-2025 17:18:58 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:18:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:18:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:19:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:19:01 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:19:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:19:01 Europe/Berlin] Session role: not set
[11-Dec-2025 17:19:01 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:19:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:19:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:19:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:19:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:19:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765469937
    [last_regeneration] => 1765469937
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765469937
    [session_started_at] => 2025-12-11 17:18:57
    [login_redirect_count] => 0
)

[11-Dec-2025 17:19:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:19:01 Europe/Berlin] Session role: not set
[11-Dec-2025 17:19:01 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:19:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:19:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:21:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:21:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:21:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
)

[11-Dec-2025 17:21:35 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
)

[11-Dec-2025 17:21:35 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
)

[11-Dec-2025 17:21:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:21:35 Europe/Berlin] Session role: not set
[11-Dec-2025 17:21:35 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:21:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:21:35 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:21:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:21:35 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:21:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:21:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:21:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:21:36 Europe/Berlin] Session role: not set
[11-Dec-2025 17:21:36 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:21:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:21:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:21:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:21:40 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:21:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:40 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:40 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:21:40 Europe/Berlin] Session role: not set
[11-Dec-2025 17:21:40 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:21:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:21:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:21:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:21:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:21:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:21:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:21:41 Europe/Berlin] Session role: not set
[11-Dec-2025 17:21:41 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:21:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:21:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:22:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:22:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:22:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:22:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:22:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:22:11 Europe/Berlin] Session role: not set
[11-Dec-2025 17:22:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:22:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:22:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:22:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:22:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:22:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:22:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:22:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:22:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:22:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:22:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:22:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:22:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:23:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:23:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:23:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:23:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:23:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:23:11 Europe/Berlin] Session role: not set
[11-Dec-2025 17:23:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:23:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:23:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:23:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:23:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:23:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:23:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:23:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:23:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:23:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:23:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:23:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:23:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:24:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:24:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:24:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:24:11 Europe/Berlin] Session role: not set
[11-Dec-2025 17:24:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:24:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:24:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:24:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:24:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:24:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:24:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:24:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:24:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:24:41 Europe/Berlin] Session role: not set
[11-Dec-2025 17:24:41 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:24:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:24:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:25:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:25:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:25:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:25:11 Europe/Berlin] Session role: not set
[11-Dec-2025 17:25:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:25:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:25:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:25:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:25:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:25:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:45 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:45 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470094
    [last_regeneration] => 1765470094
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470094
    [session_started_at] => 2025-12-11 17:21:35
    [login_redirect_count] => 0
)

[11-Dec-2025 17:25:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:25:45 Europe/Berlin] Session role: not set
[11-Dec-2025 17:25:45 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:25:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:25:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:26:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
)

[11-Dec-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
)

[11-Dec-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
)

[11-Dec-2025 17:26:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:26:33 Europe/Berlin] Session role: not set
[11-Dec-2025 17:26:33 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:26:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:26:33 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:26:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:26:33 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:26:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:26:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:26:33 Europe/Berlin] Session role: not set
[11-Dec-2025 17:26:33 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:26:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:26:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:26:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:26:36 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:26:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:36 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:26:36 Europe/Berlin] Session role: not set
[11-Dec-2025 17:26:36 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:26:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:26:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:26:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:26:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:37 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470392
    [last_regeneration] => 1765470392
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470392
    [session_started_at] => 2025-12-11 17:26:33
    [login_redirect_count] => 0
)

[11-Dec-2025 17:26:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:26:37 Europe/Berlin] Session role: not set
[11-Dec-2025 17:26:37 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:26:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:26:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:29:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:29:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:29:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
)

[11-Dec-2025 17:29:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
)

[11-Dec-2025 17:29:41 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
)

[11-Dec-2025 17:29:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:29:41 Europe/Berlin] Session role: not set
[11-Dec-2025 17:29:41 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:29:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:29:41 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:29:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:29:41 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:29:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:29:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:29:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:43 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:29:43 Europe/Berlin] Session role: not set
[11-Dec-2025 17:29:43 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:29:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:29:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:29:48 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:48 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:48 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:29:48 Europe/Berlin] Session role: not set
[11-Dec-2025 17:29:48 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:29:49 Europe/Berlin] Session role: not set
[11-Dec-2025 17:29:49 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:29:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:29:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:30:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:30:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:30:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:30:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:30:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470581
    [last_regeneration] => 1765470581
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470581
    [session_started_at] => 2025-12-11 17:29:41
    [login_redirect_count] => 0
)

[11-Dec-2025 17:30:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:30:19 Europe/Berlin] Session role: not set
[11-Dec-2025 17:30:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:30:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:30:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-11 17:30:49
)

[11-Dec-2025 17:30:49 Europe/Berlin] isLoggedIn check result: false
[11-Dec-2025 17:30:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-11 17:30:49
)

[11-Dec-2025 17:34:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:34:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:34:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
)

[11-Dec-2025 17:34:17 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
)

[11-Dec-2025 17:34:17 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
)

[11-Dec-2025 17:34:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:34:17 Europe/Berlin] Session role: not set
[11-Dec-2025 17:34:17 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:34:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:34:18 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:34:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:34:18 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:34:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:34:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:34:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:19 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:34:19 Europe/Berlin] Session role: not set
[11-Dec-2025 17:34:19 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:34:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:34:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:34:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:34:29 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:34:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:29 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:29 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:34:29 Europe/Berlin] Session role: not set
[11-Dec-2025 17:34:29 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:34:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:34:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:34:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:34:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:34:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:34:30 Europe/Berlin] Session role: not set
[11-Dec-2025 17:34:30 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:34:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:34:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:35:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:35:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:35:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:35:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:01 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:35:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:35:01 Europe/Berlin] Session role: not set
[11-Dec-2025 17:35:01 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:35:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:35:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:35:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:35:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:35:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:35:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:35:30 Europe/Berlin] Session role: not set
[11-Dec-2025 17:35:30 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:35:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:35:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:36:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:36:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:36:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:36:00 Europe/Berlin] Session role: not set
[11-Dec-2025 17:36:00 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:36:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:36:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:36:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:36:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:36:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:30 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:36:30 Europe/Berlin] Session role: not set
[11-Dec-2025 17:36:30 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:36:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:36:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:36:49 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:36:49 Europe/Berlin] Session role: not set
[11-Dec-2025 17:36:49 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:36:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:36:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:36:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:36:49 Europe/Berlin] Session role: not set
[11-Dec-2025 17:36:49 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:36:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:36:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:37:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:37:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:37:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:37:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:37:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:37:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:37:23 Europe/Berlin] Session role: not set
[11-Dec-2025 17:37:23 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:37:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:37:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:38:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:38:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:38:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:00 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:38:00 Europe/Berlin] Session role: not set
[11-Dec-2025 17:38:00 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:38:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:38:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:38:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:38:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:20 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:20 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:38:20 Europe/Berlin] Session role: not set
[11-Dec-2025 17:38:20 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:38:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:38:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:38:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:38:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:38:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:38:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:38:50 Europe/Berlin] Session role: not set
[11-Dec-2025 17:38:50 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:38:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:38:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:39:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:39:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:39:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:23 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:39:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:39:23 Europe/Berlin] Session role: not set
[11-Dec-2025 17:39:23 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:39:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:39:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:39:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:39:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:39:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:50 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765470857
    [last_regeneration] => 1765470857
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765470857
    [session_started_at] => 2025-12-11 17:34:17
    [login_redirect_count] => 0
)

[11-Dec-2025 17:39:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:39:50 Europe/Berlin] Session role: not set
[11-Dec-2025 17:39:50 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:39:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:39:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:43:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:43:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:43:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
)

[11-Dec-2025 17:43:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:43:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
)

[11-Dec-2025 17:43:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:43:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
)

[11-Dec-2025 17:43:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:43:56 Europe/Berlin] Session role: not set
[11-Dec-2025 17:43:56 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:43:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:43:56 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:43:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:43:56 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:43:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:43:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:43:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:43:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:43:57 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:43:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:43:57 Europe/Berlin] Session role: not set
[11-Dec-2025 17:43:57 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:43:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:43:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:44:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:44:02 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:44:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:44:02 Europe/Berlin] Session role: not set
[11-Dec-2025 17:44:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:44:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:44:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:44:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:44:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:44:02 Europe/Berlin] Session role: not set
[11-Dec-2025 17:44:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:44:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:44:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:44:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:44:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:44:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:44:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:44:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:44:33 Europe/Berlin] Session role: not set
[11-Dec-2025 17:44:33 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:44:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:44:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:45:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:45:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:45:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:45:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:45:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:45:03 Europe/Berlin] Session role: not set
[11-Dec-2025 17:45:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:45:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:45:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:45:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:45:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:45:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:45:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:33 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:45:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:45:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:45:33 Europe/Berlin] Session role: not set
[11-Dec-2025 17:45:33 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:45:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:45:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:46:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:46:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:46:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:46:03 Europe/Berlin] Session role: not set
[11-Dec-2025 17:46:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:46:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:46:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:46:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:46:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:46:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:46:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:46:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:46:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:46:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:46:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:46:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:46:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:47:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:47:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:47:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:47:03 Europe/Berlin] Session role: not set
[11-Dec-2025 17:47:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:47:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:47:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:47:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:47:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:47:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:47:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:47:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:47:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:47:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:47:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:47:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:47:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:48:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:48:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:48:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:48:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:48:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:48:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:48:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:48:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:48:12 Europe/Berlin] Session role: not set
[11-Dec-2025 17:48:12 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:48:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:48:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:49:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:49:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:49:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:49:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:49:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:49:10 Europe/Berlin] Session role: not set
[11-Dec-2025 17:49:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:49:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:49:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:49:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:49:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:49:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:47 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:49:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:47 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:49:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471435
    [last_regeneration] => 1765471435
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471435
    [session_started_at] => 2025-12-11 17:43:56
    [login_redirect_count] => 0
)

[11-Dec-2025 17:49:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:49:47 Europe/Berlin] Session role: not set
[11-Dec-2025 17:49:47 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:49:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:49:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:52:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:52:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Dec-2025 17:52:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
)

[11-Dec-2025 17:52:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
)

[11-Dec-2025 17:52:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
)

[11-Dec-2025 17:52:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:52:52 Europe/Berlin] Session role: not set
[11-Dec-2025 17:52:52 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:52:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:52:52 UTC] Fetching videos for teacher_id: 28
[11-Dec-2025 16:52:52 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[11-Dec-2025 16:52:52 UTC] Found 0 videos for teacher 28
[11-Dec-2025 17:52:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:52:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:52:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:52 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:52:52 Europe/Berlin] Session role: not set
[11-Dec-2025 17:52:52 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:52:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:52:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:52:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:52:56 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Dec-2025 17:52:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:52:56 Europe/Berlin] Session role: not set
[11-Dec-2025 17:52:56 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:52:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:52:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:52:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:52:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:52:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:52:56 Europe/Berlin] Session role: not set
[11-Dec-2025 17:52:56 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:52:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:52:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:53:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:53:02 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[11-Dec-2025 17:53:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:02 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:53:02 Europe/Berlin] Session role: not set
[11-Dec-2025 17:53:02 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:53:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:53:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:53:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:53:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:03 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:53:03 Europe/Berlin] Session role: not set
[11-Dec-2025 17:53:03 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:53:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:53:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:53:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:53:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:53:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:53:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:53:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:53:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:53:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:53:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:53:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:54:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:54:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:54:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:54:10 Europe/Berlin] Session role: not set
[11-Dec-2025 17:54:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:54:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:54:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:54:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:54:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:54:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:54:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:54:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:54:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:54:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:54:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:54:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:54:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:55:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:55:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:55:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:55:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:55:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:55:04 Europe/Berlin] Session role: not set
[11-Dec-2025 17:55:04 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:55:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:55:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:55:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:55:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:55:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:55:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:55:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:55:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:55:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:55:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:55:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:55:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:56:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:56:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:56:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:04 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:56:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:56:04 Europe/Berlin] Session role: not set
[11-Dec-2025 17:56:04 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:56:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:56:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:56:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:56:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:56:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:34 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:56:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:56:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:56:34 Europe/Berlin] Session role: not set
[11-Dec-2025 17:56:34 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:56:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:56:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:57:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:57:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:57:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:57:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:57:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:57:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:57:10 Europe/Berlin] Session role: not set
[11-Dec-2025 17:57:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:57:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:57:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 17:59:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 17:59:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 17:59:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:59:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:59:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 17:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 17:59:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 17:59:11 Europe/Berlin] Session role: not set
[11-Dec-2025 17:59:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 16:59:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 16:59:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:00:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:00:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:00:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:00:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:00:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:00:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:00:12 Europe/Berlin] Session role: not set
[11-Dec-2025 18:00:12 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:00:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:00:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:01:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:01:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:01:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:01:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:01:11 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:01:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:01:11 Europe/Berlin] Session role: not set
[11-Dec-2025 18:01:11 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:01:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:01:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:02:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:02:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:02:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:02:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:02:12 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:02:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:02:12 Europe/Berlin] Session role: not set
[11-Dec-2025 18:02:12 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:02:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:02:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:03:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:03:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:03:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:03:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:03:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:03:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:03:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:03:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:03:10 Europe/Berlin] Session role: not set
[11-Dec-2025 18:03:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:03:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:03:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:04:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:04:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:04:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:04:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:04:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:04:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:04:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:04:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:04:10 Europe/Berlin] Session role: not set
[11-Dec-2025 18:04:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:04:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:04:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:05:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:05:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:05:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:05:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:10 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:05:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:05:10 Europe/Berlin] Session role: not set
[11-Dec-2025 18:05:10 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:05:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:05:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Dec-2025 18:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Dec-2025 18:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[11-Dec-2025 18:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:48 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:48 Europe/Berlin] isLoggedIn check result: true
[11-Dec-2025 18:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765471971
    [last_regeneration] => 1765471971
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765471971
    [session_started_at] => 2025-12-11 17:52:52
    [login_redirect_count] => 0
)

[11-Dec-2025 18:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[11-Dec-2025 18:05:48 Europe/Berlin] Session role: not set
[11-Dec-2025 18:05:48 Europe/Berlin] Session user_role: teacher
[11-Dec-2025 17:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[11-Dec-2025 17:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 03:09:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 03:09:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 03:09:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 03:09:23
)

[12-Dec-2025 03:09:23 Europe/Berlin] isLoggedIn check result: false
[12-Dec-2025 03:09:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 03:09:23
)

[12-Dec-2025 08:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:22:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 08:22:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
)

[12-Dec-2025 08:22:20 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
)

[12-Dec-2025 08:22:20 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
)

[12-Dec-2025 08:22:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:22:20 Europe/Berlin] Session role: not set
[12-Dec-2025 08:22:20 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:22:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:22:20 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 07:22:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 07:22:20 UTC] Found 0 videos for teacher 28
[12-Dec-2025 08:22:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:22:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 08:22:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:22 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:22 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:22:22 Europe/Berlin] Session role: not set
[12-Dec-2025 08:22:22 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:22:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:22:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 08:22:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:22:26 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 08:22:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:22:26 Europe/Berlin] Session role: not set
[12-Dec-2025 08:22:26 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:22:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:22:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:22:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 08:22:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:22:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524139
    [last_regeneration] => 1765524139
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524139
    [session_started_at] => 2025-12-12 08:22:20
    [login_redirect_count] => 0
)

[12-Dec-2025 08:22:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:22:26 Europe/Berlin] Session role: not set
[12-Dec-2025 08:22:26 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:22:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:22:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 08:25:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:25:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 08:25:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
)

[12-Dec-2025 08:25:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
)

[12-Dec-2025 08:25:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
)

[12-Dec-2025 08:25:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:25:45 Europe/Berlin] Session role: not set
[12-Dec-2025 08:25:45 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:25:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:25:45 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 07:25:45 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 07:25:45 UTC] Found 0 videos for teacher 28
[12-Dec-2025 08:25:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:25:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 08:25:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:25:46 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:25:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:25:46 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:25:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:25:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:25:46 Europe/Berlin] Session role: not set
[12-Dec-2025 08:25:46 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:25:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:25:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 08:26:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:26:11 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 08:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:26:11 Europe/Berlin] Session role: not set
[12-Dec-2025 08:26:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:26:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:26:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 08:26:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 08:26:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 08:26:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765524345
    [last_regeneration] => 1765524345
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765524345
    [session_started_at] => 2025-12-12 08:25:45
    [login_redirect_count] => 0
)

[12-Dec-2025 08:26:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 08:26:11 Europe/Berlin] Session role: not set
[12-Dec-2025 08:26:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 07:26:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 07:26:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:08:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:08:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 09:08:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
)

[12-Dec-2025 09:08:51 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
)

[12-Dec-2025 09:08:51 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
)

[12-Dec-2025 09:08:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:08:51 Europe/Berlin] Session role: not set
[12-Dec-2025 09:08:51 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:08:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:08:51 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 08:08:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 08:08:51 UTC] Found 0 videos for teacher 28
[12-Dec-2025 09:08:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:08:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:08:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:52 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:52 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:08:52 Europe/Berlin] Session role: not set
[12-Dec-2025 09:08:52 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:08:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:08:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:08:59 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 09:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:08:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:08:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:08:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:08:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:08:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:08:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:08:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:08:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:09:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:09:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:09:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:09:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:09:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:09:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:09:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:09:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:09:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:09:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:09:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:09:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:09:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:09:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:09:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:09:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:09:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:10:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:10:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:10:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:10:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:10:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:10:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:10:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:10:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:10:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:10:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:10:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:10:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:10:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:10:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:10:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:10:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:10:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:10:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:10:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:11:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:11:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:11:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:11:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:11:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:11:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:11:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:11:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:11:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:11:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:11:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:11:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:11:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:11:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:11:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:11:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:11:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:11:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:11:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:12:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:12:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:12:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:12:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:12:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:12:30 Europe/Berlin] Session role: not set
[12-Dec-2025 09:12:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:12:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:12:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:12:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:12:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:12:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:12:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:12:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:12:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:12:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:12:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:12:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:12:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:13:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:13:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:13:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:13:30 Europe/Berlin] Session role: not set
[12-Dec-2025 09:13:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:13:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:13:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:13:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:13:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:13:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:13:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:13:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:13:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:13:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:13:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:14:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:14:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:14:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:14:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:14:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:14:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:14:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:14:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:14:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:14:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:14:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:14:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:14:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:14:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:14:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:14:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:14:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:14:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:14:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:14:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:14:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:15:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:15:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:15:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:15:30 Europe/Berlin] Session role: not set
[12-Dec-2025 09:15:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:15:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:15:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:15:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:15:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:15:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:15:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:15:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:15:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:15:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:15:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:16:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:16:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:16:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:16:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:16:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:16:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:16:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:16:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:16:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:17:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:17:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:00 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:00 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:17:00 Europe/Berlin] Session role: not set
[12-Dec-2025 09:17:00 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:17:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:17:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:17:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:17:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:17:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:17:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:17:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:17:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:17:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:17:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:17:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:17:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:17:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:17:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:17:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:17:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:17:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:17:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:18:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:18:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:18:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:18:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:18:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:18:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:18:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:18:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:18:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:18:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:18:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:18:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:19:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:19:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:00 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:00 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:19:00 Europe/Berlin] Session role: not set
[12-Dec-2025 09:19:00 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:19:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:19:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:19:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:19:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:19:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:19:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:19:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:19:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:19:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:19:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:19:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:19:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:19:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:19:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:19:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:19:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:19:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:19:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:20:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:20:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:20:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:20:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:20:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:20:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:20:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:20:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:20:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:20:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:20:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:20:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:20:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:20:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:20:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:20:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:20:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:20:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:20:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:21:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:21:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:21:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:21:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:21:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:21:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:21:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:21:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:21:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:21:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:21:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:21:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:21:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:21:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:21:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:21:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:21:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:22:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:22:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:22:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:22:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:22:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:22:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:22:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:22:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:22:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:22:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:22:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:22:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:22:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:22:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:22:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:22:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:23:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:23:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:23:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:23:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:23:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:23:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:23:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:23:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:23:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:23:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:23:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:23:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:23:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:23:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:23:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:23:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:23:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:24:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:24:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:24:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:24:30 Europe/Berlin] Session role: not set
[12-Dec-2025 09:24:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:24:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:24:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:24:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:24:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:24:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:24:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:24:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:24:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:24:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:24:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:25:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:25:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:25:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:25:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:25:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:25:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:25:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:25:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:25:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:25:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:25:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:25:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:25:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:25:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:25:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:26:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:26:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:26:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:26:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:26:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:26:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:26:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:26:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:26:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:26:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:26:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:26:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:26:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:26:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:26:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:26:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:26:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:26:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:26:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:26:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:27:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:27:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:27:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:27:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:29 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:27:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:27:29 Europe/Berlin] Session role: not set
[12-Dec-2025 09:27:29 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:27:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:27:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:27:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:27:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:27:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:27:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:27:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:27:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:27:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:27:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:28:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:28:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:28:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:28:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:28:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:28:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:28:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:28:31 Europe/Berlin] Session role: not set
[12-Dec-2025 09:28:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:28:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:28:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:28:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:28:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:28:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:28:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:28:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:28:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:28:59 Europe/Berlin] Session role: not set
[12-Dec-2025 09:28:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:28:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:28:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:29:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:29:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:29:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:29:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:29:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:29:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:29:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:29:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:29:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:29:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:29:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:29:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:30:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:30:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:30:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:30:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:30:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:30:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:30:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:30:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:30:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:30:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:30:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:30:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:31:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:31:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:31:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:31:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:31:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:31:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:31:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:31:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:31:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:31:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:31:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:31:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:32:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:32:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:32:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:32:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:32:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:32:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:32:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:32:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:33:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:33:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:33:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:33:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:34:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:34:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:34:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:34:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:34:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:34:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:34:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:34:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:35:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:35:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:35:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:35:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:35:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:35:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:35:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:35:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:35:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:35:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:35:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:35:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:36:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:36:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:36:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:36:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:36:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:36:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:36:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:36:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:36:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:36:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:37:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:37:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:37:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:37:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:37:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:37:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:37:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:37:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:38:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:38:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:38:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:38:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:38:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:38:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:38:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:38:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:38:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:38:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:38:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:39:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:39:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:39:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:39:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:39:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:39:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:39:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:39:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:39:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:39:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:39:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:40:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:40:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:40:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:40:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:40:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:40:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:40:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:40:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:40:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:40:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:41:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:41:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:41:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:41:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:41:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:41:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:41:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:41:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:41:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:41:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:42:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:42:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:42:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:42:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:42:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:42:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:42:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:42:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:42:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:43:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:43:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:43:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:43:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:43:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:43:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:43:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:43:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:43:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:43:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:44:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:44:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:44:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:44:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:44:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:44:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:44:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:44:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:44:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:44:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:45:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:45:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:45:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:45:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:45:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:45:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:45:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:45:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:46:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:46:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:46:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:46:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:46:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:46:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:46:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:46:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:47:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:47:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:47:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:47:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:47:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:47:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:47:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:47:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:47:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:47:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:48:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:48:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:48:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:48:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:48:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:48:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:48:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:48:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:48:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:48:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:49:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:49:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:49:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:49:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:49:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:49:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:49:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:49:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:49:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:49:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:50:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:50:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:50:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:50:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:50:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:50:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:50:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:50:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:50:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:50:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:50:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:50:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:51:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:51:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:51:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:51:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:51:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:51:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:51:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:52:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:52:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:52:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:52:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:52:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:52:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:52:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:52:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:52:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:53:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:53:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:53:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:53:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:53:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:53:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:53:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:53:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:53:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:53:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:54:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:54:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:54:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:54:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:54:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:54:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:54:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:54:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:55:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:55:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:55:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:55:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:55:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:55:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:55:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:55:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:56:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:56:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:56:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:56:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:56:37 Europe/Berlin] Session role: not set
[12-Dec-2025 09:56:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:56:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:56:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:57:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:57:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:57:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:57:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:57:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:57:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:57:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:57:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:57:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:58:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:58:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:58:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:58:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:58:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:58:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:58:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:58:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 09:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 09:59:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 09:59:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 09:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 09:59:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 09:59:38 Europe/Berlin] Session role: not set
[12-Dec-2025 09:59:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 08:59:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 08:59:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:00:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:00:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:00:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:00:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:00:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:00:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:00:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:00:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:00:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:00:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:00:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:01:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:01:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:01:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:01:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:01:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:01:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:01:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:01:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:02:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:02:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:02:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:02:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:02:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:02:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:02:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:02:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:02:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:02:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:02:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:03:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:03:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:03:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:03:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:03:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:03:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:03:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:04:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:04:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:04:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:04:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:04:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:04:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:04:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:04:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:04:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:04:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:04:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:04:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:05:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:05:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:05:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:05:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:05:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:05:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:05:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:05:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:06:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:06:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:06:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:06:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:07:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:07:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:07:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:07:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:07:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:07:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:07:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:07:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:07:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:08:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:08:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:08:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:08:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:08:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:08:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:08:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:08:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:08:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:08:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:08:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:08:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:09:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:09:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:09:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:09:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:09:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:09:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:09:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:09:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:10:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:10:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:10:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:10:01 Europe/Berlin] Session role: not set
[12-Dec-2025 10:10:01 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:10:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:10:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:10:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:10:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:10:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:10:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:10:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:10:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:10:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:10:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:10:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:11:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:11:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:11:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:11:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:11:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:11:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:11:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:11:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:11:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:11:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:11:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:11:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:12:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:12:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:13:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:13:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:13:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:13:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:13:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:13:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:13:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:13:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:14:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:14:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:14:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:14:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:14:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:14:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:14:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:14:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:14:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:14:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:15:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:15:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:15:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:15:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:15:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:15:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:16:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:16:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:16:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:16:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:16:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:16:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:16:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:16:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:16:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:16:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:16:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:16:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:17:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:17:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:17:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:17:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:17:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:17:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:17:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:18:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:18:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:18:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:18:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:18:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:18:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:18:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:18:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:18:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:18:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:19:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:19:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:19:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:19:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:19:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:19:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:19:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:19:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:19:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:19:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:19:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:19:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:20:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:20:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:20:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:20:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:20:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:20:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:20:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:20:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:21:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:21:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:21:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:21:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:21:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:21:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:21:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:21:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:21:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:21:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:22:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:22:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:22:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:22:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:22:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:22:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:22:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:22:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:22:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:22:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:22:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:22:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:23:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:23:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:23:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:23:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:23:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:23:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:23:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:23:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:23:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:23:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:23:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:23:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:24:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:24:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:24:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:24:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:24:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:24:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:24:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:24:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:24:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:24:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:24:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:24:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:25:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:25:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:25:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:25:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:25:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:25:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:25:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:25:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:25:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:25:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:26:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:26:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:26:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:26:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:26:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:26:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:26:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:26:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:26:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:26:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:27:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:27:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:27:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:27:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:27:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:27:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:27:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:27:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:27:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:27:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:27:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:27:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:28:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:28:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:28:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:28:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:28:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:28:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:28:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:28:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:28:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:28:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:28:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:28:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:29:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:29:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:29:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:29:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:29:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:29:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:29:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:29:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:29:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:29:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:29:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:29:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:30:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:30:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:30:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:30:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:30:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:30:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:30:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:30:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:30:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:30:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:30:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:30:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:31:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:31:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:31:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:31:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:31:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:31:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:31:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:31:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:31:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:31:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:32:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:32:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:32:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:32:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:32:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:32:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:32:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:32:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:33:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:33:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:33:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:33:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:33:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:33:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:33:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:33:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:33:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:34:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:34:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:34:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:34:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:34:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:34:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:34:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:34:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:35:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:35:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:35:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:35:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:35:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:35:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:35:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:35:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:35:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:35:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:36:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:36:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:36:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:36:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:36:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:36:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:36:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:36:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:36:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:36:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:37:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:37:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:37:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:37:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:37:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:37:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:37:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:37:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:38:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:38:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:38:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:38:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:38:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:38:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:38:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:38:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:38:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:39:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:39:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:39:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:39:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:39:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:39:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:39:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:39:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:39:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:40:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:40:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:40:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:40:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:40:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:40:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:40:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:40:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:41:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:41:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:41:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:41:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:41:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:41:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:41:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:41:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:41:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:41:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:42:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:42:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:42:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:42:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:42:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:42:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:42:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:42:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:42:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:43:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:43:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:43:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:43:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:43:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:43:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:43:39 Europe/Berlin] Session role: not set
[12-Dec-2025 10:43:39 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:43:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:43:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:44:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:44:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:44:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:44:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:44:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:44:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:44:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:44:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:44:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:44:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:44:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:44:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:45:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:45:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:45:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:45:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:45:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:45:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:45:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:45:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:46:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:46:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:46:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:46:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:46:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:46:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:46:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:46:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:47:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:47:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:47:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:47:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:47:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:47:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:47:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:47:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:47:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:47:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:48:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:48:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:48:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:48:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:48:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:48:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:48:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:48:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:48:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:48:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:48:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:49:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:49:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:49:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:49:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:49:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:49:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:49:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:49:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:49:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:49:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:50:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:50:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:50:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:50:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:50:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:50:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:50:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:50:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:50:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:50:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:51:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:51:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:51:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:51:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:51:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:51:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:51:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:51:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:51:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:51:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:52:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:52:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:52:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:52:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:52:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:52:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:52:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:52:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:52:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:53:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:53:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:53:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:53:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:53:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:53:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:53:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:53:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:53:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:53:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:54:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:54:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:54:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:54:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:54:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:54:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:54:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:54:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:55:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:55:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:55:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:55:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:55:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:55:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:55:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:55:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:56:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:56:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:56:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:56:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:56:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:56:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:56:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:56:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:57:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:57:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:57:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:57:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:57:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:57:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:57:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:57:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:57:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:57:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:57:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:57:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:58:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:58:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:58:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:58:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:58:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:58:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:58:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:58:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:58:37 Europe/Berlin] Session role: not set
[12-Dec-2025 10:58:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:58:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:58:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 10:59:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 10:59:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 10:59:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 10:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 10:59:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 10:59:38 Europe/Berlin] Session role: not set
[12-Dec-2025 10:59:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 09:59:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 09:59:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:00:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:00:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:00:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:00:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:00:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:00:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:00:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:00:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:00:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:00:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:00:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:00:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:01:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:01:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:01:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:01:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:01:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:01:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:01:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:01:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:01:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:01:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:01:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:01:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:02:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:02:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:02:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:02:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:02:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:02:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:02:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:03:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:03:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:03:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:03:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:03:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:03:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:03:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:03:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:03:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:03:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:04:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:04:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:04:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:04:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:04:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:04:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:04:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:04:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:04:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:04:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:05:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:05:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:05:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:05:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:05:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:05:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:05:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:05:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:06:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:06:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:06:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:07:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:07:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:07:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:07:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:07:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:07:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:07:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:07:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:08:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:08:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:08:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:08:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:08:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:08:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:08:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:08:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:08:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:08:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:09:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:09:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:09:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:09:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:09:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:09:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:09:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:09:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:10:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:10:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:10:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:10:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:10:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:10:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:10:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:10:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:10:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:11:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:11:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:11:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:11:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:11:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:11:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:11:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:11:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:11:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:11:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:12:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:12:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:13:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:13:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:13:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:13:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:13:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:13:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:13:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:13:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:14:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:14:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:14:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:14:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:14:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:14:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:14:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:14:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:14:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:14:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:15:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:15:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:15:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:15:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:15:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:15:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:16:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:16:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:16:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:16:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:16:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:16:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:16:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:16:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:16:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:16:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:16:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:16:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:17:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:17:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:17:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:17:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:17:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:17:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:17:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:18:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:18:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:18:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:18:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:18:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:18:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:18:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:18:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:18:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:18:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:19:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:19:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:19:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:19:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:19:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:19:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:19:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:19:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:19:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:19:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:19:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:19:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:20:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:20:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:20:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:20:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:20:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:20:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:20:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:20:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:21:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:21:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:21:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:21:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:21:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:21:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:21:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:21:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:21:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:21:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:22:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:22:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:22:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:22:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:22:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:22:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:22:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:22:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:22:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:22:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:22:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:22:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:23:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:23:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:23:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:23:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:23:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:23:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:23:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:23:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:23:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:23:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:23:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:23:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:24:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:24:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:24:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:24:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:24:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:24:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:24:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:24:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:24:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:24:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:25:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:25:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:25:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:25:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:25:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:25:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:25:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:25:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:25:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:25:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:25:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:25:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:26:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:26:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:26:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:26:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:26:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:26:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:26:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:26:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:26:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:26:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:27:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:27:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:27:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:27:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:27:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:27:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:27:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:27:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:27:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:27:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:27:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:27:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:28:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:28:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:28:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:28:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:28:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:28:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:28:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:28:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:28:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:28:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:28:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:28:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:29:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:29:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:29:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:29:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:29:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:29:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:29:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:29:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:29:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:29:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:29:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:29:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:30:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:30:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:30:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:30:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:30:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:30:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:30:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:30:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:30:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:30:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:31:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:31:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:31:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:31:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:31:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:31:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:31:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:31:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:31:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:31:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:31:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:32:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:32:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:32:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:32:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:32:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:32:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:32:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:32:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:32:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:32:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:33:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:33:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:33:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:33:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:33:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:33:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:33:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:33:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:34:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:34:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:34:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:34:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:34:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:34:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:34:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:34:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:34:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:35:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:35:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:35:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:35:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:35:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:35:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:35:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:35:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:35:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:35:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:35:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:35:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:36:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:36:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:36:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:36:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:36:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:36:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:36:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:36:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:36:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:36:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:36:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:36:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:37:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:37:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:37:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:37:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:37:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:37:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:37:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:37:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:37:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:37:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:38:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:38:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:38:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:38:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:38:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:38:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:38:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:38:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:38:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:39:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:39:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:39:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:39:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:39:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:39:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:39:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:39:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:39:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:39:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:39:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:40:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:40:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:40:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:40:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:40:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:40:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:40:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:40:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:40:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:40:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:40:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:41:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:41:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:41:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:41:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:41:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:41:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:41:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:41:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:41:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:41:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:42:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:42:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:42:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:42:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:42:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:42:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:42:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:42:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:42:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:43:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:43:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:43:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:43:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:43:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:43:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:43:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:43:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:43:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:43:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:44:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:44:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:44:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:44:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:44:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:44:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:44:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:44:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:44:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:44:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:45:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:45:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:45:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:45:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:45:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:45:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:45:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:45:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:45:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:45:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:46:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:46:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:46:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:46:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:46:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:46:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:46:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:46:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:46:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:46:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:47:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:47:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:47:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:47:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:47:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:47:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:47:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:47:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:47:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:47:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:47:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:47:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:48:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:48:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:48:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:48:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:48:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:48:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:48:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:48:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:48:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:48:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:48:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:48:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:49:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:49:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:49:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:49:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:49:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:49:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:49:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:49:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:49:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:49:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:49:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:49:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:50:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:50:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:50:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:50:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:50:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:50:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:50:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:50:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:50:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:50:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:50:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:50:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:51:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:51:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:51:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:51:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:51:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:51:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:51:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:52:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:52:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:52:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:52:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:52:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:52:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:52:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:52:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:52:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:52:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:52:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:52:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:53:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:53:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:53:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:53:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:53:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:53:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:53:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:53:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:53:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:53:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:54:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:54:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:54:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:54:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:54:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:54:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:54:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:54:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:54:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:55:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:55:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:55:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:55:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:55:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:55:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:55:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:55:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:55:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:56:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:56:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:56:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:56:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:56:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:56:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:56:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:56:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:56:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:57:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:57:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:57:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:57:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:57:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:57:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:57:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:57:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:57:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:57:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:57:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:57:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:58:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:58:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:58:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:58:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:58:38 Europe/Berlin] Session role: not set
[12-Dec-2025 11:58:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:58:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:58:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 11:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 11:59:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 11:59:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:59:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:59:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 11:59:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 11:59:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 11:59:37 Europe/Berlin] Session role: not set
[12-Dec-2025 11:59:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 10:59:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 10:59:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:00:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:00:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:00:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:00:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:00:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:00:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:00:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:00:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:00:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:01:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:01:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:01:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:01:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:01:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:01:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:01:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:01:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:02:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:02:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:02:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:02:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:02:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:02:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:02:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:03:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:03:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:03:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:03:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:03:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:03:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:03:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:04:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:04:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:04:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:04:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:04:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:04:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:04:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:04:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:04:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:04:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:04:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:05:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:05:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:05:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:05:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:05:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:05:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:05:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:05:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:05:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:05:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:06:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:06:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:06:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:06:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:06:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:07:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:07:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:07:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:07:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:07:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:07:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:07:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:07:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:07:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:07:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:08:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:08:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:08:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:08:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:08:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:08:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:08:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:08:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:08:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:08:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:08:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:08:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:09:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:09:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:09:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:09:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:09:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:09:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:09:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:09:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:09:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:09:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:10:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:10:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:10:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:10:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:10:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:10:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:10:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:10:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:10:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:11:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:11:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:11:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:11:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:11:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:11:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:11:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:11:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:11:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:11:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:12:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:12:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:12:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:13:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:13:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:13:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:13:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:13:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:13:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:13:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:13:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:13:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:14:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:14:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:14:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:14:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:14:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:14:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:14:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:14:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:14:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:14:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:15:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:15:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:15:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:15:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:15:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:15:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:15:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:16:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:16:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:16:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:16:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:16:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:16:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:16:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:16:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:16:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:16:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:17:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:17:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:17:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:17:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:17:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:17:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:17:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:17:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:18:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:18:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:18:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:18:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:18:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:18:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:18:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:18:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:18:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:18:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:19:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:19:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:19:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:19:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:19:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:19:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:19:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:19:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:19:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:19:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:19:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:19:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:20:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:20:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:20:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:20:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:20:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:20:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:20:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:20:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:21:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:21:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:21:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:21:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:21:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:21:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:21:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:21:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:21:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:21:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:21:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:21:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:22:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:22:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:22:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:22:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:22:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:22:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:22:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:22:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:22:38 Europe/Berlin] Session role: not set
[12-Dec-2025 12:22:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:22:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:22:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:23:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:23:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:23:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:23:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:23:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:23:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:23:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:23:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:23:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:23:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:23:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:23:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:24:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:24:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:24:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:24:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:24:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:24:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:24:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:24:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:24:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:24:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 12:25:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 12:25:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 12:25:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:25:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:25:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:25:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 12:25:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765526931
    [last_regeneration] => 1765526931
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765526931
    [session_started_at] => 2025-12-12 09:08:51
    [login_redirect_count] => 0
)

[12-Dec-2025 12:25:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 12:25:37 Europe/Berlin] Session role: not set
[12-Dec-2025 12:25:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 11:25:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 11:25:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 16:27:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 16:27:08 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 16:27:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
)

[12-Dec-2025 16:27:08 Europe/Berlin] isLoggedIn check result: false
[12-Dec-2025 16:27:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
)

[12-Dec-2025 17:02:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:02:51 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 17:02:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 1
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:51 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:02:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 1
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:51 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:02:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 1
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:02:51 Europe/Berlin] Session role: not set
[12-Dec-2025 17:02:51 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:02:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:02:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:02:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:02:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:53 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:02:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:53 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:02:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:02:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:02:53 Europe/Berlin] Session role: not set
[12-Dec-2025 17:02:53 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:02:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:02:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:03:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:03:05 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:03:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:05 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:05 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:03:05 Europe/Berlin] Session role: not set
[12-Dec-2025 17:03:05 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:03:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:03:05 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:03:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:03:05 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:03:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:03:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:03:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:03:06 Europe/Berlin] Session role: not set
[12-Dec-2025 17:03:06 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:03:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:03:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:03:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:03:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:03:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:36 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:36 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:03:36 Europe/Berlin] Session role: not set
[12-Dec-2025 17:03:36 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:03:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:03:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:03:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:03:38 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 17:03:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:03:38 Europe/Berlin] Session role: not set
[12-Dec-2025 17:03:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:03:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:03:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:03:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:03:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:03:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:03:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:03:39 Europe/Berlin] Session role: not set
[12-Dec-2025 17:03:39 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:03:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:03:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:04:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:04:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:04:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:09 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:09 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:04:09 Europe/Berlin] Session role: not set
[12-Dec-2025 17:04:09 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:04:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:04:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:04:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:04:11 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Dec-2025 17:04:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:04:11 Europe/Berlin] Session role: not set
[12-Dec-2025 17:04:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:04:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:04:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:04:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:04:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:12 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:12 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:04:12 Europe/Berlin] Session role: not set
[12-Dec-2025 17:04:12 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:04:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:04:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:04:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:04:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:04:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:04:30 Europe/Berlin] Session role: not set
[12-Dec-2025 17:04:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:04:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:04:30 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:04:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:04:30 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:04:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:04:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:04:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:04:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:04:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:04:31 Europe/Berlin] Session role: not set
[12-Dec-2025 17:04:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:04:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:04:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:05:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:05:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:05:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:05:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:05:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:05:01 Europe/Berlin] Session role: not set
[12-Dec-2025 17:05:01 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:05:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:05:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:05:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:05:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:05:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:05:31 Europe/Berlin] Session role: not set
[12-Dec-2025 17:05:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:05:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:05:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:06:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:06:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:06:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:06:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:06:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:06:02 Europe/Berlin] Session role: not set
[12-Dec-2025 17:06:02 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:06:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:06:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:06:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:06:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:06:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:06:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:06:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:06:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:06:32 Europe/Berlin] Session role: not set
[12-Dec-2025 17:06:32 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:06:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:06:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:07:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:07:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:07:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:07:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:07:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:07:01 Europe/Berlin] Session role: not set
[12-Dec-2025 17:07:01 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:07:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:07:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:07:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:07:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:07:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:07:31 Europe/Berlin] Session role: not set
[12-Dec-2025 17:07:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:07:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:07:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:08:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:08:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:08:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:08:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:08:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:08:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:08:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:08:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:08:02 Europe/Berlin] Session role: not set
[12-Dec-2025 17:08:02 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:08:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:08:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:09:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:09:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:09:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:04 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:09:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:04 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:09:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:09:04 Europe/Berlin] Session role: not set
[12-Dec-2025 17:09:04 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:09:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:09:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:09:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:09:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:09:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:09:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:09:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:09:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:09:45 Europe/Berlin] Session role: not set
[12-Dec-2025 17:09:45 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:09:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:09:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:10:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:10:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:10:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:10:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:10:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:10:01 Europe/Berlin] Session role: not set
[12-Dec-2025 17:10:01 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:10:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:10:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:10:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:10:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:10:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:10:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:10:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:10:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:10:31 Europe/Berlin] Session role: not set
[12-Dec-2025 17:10:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:10:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:10:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:11:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:11:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:11:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:11:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:11:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:11:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:11:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:11:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:11:17 Europe/Berlin] Session role: not set
[12-Dec-2025 17:11:17 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:11:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:11:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:12:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:12:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:12:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:12:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:12:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:12:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:12:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:12:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:12:16 Europe/Berlin] Session role: not set
[12-Dec-2025 17:12:16 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:12:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:12:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:13:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:13:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:16 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:16 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:13:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:13:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:13:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:47 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:47 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:47 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:47 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:13:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:48 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:48 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:13:48 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:13:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:13:48 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:13:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:13:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:50 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:50 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:50 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:50 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:13:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:13:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:59 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 17:13:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:59 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:13:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:13:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:13:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:13:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:13:59 Europe/Berlin] Session role: not set
[12-Dec-2025 17:13:59 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:13:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:13:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:14:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[12-Dec-2025 17:14:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:06 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:06 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:14:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:14:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:07 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:07 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-12 16:27:08
    [login_redirect_count] => 0
    [last_page] => /teacher/referrals.php
    [created_at] => 1765555366
    [last_regeneration] => 1765555366
    [stored_redirect] => /teacher/referrals.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765555366
)

[12-Dec-2025 17:14:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:07 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:07 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:14:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
)

[12-Dec-2025 17:14:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
)

[12-Dec-2025 17:14:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
)

[12-Dec-2025 17:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:30 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:14:30 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:14:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:14:30 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:30 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:30 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:30 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:14:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[12-Dec-2025 17:14:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:33 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:14:33 UTC] DB Connection Status: Connected
[12-Dec-2025 16:14:33 UTC] User with ID 28 found
[12-Dec-2025 16:14:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Dec-2025 17:14:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:14:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:14:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556069
    [last_regeneration] => 1765556069
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556069
    [session_started_at] => 2025-12-12 17:14:30
    [login_redirect_count] => 0
)

[12-Dec-2025 17:14:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:14:33 Europe/Berlin] Session role: not set
[12-Dec-2025 17:14:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:14:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:14:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:18:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:18 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:18:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
)

[12-Dec-2025 17:18:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
)

[12-Dec-2025 17:18:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
)

[12-Dec-2025 17:18:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:18 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:18 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:18:18 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:18:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:18:18 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:18:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:18:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:18 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:18 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:18:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:18:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:24 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[12-Dec-2025 17:18:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:24 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:24 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:24 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:24 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:18:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:18:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:25 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:25 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:25 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:25 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:18:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:18:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:18:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:40 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:18:40 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:18:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:18:40 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:18:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:18:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:18:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:18:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556297
    [last_regeneration] => 1765556297
    [session_started_at] => 2025-12-12 17:16:00
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556297
    [login_redirect_count] => 0
)

[12-Dec-2025 17:18:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:18:40 Europe/Berlin] Session role: not set
[12-Dec-2025 17:18:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:18:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:18:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:20:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:31 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 17:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
)

[12-Dec-2025 17:20:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
)

[12-Dec-2025 17:20:31 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
)

[12-Dec-2025 17:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:31 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:31 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:20:31 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 16:20:31 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 16:20:31 UTC] Found 0 videos for teacher 28
[12-Dec-2025 17:20:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:20:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:32 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:32 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:20:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:20:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[12-Dec-2025 17:20:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:36 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:36 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:36 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:36 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:20:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Dec-2025 17:20:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:20:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:37 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:37 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:37 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:20:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:20:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:39 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[12-Dec-2025 17:20:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:39 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:39 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:39 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:20:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:20:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:20:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:20:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:20:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:20:40 Europe/Berlin] Session role: not set
[12-Dec-2025 17:20:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:20:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:20:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:21:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:21:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:21:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:21:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:21:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:21:11 Europe/Berlin] Session role: not set
[12-Dec-2025 17:21:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:21:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:21:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:21:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:21:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:21:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:21:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:21:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:21:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:21:41 Europe/Berlin] Session role: not set
[12-Dec-2025 17:21:41 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:21:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:21:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:22:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:22:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:22:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:10 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:10 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:22:10 Europe/Berlin] Session role: not set
[12-Dec-2025 17:22:10 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:22:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:22:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:22:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:22:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:22:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:22:40 Europe/Berlin] Session role: not set
[12-Dec-2025 17:22:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:22:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:22:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 USER ID: NOT SET
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 USER ROLE: NOT SET
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 SESSION STATUS: 1
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 SESSION ID: 
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[12-Dec-2025 17:22:45 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 28
    [video_url] => https://youtu.be/dZREfVaIkl8?si=4EH_IFkvcoDzbwD_
    [detected_platform] => youtube
    [video_id_external] => dZREfVaIkl8
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/dZREfVaIkl8?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:57
    [video_type] => url
    [manual_duration] => 
    [title] => TrackDuck web feedback tool explained in 1min
    [course_id] => 14
    [description] => Welcome to Web development
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[12-Dec-2025 17:22:45 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[12-Dec-2025 17:22:45 Europe/Berlin] 📥 REQUEST METHOD: POST
[12-Dec-2025 17:22:45 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[12-Dec-2025 17:22:45 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[12-Dec-2025 17:22:45 Europe/Berlin] 📋 ALL POST DATA:
[12-Dec-2025 17:22:45 Europe/Berlin]   form_type: video_upload
[12-Dec-2025 17:22:45 Europe/Berlin]   teacher_id: 28
[12-Dec-2025 17:22:45 Europe/Berlin]   video_url: https://youtu.be/dZREfVaIkl8?si=4EH_IFkvcoDzbwD_
[12-Dec-2025 17:22:45 Europe/Berlin]   detected_platform: youtube
[12-Dec-2025 17:22:45 Europe/Berlin]   video_id_external: dZREfVaIkl8
[12-Dec-2025 17:22:45 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/dZREfVaIkl8?rel=0&showinfo=0&mo...
[12-Dec-2025 17:22:45 Europe/Berlin]   detected_duration: 0:57
[12-Dec-2025 17:22:45 Europe/Berlin]   video_type: url
[12-Dec-2025 17:22:45 Europe/Berlin]   manual_duration: 
[12-Dec-2025 17:22:45 Europe/Berlin]   title: TrackDuck web feedback tool explained in 1min
[12-Dec-2025 17:22:45 Europe/Berlin]   course_id: 14
[12-Dec-2025 17:22:45 Europe/Berlin]   description: Welcome to Web development
[12-Dec-2025 17:22:45 Europe/Berlin]   category_name: Data Science
[12-Dec-2025 17:22:45 Europe/Berlin]   is_published: 1
[12-Dec-2025 17:22:45 Europe/Berlin]   content_types: [quiz]
[12-Dec-2025 17:22:45 Europe/Berlin]   ajax: 1
[12-Dec-2025 17:22:45 Europe/Berlin] 📂 ALL FILES DATA:
[12-Dec-2025 17:22:45 Europe/Berlin]   video:  (0 bytes, error: 4)
[12-Dec-2025 17:22:45 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[12-Dec-2025 17:22:45 Europe/Berlin]   video_type: url
[12-Dec-2025 17:22:45 Europe/Berlin]   video_url: https://youtu.be/dZREfVaIkl8?si=4EH_IFkvcoDzbwD_
[12-Dec-2025 17:22:45 Europe/Berlin]   detected_platform: youtube
[12-Dec-2025 17:22:45 Europe/Berlin]   video_id_external: dZREfVaIkl8
[12-Dec-2025 17:22:45 Europe/Berlin]   embed_code: HAS_VALUE
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[12-Dec-2025 17:22:45 Europe/Berlin]   video_type: url
[12-Dec-2025 17:22:45 Europe/Berlin]   $_FILES available: YES
[12-Dec-2025 17:22:45 Europe/Berlin]   $_FILES keys: video, thumbnail
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[12-Dec-2025 17:22:45 Europe/Berlin]   platform: youtube
[12-Dec-2025 17:22:45 Europe/Berlin]   video_id_ext: dZREfVaIkl8
[12-Dec-2025 17:22:45 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/dZREfVaIkl8/maxresdefault.jpg
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[12-Dec-2025 17:22:45 Europe/Berlin]   detected_duration: 0:57
[12-Dec-2025 17:22:45 Europe/Berlin]   manual_duration: 
[12-Dec-2025 17:22:45 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[12-Dec-2025 17:22:45 Europe/Berlin] 🎯 FOUND detected_duration field: 0:57
[12-Dec-2025 17:22:45 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:57
[12-Dec-2025 17:22:45 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[12-Dec-2025 17:22:45 Europe/Berlin]   teacher_id: 14
[12-Dec-2025 17:22:45 Europe/Berlin]   course_id: 14
[12-Dec-2025 17:22:45 Europe/Berlin]   title: TrackDuck web feedback tool explained in 1min
[12-Dec-2025 17:22:45 Europe/Berlin]   description: Welcome to Web development
[12-Dec-2025 17:22:45 Europe/Berlin]   video_type: url
[12-Dec-2025 17:22:45 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/dZREfVaIkl8/maxresdefault.jpg
[12-Dec-2025 17:22:45 Europe/Berlin]   external_url: https://youtu.be/dZREfVaIkl8?si=4EH_IFkvcoDzbwD_
[12-Dec-2025 17:22:45 Europe/Berlin]   platform: youtube
[12-Dec-2025 17:22:45 Europe/Berlin]   video_id_ext: dZREfVaIkl8
[12-Dec-2025 17:22:45 Europe/Berlin]   duration: 0:57
[12-Dec-2025 17:22:45 Europe/Berlin]   is_published: 1
[12-Dec-2025 17:22:45 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[12-Dec-2025 17:22:45 Europe/Berlin]   SQL prepared successfully
[12-Dec-2025 17:22:45 Europe/Berlin]   About to execute with bound parameters
[12-Dec-2025 17:22:45 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[12-Dec-2025 17:22:45 Europe/Berlin]   Generated video_id: 30
[12-Dec-2025 17:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:22:48 Europe/Berlin] Teacher Auth Check - Script: videos.php
[12-Dec-2025 17:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:22:48 Europe/Berlin] Session role: not set
[12-Dec-2025 17:22:48 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:22:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:22:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:22:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:49 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:49 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:22:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:22:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:22:49 Europe/Berlin] Session role: not set
[12-Dec-2025 17:22:49 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:22:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:23:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:23:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:23:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:19 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:19 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:23:19 Europe/Berlin] Session role: not set
[12-Dec-2025 17:23:19 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:23:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:23:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:23:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:23:45 Europe/Berlin] Teacher Auth Check - Script: videos.php
[12-Dec-2025 17:23:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:23:45 Europe/Berlin] Session role: not set
[12-Dec-2025 17:23:45 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:23:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:23:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:23:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:23:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:23:45 Europe/Berlin] Session role: not set
[12-Dec-2025 17:23:45 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:23:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:23:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 17:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:23:48 Europe/Berlin] Teacher Auth Check - Script: videos.php
[12-Dec-2025 17:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:23:48 Europe/Berlin] Session role: not set
[12-Dec-2025 17:23:48 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 17:23:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 17:23:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 17:23:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:49 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:49 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 17:23:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765556430
    [last_regeneration] => 1765556430
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765556430
    [session_started_at] => 2025-12-12 17:20:31
    [login_redirect_count] => 0
)

[12-Dec-2025 17:23:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 17:23:49 Europe/Berlin] Session role: not set
[12-Dec-2025 17:23:49 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 16:23:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 16:23:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 22:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
)

[12-Dec-2025 22:53:23 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
)

[12-Dec-2025 22:53:23 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
)

[12-Dec-2025 22:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:23 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:23 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:53:24 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 21:53:24 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 21:53:24 UTC] Found 0 videos for teacher 28
[12-Dec-2025 22:53:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:53:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:25 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:25 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:25 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:25 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:53:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:53:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:27 Europe/Berlin] Teacher Auth Check - Script: courses.php
[12-Dec-2025 22:53:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:27 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:27 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:27 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:27 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:53:27 UTC] DB Connection Status: Connected
[12-Dec-2025 21:53:27 UTC] User with ID 28 found
[12-Dec-2025 21:53:27 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Dec-2025 22:53:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:53:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:28 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:28 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:28 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:28 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:53:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:53:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[12-Dec-2025 22:53:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:32 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:32 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:53:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:53:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:53:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:53:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:53:33 Europe/Berlin] Session role: not set
[12-Dec-2025 22:53:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:53:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:53:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:54:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:54:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:54:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:54:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:54:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:54:03 Europe/Berlin] Session role: not set
[12-Dec-2025 22:54:03 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:54:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:54:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:54:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:54:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:54:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:54:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:54:33 Europe/Berlin] Session role: not set
[12-Dec-2025 22:54:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:54:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:54:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:55:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:55:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:55:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:55:03 Europe/Berlin] Session role: not set
[12-Dec-2025 22:55:03 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:55:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:55:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:55:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:55:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:55:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:55:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:55:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:55:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:55:33 Europe/Berlin] Session role: not set
[12-Dec-2025 22:55:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:55:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:55:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:56:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:56:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:56:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:56:03 Europe/Berlin] Session role: not set
[12-Dec-2025 22:56:03 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:56:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:56:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:56:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:56:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:56:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:56:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:56:33 Europe/Berlin] Session role: not set
[12-Dec-2025 22:56:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:56:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:56:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:57:03 Europe/Berlin] Session role: not set
[12-Dec-2025 22:57:03 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:57:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:57:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:57:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:57:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:57:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:57:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:57:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:57:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:57:33 Europe/Berlin] Session role: not set
[12-Dec-2025 22:57:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:57:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:57:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:58:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:58:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:58:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:03 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:58:03 Europe/Berlin] Session role: not set
[12-Dec-2025 22:58:03 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:58:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:58:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:58:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:58:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:58:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:58:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:58:38 Europe/Berlin] Session role: not set
[12-Dec-2025 22:58:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:58:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:58:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:59:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:59:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:59:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:59:16 Europe/Berlin] Session role: not set
[12-Dec-2025 22:59:16 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:59:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:59:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:59:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:59:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:59:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:38 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:59:38 Europe/Berlin] Session role: not set
[12-Dec-2025 22:59:38 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:59:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:59:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 22:59:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:59:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[12-Dec-2025 22:59:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:59:40 Europe/Berlin] Session role: not set
[12-Dec-2025 22:59:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:59:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:59:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:59:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 22:59:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 22:59:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:59:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:59:40 Europe/Berlin] Session role: not set
[12-Dec-2025 22:59:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 21:59:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 21:59:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:00:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:00:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:00:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:00:11 Europe/Berlin] Session role: not set
[12-Dec-2025 23:00:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:00:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:00:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:00:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:00:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:00:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:00:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:00:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:00:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:00:41 Europe/Berlin] Session role: not set
[12-Dec-2025 23:00:41 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:00:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:00:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:01:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:01:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:01:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:01:11 Europe/Berlin] Session role: not set
[12-Dec-2025 23:01:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:01:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:01:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:01:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:01:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:01:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:01:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:01:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:01:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:01:41 Europe/Berlin] Session role: not set
[12-Dec-2025 23:01:41 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:01:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:01:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:02:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:02:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:02:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:02:11 Europe/Berlin] Session role: not set
[12-Dec-2025 23:02:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:02:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:02:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:02:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:02:33 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[12-Dec-2025 23:02:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:02:33 Europe/Berlin] Session role: not set
[12-Dec-2025 23:02:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:02:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:02:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:02:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:02:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:02:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:02:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:02:33 Europe/Berlin] Session role: not set
[12-Dec-2025 23:02:33 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:02:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:02:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:03:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:03:01 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[12-Dec-2025 23:03:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:01 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:03:01 Europe/Berlin] Session role: not set
[12-Dec-2025 23:03:01 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:03:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:03:01 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Dec-2025 23:03:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:03:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:03:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:02 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:03:02 Europe/Berlin] Session role: not set
[12-Dec-2025 23:03:02 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:03:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:03:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:03:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:03:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:03:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:32 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:03:32 Europe/Berlin] Session role: not set
[12-Dec-2025 23:03:32 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:03:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:03:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:03:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 22:03:34 UTC] Teacher Auth Check - Script: library_submissions.php
[12-Dec-2025 22:03:34 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:03:34 UTC] isLoggedIn check result: true
[12-Dec-2025 22:03:34 UTC] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:03:34 UTC] isLoggedIn check result: true
[12-Dec-2025 22:03:34 UTC] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 22:03:34 UTC] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 22:03:34 UTC] Session role: not set
[12-Dec-2025 22:03:34 UTC] Session user_role: teacher
[12-Dec-2025 22:03:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:03:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:03:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:03:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:34 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:34 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:03:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765576402
    [last_regeneration] => 1765576402
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765576402
    [session_started_at] => 2025-12-12 22:53:23
    [login_redirect_count] => 0
)

[12-Dec-2025 23:03:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:03:34 Europe/Berlin] Session role: not set
[12-Dec-2025 23:03:34 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:03:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:03:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:18:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:18:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[12-Dec-2025 23:18:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
)

[12-Dec-2025 23:18:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
)

[12-Dec-2025 23:18:06 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
)

[12-Dec-2025 23:18:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:18:06 Europe/Berlin] Session role: not set
[12-Dec-2025 23:18:06 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:18:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:18:06 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 22:18:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 22:18:06 UTC] Found 0 videos for teacher 28
[12-Dec-2025 23:18:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:18:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:18:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:07 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:07 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:18:07 Europe/Berlin] Session role: not set
[12-Dec-2025 23:18:07 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:18:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:18:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:18:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:18:15 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[12-Dec-2025 23:18:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:15 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:15 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:18:15 Europe/Berlin] Session role: not set
[12-Dec-2025 23:18:15 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:18:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:18:15 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[12-Dec-2025 23:18:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:18:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:18:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:18:16 Europe/Berlin] Session role: not set
[12-Dec-2025 23:18:16 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:18:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:18:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:18:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:18:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:18:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:46 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:46 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:18:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:18:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:18:46 Europe/Berlin] Session role: not set
[12-Dec-2025 23:18:46 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:18:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:18:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:19:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:19:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:19:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:16 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:19:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:19:16 Europe/Berlin] Session role: not set
[12-Dec-2025 23:19:16 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:19:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:19:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:19:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:48 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:19:48 Europe/Berlin] Session role: not set
[12-Dec-2025 23:19:48 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:20:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:20:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:20:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:20:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:20:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:20:17 Europe/Berlin] Session role: not set
[12-Dec-2025 23:20:17 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:20:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:20:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:20:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:20:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:20:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:20:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:20:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:20:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:20:47 Europe/Berlin] Session role: not set
[12-Dec-2025 23:20:47 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:20:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:20:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:21:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:21:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:21:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:21:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:17 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:21:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:21:17 Europe/Berlin] Session role: not set
[12-Dec-2025 23:21:17 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:21:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:21:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:21:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:21:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:21:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:21:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:47 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:21:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:21:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:21:47 Europe/Berlin] Session role: not set
[12-Dec-2025 23:21:47 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:21:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:21:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:22:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:22:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:22:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:22:50 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:22:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:22:50 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:22:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:22:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:22:50 Europe/Berlin] Session role: not set
[12-Dec-2025 23:22:50 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:22:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:22:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:23:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:23:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:23:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:18 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:23:18 Europe/Berlin] Session role: not set
[12-Dec-2025 23:23:18 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:23:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:23:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:23:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:23:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[12-Dec-2025 23:23:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:40 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:23:40 Europe/Berlin] Session role: not set
[12-Dec-2025 23:23:40 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:23:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:23:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:23:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:23:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:41 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:23:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:23:41 Europe/Berlin] Session role: not set
[12-Dec-2025 23:23:41 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:23:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:23:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[12-Dec-2025 23:24:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[12-Dec-2025 23:24:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[12-Dec-2025 23:24:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:24:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:24:11 Europe/Berlin] isLoggedIn check result: true
[12-Dec-2025 23:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765577886
    [last_regeneration] => 1765577886
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765577886
    [session_started_at] => 2025-12-12 23:18:06
    [login_redirect_count] => 0
)

[12-Dec-2025 23:24:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[12-Dec-2025 23:24:11 Europe/Berlin] Session role: not set
[12-Dec-2025 23:24:11 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 22:24:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 22:24:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:22:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:22:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 00:22:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
)

[13-Dec-2025 00:22:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
)

[13-Dec-2025 00:22:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
)

[13-Dec-2025 00:22:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:22:14 Europe/Berlin] Session role: not set
[13-Dec-2025 00:22:14 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:22:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:22:14 UTC] Fetching videos for teacher_id: 28
[12-Dec-2025 23:22:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[12-Dec-2025 23:22:14 UTC] Found 0 videos for teacher 28
[13-Dec-2025 00:22:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:22:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:22:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:22:19 Europe/Berlin] Session role: not set
[13-Dec-2025 00:22:19 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:22:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:22:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:22:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:22:24 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 00:22:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:22:24 Europe/Berlin] Session role: not set
[13-Dec-2025 00:22:24 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:22:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:22:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:22:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:22:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:22:25 Europe/Berlin] Session role: not set
[13-Dec-2025 00:22:25 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:22:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:22:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:22:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:22:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:22:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:22:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:22:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:22:55 Europe/Berlin] Session role: not set
[13-Dec-2025 00:22:55 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:22:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:22:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:23:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:23:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:23:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:23:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:23:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:23:25 Europe/Berlin] Session role: not set
[13-Dec-2025 00:23:25 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:23:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:23:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:23:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:23:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:23:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:23:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:23:55 Europe/Berlin] Session role: not set
[13-Dec-2025 00:23:55 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:23:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:23:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 00:24:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 00:24:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 00:24:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:24:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:24:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:24:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 00:24:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765581733
    [last_regeneration] => 1765581733
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765581733
    [session_started_at] => 2025-12-13 00:22:14
    [login_redirect_count] => 0
)

[13-Dec-2025 00:24:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 00:24:25 Europe/Berlin] Session role: not set
[13-Dec-2025 00:24:25 Europe/Berlin] Session user_role: teacher
[12-Dec-2025 23:24:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[12-Dec-2025 23:24:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:14:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:27 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 01:14:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
)

[13-Dec-2025 01:14:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
)

[13-Dec-2025 01:14:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
)

[13-Dec-2025 01:14:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:27 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:27 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:14:28 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 00:14:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 00:14:28 UTC] Found 0 videos for teacher 28
[13-Dec-2025 01:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:30 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:14:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:35 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Dec-2025 01:14:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:35 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 01:14:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:14:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:36 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:14:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:14:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:37 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 01:14:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:37 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 01:14:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:14:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:14:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:14:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:14:38 Europe/Berlin] Session role: not set
[13-Dec-2025 01:14:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:14:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:14:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:15:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:15:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:15:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:15:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:15:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:15:09 Europe/Berlin] Session role: not set
[13-Dec-2025 01:15:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:15:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:15:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:15:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:15:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:15:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:15:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:15:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:15:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:15:41 Europe/Berlin] Session role: not set
[13-Dec-2025 01:15:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:15:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:15:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:16:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:16:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:16:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:16:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:16:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:16:10 Europe/Berlin] Session role: not set
[13-Dec-2025 01:16:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:16:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:16:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:16:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:16:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:16:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:16:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:16:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:16:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:16:39 Europe/Berlin] Session role: not set
[13-Dec-2025 01:16:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:16:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:16:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:17:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:17:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:17:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:17:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:17:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:17:09 Europe/Berlin] Session role: not set
[13-Dec-2025 01:17:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:17:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:17:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:17:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:17:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:17:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:17:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:17:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:17:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:17:39 Europe/Berlin] Session role: not set
[13-Dec-2025 01:17:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:17:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:17:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:18:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:18:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:18:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:18:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:18:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:18:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:18:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:18:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:18:09 Europe/Berlin] Session role: not set
[13-Dec-2025 01:18:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:18:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:18:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:19:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:19:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:19:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:19:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:19:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:19:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:19:10 Europe/Berlin] Session role: not set
[13-Dec-2025 01:19:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:19:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:19:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 01:26:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:26:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 01:26:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:26:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:26:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:26:15 Europe/Berlin] Session role: not set
[13-Dec-2025 01:26:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:26:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:26:15 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 00:26:15 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 00:26:15 UTC] Found 0 videos for teacher 28
[13-Dec-2025 01:26:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 01:26:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 01:26:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:26:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 01:26:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765584867
    [last_regeneration] => 1765584867
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765584867
    [session_started_at] => 2025-12-13 01:14:27
    [login_redirect_count] => 0
)

[13-Dec-2025 01:26:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 01:26:16 Europe/Berlin] Session role: not set
[13-Dec-2025 01:26:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 00:26:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 00:26:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:44:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 03:44:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
)

[13-Dec-2025 03:44:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
)

[13-Dec-2025 03:44:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
)

[13-Dec-2025 03:44:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:30 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:44:30 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 02:44:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 02:44:30 UTC] Found 0 videos for teacher 28
[13-Dec-2025 03:44:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:44:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:31 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:44:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:44:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:43 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Dec-2025 03:44:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:43 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:44:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:44:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:44 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:44:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:44:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:47 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:44:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:47 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 03:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:45:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:45:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:45:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:45:18 Europe/Berlin] Session role: not set
[13-Dec-2025 03:45:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:45:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:45:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 03:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:46:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:46:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:46:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:46:18 Europe/Berlin] Session role: not set
[13-Dec-2025 03:46:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:46:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:46:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 03:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:47:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:47:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:47:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:47:18 Europe/Berlin] Session role: not set
[13-Dec-2025 03:47:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:47:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:47:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 03:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:48:18 Europe/Berlin] Session role: not set
[13-Dec-2025 03:48:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:48:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:48:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 03:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:49:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:49:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:49:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:49:18 Europe/Berlin] Session role: not set
[13-Dec-2025 03:49:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:49:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:49:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:49:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:49:32 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:49:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:49:32 Europe/Berlin] Session role: not set
[13-Dec-2025 03:49:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:49:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:49:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:49:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:49:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:49:33 Europe/Berlin] Session role: not set
[13-Dec-2025 03:49:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:49:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:49:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:49:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:49:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:49:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:49:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:49:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:49:59 Europe/Berlin] Session role: not set
[13-Dec-2025 03:49:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:49:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:50:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:50:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:00 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:50:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:50:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:08 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:50:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:08 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:50:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:50:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:08 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:50:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:50:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:50:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:38 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:50:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:50:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:46 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:50:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:46 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:50:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:50:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:50:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:50:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:50:46 Europe/Berlin] Session role: not set
[13-Dec-2025 03:50:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:50:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:50:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:51:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:51:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:51:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:51:17 Europe/Berlin] Session role: not set
[13-Dec-2025 03:51:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:51:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:51:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:51:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:51:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:51:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:51:47 Europe/Berlin] Session role: not set
[13-Dec-2025 03:51:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:51:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:51:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:51:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:51:52 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:51:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:51:52 Europe/Berlin] Session role: not set
[13-Dec-2025 03:51:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:51:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:51:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:51:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:51:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:51:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:51:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:51:53 Europe/Berlin] Session role: not set
[13-Dec-2025 03:51:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:51:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:51:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:52:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:52:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:52:23 Europe/Berlin] Session role: not set
[13-Dec-2025 03:52:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:52:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:52:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:52:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:52:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:52:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:52:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:52:53 Europe/Berlin] Session role: not set
[13-Dec-2025 03:52:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:52:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:52:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:53:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:53:23 Europe/Berlin] Session role: not set
[13-Dec-2025 03:53:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:53:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:53:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:53:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:53:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:53:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:53:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:53:53 Europe/Berlin] Session role: not set
[13-Dec-2025 03:53:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:53:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:53:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:54:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:54:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:54:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:54:23 Europe/Berlin] Session role: not set
[13-Dec-2025 03:54:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:54:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:54:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:54:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:54:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:54:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:54:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:54:53 Europe/Berlin] Session role: not set
[13-Dec-2025 03:54:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:54:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:54:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:55:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:55:21 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:55:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:55:21 Europe/Berlin] Session role: not set
[13-Dec-2025 03:55:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:55:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:55:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:55:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:55:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:55:22 Europe/Berlin] Session role: not set
[13-Dec-2025 03:55:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:55:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:55:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:55:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:55:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:55:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:55:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:55:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:55:52 Europe/Berlin] Session role: not set
[13-Dec-2025 03:55:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:55:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:55:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:56:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:56:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:56:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:56:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:56:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:56:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:56:22 Europe/Berlin] Session role: not set
[13-Dec-2025 03:56:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:56:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:56:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:58:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:33 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:58:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:33 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:34 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:58:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:58:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 03:58:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:35 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:58:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:58:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:36 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:58:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:58:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:39 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 03:58:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
)

[13-Dec-2025 03:58:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:39 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:58:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/view_video.php on line 178
[13-Dec-2025 03:58:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:58:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:58:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:58:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:58:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:58:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:58:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:58:40 Europe/Berlin] Session role: not set
[13-Dec-2025 03:58:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:58:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:58:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:59:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:59:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:59:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:59:11 Europe/Berlin] Session role: not set
[13-Dec-2025 03:59:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:59:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:59:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 03:59:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:59:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 03:59:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 03:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 03:59:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 03:59:43 Europe/Berlin] Session role: not set
[13-Dec-2025 03:59:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 02:59:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 02:59:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:00:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:00:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:00:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:00:12 Europe/Berlin] Session role: not set
[13-Dec-2025 04:00:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:00:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:00:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:00:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:00:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:00:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:00:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:00:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:00:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:00:41 Europe/Berlin] Session role: not set
[13-Dec-2025 04:00:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:00:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:00:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:01:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:01:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:01:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:01:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:01:11 Europe/Berlin] Session role: not set
[13-Dec-2025 04:01:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:01:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:01:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:01:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:01:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:01:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:01:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:01:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:01:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:01:41 Europe/Berlin] Session role: not set
[13-Dec-2025 04:01:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:01:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:01:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:02:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:02:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:02:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:02:11 Europe/Berlin] Session role: not set
[13-Dec-2025 04:02:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:02:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:02:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:02:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:02:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:02:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:02:56 Europe/Berlin] Session role: not set
[13-Dec-2025 04:02:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:02:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:02:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:02:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:02:58 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:02:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:02:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:02:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:02:58 Europe/Berlin] Session role: not set
[13-Dec-2025 04:02:58 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:02:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:03:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:03:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:03:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:03:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:03:01 Europe/Berlin] Session role: not set
[13-Dec-2025 04:03:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:03:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:03:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:03:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:03:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:03:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:03:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:03:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:03:32 Europe/Berlin] Session role: not set
[13-Dec-2025 04:03:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:03:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:03:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:04:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:04:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:04:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:04:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 04:04:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:01 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:04:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:04:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:14 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 04:04:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:14 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:04:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:04:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:04:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:04:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:17 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:04:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:17 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:04:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:04:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:18 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:04:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 04:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:04:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:04:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:05:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:05:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:05:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:05:19 Europe/Berlin] Session role: not set
[13-Dec-2025 04:05:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:05:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:05:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 04:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:06:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:06:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:06:19 Europe/Berlin] Session role: not set
[13-Dec-2025 04:06:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:06:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:06:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 04:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:07:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:07:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:07:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:07:19 Europe/Berlin] Session role: not set
[13-Dec-2025 04:07:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:07:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:07:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 04:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:08:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:08:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:08:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:08:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:08:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:08:32 Europe/Berlin] Session role: not set
[13-Dec-2025 04:08:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:08:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:08:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 04:08:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:09:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:09:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:09:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:09:18 Europe/Berlin] Session role: not set
[13-Dec-2025 04:09:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:09:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:09:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:09:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:09:20 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:09:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:09:20 Europe/Berlin] Session role: not set
[13-Dec-2025 04:09:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:09:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:09:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:09:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:09:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:09:21 Europe/Berlin] Session role: not set
[13-Dec-2025 04:09:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:09:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:09:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:09:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:09:52 Europe/Berlin] Session role: not set
[13-Dec-2025 04:09:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:09:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:09:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:10:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:10:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:10:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:10:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:10:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:10:22 Europe/Berlin] Session role: not set
[13-Dec-2025 04:10:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:10:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:10:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:10:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:10:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:10:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:10:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:10:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:10:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:10:52 Europe/Berlin] Session role: not set
[13-Dec-2025 04:10:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:10:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:10:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:11:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:11:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:11:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:11:23 Europe/Berlin] Session role: not set
[13-Dec-2025 04:11:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:11:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:11:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:11:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:11:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:11:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:11:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:11:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:11:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:11:52 Europe/Berlin] Session role: not set
[13-Dec-2025 04:11:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:11:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:11:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:12:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:12:04 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:12:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:12:04 Europe/Berlin] Session role: not set
[13-Dec-2025 04:12:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:12:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:12:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:12:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:12:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:12:05 Europe/Berlin] Session role: not set
[13-Dec-2025 04:12:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:12:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:12:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:12:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:12:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:12:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:12:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:12:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:12:35 Europe/Berlin] Session role: not set
[13-Dec-2025 04:12:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:12:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:12:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:13:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:13:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:13:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:13:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:13:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:13:04 Europe/Berlin] Session role: not set
[13-Dec-2025 04:13:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:13:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:13:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:13:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:13:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:13:34 Europe/Berlin] Session role: not set
[13-Dec-2025 04:13:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:13:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:13:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:14:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:14:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:14:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:14:04 Europe/Berlin] Session role: not set
[13-Dec-2025 04:14:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:14:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:14:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:14:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:14:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:14:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:14:35 Europe/Berlin] Session role: not set
[13-Dec-2025 04:14:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:14:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:14:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:14:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:14:40 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:14:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:14:40 Europe/Berlin] Session role: not set
[13-Dec-2025 04:14:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:14:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:14:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:14:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:14:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:14:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:14:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:14:41 Europe/Berlin] Session role: not set
[13-Dec-2025 04:14:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:14:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:14:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:15:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:15:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:15:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:15:12 Europe/Berlin] Session role: not set
[13-Dec-2025 04:15:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:15:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:15:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:15:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:15:27 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 04:15:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:15:27 Europe/Berlin] Session role: not set
[13-Dec-2025 04:15:27 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:15:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:15:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:15:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:15:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:15:31 Europe/Berlin] Session role: not set
[13-Dec-2025 04:15:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:15:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 03:15:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:15:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:15:32 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:15:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:15:32 Europe/Berlin] Session role: not set
[13-Dec-2025 04:15:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:15:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:15:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:15:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:15:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:15:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:15:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:15:34 Europe/Berlin] Session role: not set
[13-Dec-2025 04:15:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:15:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:15:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:16:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:16:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:16:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:16:05 Europe/Berlin] Session role: not set
[13-Dec-2025 04:16:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:16:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:16:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:16:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:16:13 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:16:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:16:13 Europe/Berlin] Session role: not set
[13-Dec-2025 04:16:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:16:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:16:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:16:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:16:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:16:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:16:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:16:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:16:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:16:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:16:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:16:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:16:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:16:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:16:45 Europe/Berlin] Session role: not set
[13-Dec-2025 04:16:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:16:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:16:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:17:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:17:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:17:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:17:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:17:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:17:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:17:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:17:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:17:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:17:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:17:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:17:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:17:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:17:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:17:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:17:45 Europe/Berlin] Session role: not set
[13-Dec-2025 04:17:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:17:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:17:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:18:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:18:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:18:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:18:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:18:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:18:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:18:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:18:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:18:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:18:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:18:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:18:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:18:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:18:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:18:45 Europe/Berlin] Session role: not set
[13-Dec-2025 04:18:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:18:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:18:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:19:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:19:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:19:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:19:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:19:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:19:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:19:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:19:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:19:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:19:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:19:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:19:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:19:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:19:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:19:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:19:45 Europe/Berlin] Session role: not set
[13-Dec-2025 04:19:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:19:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:19:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:20:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:20:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:20:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:20:15 Europe/Berlin] Session role: not set
[13-Dec-2025 04:20:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:20:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:20:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:20:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:20:31 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:20:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:20:31 Europe/Berlin] Session role: not set
[13-Dec-2025 04:20:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:20:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:20:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:20:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:20:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:20:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:20:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:20:35 Europe/Berlin] Session role: not set
[13-Dec-2025 04:20:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:20:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:20:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:21:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:21:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:21:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:21:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:21:06 Europe/Berlin] Session role: not set
[13-Dec-2025 04:21:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:21:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:21:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:21:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:21:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:21:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:21:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:21:36 Europe/Berlin] Session role: not set
[13-Dec-2025 04:21:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:21:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:21:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:22:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:22:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:22:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:22:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:22:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:22:06 Europe/Berlin] Session role: not set
[13-Dec-2025 04:22:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:22:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:22:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:22:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:22:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:22:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:22:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:22:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:22:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:22:36 Europe/Berlin] Session role: not set
[13-Dec-2025 04:22:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:22:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:22:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:23:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:23:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:23:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:23:05 Europe/Berlin] Session role: not set
[13-Dec-2025 04:23:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:23:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:23:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:23:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:23:21 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 04:23:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:23:21 Europe/Berlin] Session role: not set
[13-Dec-2025 04:23:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:23:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:23:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:23:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:23:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:23:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:23:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:23:22 Europe/Berlin] Session role: not set
[13-Dec-2025 04:23:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:23:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:23:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:23:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:30:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:41:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:47:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:51:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:54:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:56:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:59:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:59:23 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 04:59:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:59:23 Europe/Berlin] Session role: not set
[13-Dec-2025 04:59:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:59:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:59:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:59:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:59:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:59:23 Europe/Berlin] Session role: not set
[13-Dec-2025 04:59:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:59:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:59:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 04:59:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 04:59:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 04:59:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 04:59:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 04:59:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 04:59:54 Europe/Berlin] Session role: not set
[13-Dec-2025 04:59:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 03:59:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 03:59:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:00:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:00:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:00:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:00:24 Europe/Berlin] Session role: not set
[13-Dec-2025 05:00:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:00:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:00:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:00:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:00:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:00:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:00:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:00:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:00:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:00:54 Europe/Berlin] Session role: not set
[13-Dec-2025 05:00:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:00:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:00:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:01:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:01:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:01:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:01:24 Europe/Berlin] Session role: not set
[13-Dec-2025 05:01:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:01:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:01:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:01:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:01:32 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:01:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:01:32 Europe/Berlin] Session role: not set
[13-Dec-2025 05:01:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:01:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:01:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:01:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:01:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:01:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:01:33 Europe/Berlin] Session role: not set
[13-Dec-2025 05:01:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:01:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:01:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:02:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:02:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:02:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:02:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:02:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:02:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:02:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:02:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:02:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:02:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:02:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:02:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:02:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:02:40 Europe/Berlin] Session role: not set
[13-Dec-2025 05:02:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:02:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:02:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:03:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:03:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:03:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:03:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:03:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:03:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:03:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:03:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:03:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:03:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:03:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:03:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:03:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:03:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:03:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:03:35 Europe/Berlin] Session role: not set
[13-Dec-2025 05:03:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:03:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:03:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:04:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:04:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:04:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:04:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:04:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:04:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:04:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:04:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:04:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:04:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:04:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:04:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:04:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:04:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:04:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:04:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:04:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:04:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:04:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:05:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:05:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:05:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:05:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:05:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:05:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:05:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:05:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:05:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:05:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:05:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:05:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:06:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:06:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:06:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:06:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:06:05 Europe/Berlin] Session role: not set
[13-Dec-2025 05:06:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:06:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:06:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:06:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:06:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:06:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:06:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:06:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:06:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:06:35 Europe/Berlin] Session role: not set
[13-Dec-2025 05:06:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:06:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:06:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:07:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:07:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:07:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:07:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:07:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:07:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:07:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:07:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:07:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:07:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:07:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:07:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:07:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:07:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:07:49 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 05:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:07:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:07:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:07:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:07:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:07:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:07:50 Europe/Berlin] Session role: not set
[13-Dec-2025 05:07:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:07:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:07:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:08:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:08:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:08:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:08:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:08:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:08:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:08:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:08:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:08:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:08:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:08:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:08:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:08:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:08:50 Europe/Berlin] Session role: not set
[13-Dec-2025 05:08:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:08:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:08:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:09:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:09:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:09:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:09:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:09:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:09:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:09:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:09:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:09:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:09:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:09:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:09:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:09:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:09:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:09:51 Europe/Berlin] Session role: not set
[13-Dec-2025 05:09:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:09:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:09:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:10:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:10:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:10:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:10:20 Europe/Berlin] Session role: not set
[13-Dec-2025 05:10:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:10:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:10:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:10:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:10:53 Europe/Berlin] Session role: not set
[13-Dec-2025 05:10:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:10:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:10:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:11:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:11:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:11:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:11:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:11:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:11:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:11:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:11:23 Europe/Berlin] Session role: not set
[13-Dec-2025 05:11:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:11:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:11:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:12:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:12:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:12:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:12:16 Europe/Berlin] Session role: not set
[13-Dec-2025 05:12:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:12:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:12:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:12:20 Europe/Berlin] Session role: not set
[13-Dec-2025 05:12:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:12:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:12:49 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 05:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:12:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:12:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:12:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:12:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:12:50 Europe/Berlin] Session role: not set
[13-Dec-2025 05:12:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:12:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:12:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:13:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:13:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:13:20 Europe/Berlin] Session role: not set
[13-Dec-2025 05:13:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:13:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:13:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:13:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:13:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:13:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:13:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:13:51 Europe/Berlin] Session role: not set
[13-Dec-2025 05:13:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:13:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:13:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:14:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:14:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:14:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:14:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:14:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:14:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:14:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:14:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:14:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:14:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:14:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:14:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:14:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:14:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:14:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:14:52 Europe/Berlin] Session role: not set
[13-Dec-2025 05:14:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:14:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:14:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:15:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:15:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:15:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:15:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:15:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:15:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:15:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:15:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:15:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:15:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:15:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:15:50 Europe/Berlin] Session role: not set
[13-Dec-2025 05:15:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:15:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:15:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:16:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:16:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:16:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:16:28 Europe/Berlin] Session role: not set
[13-Dec-2025 05:16:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:16:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:16:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:16:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:16:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:16:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:16:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:16:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:16:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:16:52 Europe/Berlin] Session role: not set
[13-Dec-2025 05:16:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:16:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:16:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:17:20 Europe/Berlin] Session role: not set
[13-Dec-2025 05:17:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:17:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:17:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:17:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:17:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:17:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:17:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:17:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:17:51 Europe/Berlin] Session role: not set
[13-Dec-2025 05:17:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:17:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:17:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:18:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:18:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:18:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:18:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:18:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:18:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:18:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:18:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:18:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:18:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:18:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:18:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:19:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:19:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:19:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:19:15 Europe/Berlin] Session role: not set
[13-Dec-2025 05:19:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:19:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:19:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:19:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:19:17 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:19:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:19:17 Europe/Berlin] Session role: not set
[13-Dec-2025 05:19:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:19:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:19:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:19:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:19:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:19:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:19:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:19:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:19:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:19:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:19:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:19:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:19:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:19:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:19:51 Europe/Berlin] Session role: not set
[13-Dec-2025 05:19:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:19:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:19:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:20:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:20:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:20:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:20:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:20:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:20:21 Europe/Berlin] Session role: not set
[13-Dec-2025 05:20:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:20:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:20:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:20:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:20:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:20:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:20:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:20:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:20:52 Europe/Berlin] Session role: not set
[13-Dec-2025 05:20:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:20:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:20:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:21:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:21:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:21:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:21:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:21:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:21:22 Europe/Berlin] Session role: not set
[13-Dec-2025 05:21:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:21:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:21:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:21:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:21:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:21:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:21:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:21:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:21:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:21:52 Europe/Berlin] Session role: not set
[13-Dec-2025 05:21:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:21:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:21:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:22:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:22:09 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:22:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:22:09 Europe/Berlin] Session role: not set
[13-Dec-2025 05:22:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:22:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:22:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:22:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:22:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:22:10 Europe/Berlin] Session role: not set
[13-Dec-2025 05:22:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:22:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:22:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:22:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:22:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:22:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:22:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:22:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:22:40 Europe/Berlin] Session role: not set
[13-Dec-2025 05:22:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:22:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:22:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:23:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:23:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:23:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:23:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:23:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:23:10 Europe/Berlin] Session role: not set
[13-Dec-2025 05:23:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:23:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:23:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:23:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:23:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:23:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:23:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:23:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:23:40 Europe/Berlin] Session role: not set
[13-Dec-2025 05:23:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:23:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:23:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:24:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:24:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:24:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:24:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:24:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:24:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:24:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:24:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:24:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:24:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:24:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:24:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:24:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:24:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:24:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:24:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:24:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:24:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:25:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:25:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:25:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:25:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:25:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:25:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:25:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:25:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:25:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:25:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:25:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:25:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:25:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:25:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:25:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:25:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:26:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:26:18 Europe/Berlin] Session role: not set
[13-Dec-2025 05:26:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:26:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:26:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:26:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:26:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:26:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:26:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:26:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:26:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:26:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:26:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:26:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:27:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:27:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:27:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:27:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:27:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:27:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:27:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:27:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:27:34 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:27:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:27:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:27:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:27:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:27:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:27:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:27:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:27:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:27:35 Europe/Berlin] Session role: not set
[13-Dec-2025 05:27:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:27:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:27:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:28:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:28:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:28:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:28:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:28:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:28:05 Europe/Berlin] Session role: not set
[13-Dec-2025 05:28:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:28:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:28:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:28:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:28:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:28:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:28:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:28:35 Europe/Berlin] Session role: not set
[13-Dec-2025 05:28:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:28:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:28:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:29:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:29:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:29:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:29:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:29:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:29:06 Europe/Berlin] Session role: not set
[13-Dec-2025 05:29:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:29:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:29:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:29:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:29:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:29:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:29:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:29:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:29:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:29:36 Europe/Berlin] Session role: not set
[13-Dec-2025 05:29:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:29:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:29:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:30:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:30:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:30:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:30:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:30:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:30:06 Europe/Berlin] Session role: not set
[13-Dec-2025 05:30:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:30:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:30:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:30:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:30:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:30:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:30:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:30:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:30:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:30:36 Europe/Berlin] Session role: not set
[13-Dec-2025 05:30:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:30:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:30:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:31:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:31:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:31:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:31:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:31:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:31:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:31:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:31:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:31:06 Europe/Berlin] Session role: not set
[13-Dec-2025 05:31:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:31:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:31:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:32:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:32:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:32:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:32:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:32:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:32:09 Europe/Berlin] Session role: not set
[13-Dec-2025 05:32:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:32:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:32:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:32:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:32:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:32:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:32:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:32:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:32:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:32:53 Europe/Berlin] Session role: not set
[13-Dec-2025 05:32:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:32:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:32:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:33:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:33:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:33:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:33:06 Europe/Berlin] Session role: not set
[13-Dec-2025 05:33:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:33:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:33:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:33:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:33:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:33:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:33:36 Europe/Berlin] Session role: not set
[13-Dec-2025 05:33:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:33:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:33:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:33:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:33:40 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:33:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:33:40 Europe/Berlin] Session role: not set
[13-Dec-2025 05:33:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:33:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:33:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:33:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:33:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:33:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:33:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:33:40 Europe/Berlin] Session role: not set
[13-Dec-2025 05:33:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:33:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:33:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:34:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:34:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:34:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:34:10 Europe/Berlin] Session role: not set
[13-Dec-2025 05:34:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:34:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:34:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:34:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:34:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:34:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:34:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:34:42 Europe/Berlin] Session role: not set
[13-Dec-2025 05:34:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:34:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:34:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:35:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:35:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:35:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:35:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:35:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:35:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:35:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:35:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:35:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:35:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:35:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:35:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:35:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:35:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:35:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:35:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:35:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:35:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:35:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:36:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:36:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:36:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:36:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:36:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:36:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:36:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:36:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:36:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:36:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:36:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:36:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:36:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:36:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:36:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:36:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:36:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:37:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:37:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:37:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:37:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:37:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:37:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:37:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:37:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:37:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:37:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:37:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:37:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:37:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:37:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:37:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:37:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:37:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:38:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:38:06 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:38:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:38:06 Europe/Berlin] Session role: not set
[13-Dec-2025 05:38:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:38:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:38:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:38:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:38:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:38:07 Europe/Berlin] Session role: not set
[13-Dec-2025 05:38:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:38:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:38:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:38:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:38:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:38:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:38:37 Europe/Berlin] Session role: not set
[13-Dec-2025 05:38:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:38:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:38:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:39:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:39:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:39:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:39:07 Europe/Berlin] Session role: not set
[13-Dec-2025 05:39:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:39:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:39:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:39:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:39:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:39:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:39:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:39:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:39:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:39:38 Europe/Berlin] Session role: not set
[13-Dec-2025 05:39:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:39:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:39:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:40:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:40:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:40:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:40:08 Europe/Berlin] Session role: not set
[13-Dec-2025 05:40:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:40:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:40:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:40:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:40:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:40:38 Europe/Berlin] Session role: not set
[13-Dec-2025 05:40:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:40:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:40:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:41:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:41:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:41:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:41:08 Europe/Berlin] Session role: not set
[13-Dec-2025 05:41:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:41:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:41:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:41:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:41:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:41:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:41:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:41:38 Europe/Berlin] Session role: not set
[13-Dec-2025 05:41:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:41:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:41:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:42:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:42:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:42:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:42:08 Europe/Berlin] Session role: not set
[13-Dec-2025 05:42:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:42:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:42:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:42:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:42:28 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:42:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:42:28 Europe/Berlin] Session role: not set
[13-Dec-2025 05:42:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:42:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:42:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:42:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:42:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:42:28 Europe/Berlin] Session role: not set
[13-Dec-2025 05:42:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:42:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:42:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:42:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:42:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:42:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:42:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:42:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:42:58 Europe/Berlin] Session role: not set
[13-Dec-2025 05:42:58 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:42:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:42:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:43:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:43:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:43:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:43:28 Europe/Berlin] Session role: not set
[13-Dec-2025 05:43:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:43:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:43:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:43:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:43:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:43:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:43:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:43:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:43:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:43:58 Europe/Berlin] Session role: not set
[13-Dec-2025 05:43:58 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:43:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:43:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:44:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:44:00 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:44:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:44:00 Europe/Berlin] Session role: not set
[13-Dec-2025 05:44:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:44:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:44:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:44:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:44:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:44:01 Europe/Berlin] Session role: not set
[13-Dec-2025 05:44:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:44:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:44:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:44:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:44:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:44:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:44:32 Europe/Berlin] Session role: not set
[13-Dec-2025 05:44:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:44:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:44:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:44:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:44:55 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Dec-2025 05:44:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:44:55 Europe/Berlin] Session role: not set
[13-Dec-2025 05:44:55 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:44:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:44:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:44:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:44:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:44:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:44:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:44:56 Europe/Berlin] Session role: not set
[13-Dec-2025 05:44:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:44:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:44:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:44:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:00 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 05:45:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:00 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:45:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:45:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:01 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:45:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:45:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:14 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 05:45:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:14 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:45:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:45:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:15 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:45:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:45:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:32 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 05:45:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:32 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:45:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:45:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:45:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:45:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:45:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:45:32 Europe/Berlin] Session role: not set
[13-Dec-2025 05:45:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:45:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:45:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:46:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:46:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:46:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:46:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:46:03 Europe/Berlin] Session role: not set
[13-Dec-2025 05:46:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:46:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:46:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:46:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:46:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:46:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:46:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:46:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:46:36 Europe/Berlin] Session role: not set
[13-Dec-2025 05:46:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:46:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:46:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:47:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:47:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:47:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:47:03 Europe/Berlin] Session role: not set
[13-Dec-2025 05:47:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:47:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:47:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:47:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:47:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:47:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:47:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:47:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:47:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:47:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:47:57 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 05:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:47:57 Europe/Berlin] Session role: not set
[13-Dec-2025 05:47:57 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:47:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:47:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:47:57 Europe/Berlin] Session role: not set
[13-Dec-2025 05:47:57 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:47:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:47:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:48:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:48:03 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:48:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:48:03 Europe/Berlin] Session role: not set
[13-Dec-2025 05:48:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:48:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:48:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:48:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:48:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:48:03 Europe/Berlin] Session role: not set
[13-Dec-2025 05:48:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:48:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:48:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:48:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:48:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:48:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:48:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:48:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:48:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:48:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:48:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:48:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:49:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:49:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:49:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:49:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:49:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:49:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:49:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:49:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:49:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:49:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:49:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:49:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:49:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:49:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:49:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:49:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:49:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:50:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:50:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:50:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:50:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:50:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:50:05 Europe/Berlin] Session role: not set
[13-Dec-2025 05:50:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:50:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:50:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:50:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:50:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:50:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:50:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:50:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:50:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:50:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:50:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:51:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:51:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:51:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:51:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:51:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:51:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:51:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:51:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:51:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:51:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:51:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:51:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:51:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:51:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:51:37 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:51:37 Europe/Berlin] Session role: not set
[13-Dec-2025 05:51:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:51:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:51:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:51:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:51:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:51:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:51:38 Europe/Berlin] Session role: not set
[13-Dec-2025 05:51:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:51:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:51:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:52:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:52:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:52:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:52:08 Europe/Berlin] Session role: not set
[13-Dec-2025 05:52:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:52:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:52:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:52:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:52:17 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:52:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:52:17 Europe/Berlin] Session role: not set
[13-Dec-2025 05:52:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:52:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:52:17 UTC] Error 2: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in /home/twpurnyc/public_html/teacher/edit_video.php on line 149
[13-Dec-2025 05:52:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:52:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:52:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:52:17 Europe/Berlin] Session role: not set
[13-Dec-2025 05:52:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:52:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:52:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:52:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:52:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:52:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:52:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:52:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:52:47 Europe/Berlin] Session role: not set
[13-Dec-2025 05:52:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:52:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:52:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:53:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:53:14 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 05:53:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:53:14 Europe/Berlin] Session role: not set
[13-Dec-2025 05:53:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:53:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:53:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:53:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:53:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:53:15 Europe/Berlin] Session role: not set
[13-Dec-2025 05:53:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:53:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:53:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:53:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:53:28 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 05:53:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:53:28 Europe/Berlin] Session role: not set
[13-Dec-2025 05:53:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:53:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:53:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:53:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:53:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:53:29 Europe/Berlin] Session role: not set
[13-Dec-2025 05:53:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:53:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:53:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:53:59 Europe/Berlin] Session role: not set
[13-Dec-2025 05:53:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:53:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:54:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:54:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:54:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:54:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:54:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:54:29 Europe/Berlin] Session role: not set
[13-Dec-2025 05:54:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:54:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:54:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:54:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:54:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:54:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:54:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:54:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:54:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:54:59 Europe/Berlin] Session role: not set
[13-Dec-2025 05:54:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:54:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:54:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:55:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:55:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:55:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:55:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:55:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:55:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:55:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:55:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:55:31 Europe/Berlin] Session role: not set
[13-Dec-2025 05:55:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:55:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:55:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:56:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:56:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:56:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:56:00 Europe/Berlin] Session role: not set
[13-Dec-2025 05:56:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:56:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:56:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:56:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:56:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:56:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:56:29 Europe/Berlin] Session role: not set
[13-Dec-2025 05:56:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:56:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:56:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:56:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:56:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:56:59 Europe/Berlin] Session role: not set
[13-Dec-2025 05:56:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:56:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:56:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:57:03 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:57:03 Europe/Berlin] Session role: not set
[13-Dec-2025 05:57:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:57:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:57:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:57:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:57:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:57:04 Europe/Berlin] Session role: not set
[13-Dec-2025 05:57:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:57:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:57:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:57:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:57:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:57:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:57:34 Europe/Berlin] Session role: not set
[13-Dec-2025 05:57:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:57:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:57:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:57:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:57:41 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 05:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:57:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:57:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:57:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:57:41 UTC] Updating video ID 30 with values: title=This is an update web development update, video_type=file, video_url=uploads/videos/video_693cf2456efb9.mp4
[13-Dec-2025 04:57:41 UTC] Error 2: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in /home/twpurnyc/public_html/teacher/edit_video.php on line 152
[13-Dec-2025 04:57:41 UTC] Video update failed for ID 30: No data supplied for parameters in prepared statement
[13-Dec-2025 05:57:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:57:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:57:41 Europe/Berlin] Session role: not set
[13-Dec-2025 05:57:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:57:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:57:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:58:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:58:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:58:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:58:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:58:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:58:11 Europe/Berlin] Session role: not set
[13-Dec-2025 05:58:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:58:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:58:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:58:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:58:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:58:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:58:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:58:42 Europe/Berlin] Session role: not set
[13-Dec-2025 05:58:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:58:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:58:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:59:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:59:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:59:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:59:13 Europe/Berlin] Session role: not set
[13-Dec-2025 05:59:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:59:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:59:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 05:59:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 05:59:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 05:59:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 05:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 05:59:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 05:59:42 Europe/Berlin] Session role: not set
[13-Dec-2025 05:59:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 04:59:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 04:59:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:00:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:00:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:00:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:00:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:00:12 Europe/Berlin] Session role: not set
[13-Dec-2025 06:00:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:00:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:00:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:00:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:00:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:00:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:00:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:00:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:00:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:00:42 Europe/Berlin] Session role: not set
[13-Dec-2025 06:00:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:00:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:00:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:01:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:01:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:01:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:01:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:01:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:01:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:01:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:01:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:01:12 Europe/Berlin] Session role: not set
[13-Dec-2025 06:01:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:01:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:01:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:02:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:02:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:02:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:02:13 Europe/Berlin] Session role: not set
[13-Dec-2025 06:02:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:02:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:02:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:02:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:02:34 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 06:02:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:02:34 Europe/Berlin] Session role: not set
[13-Dec-2025 06:02:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:02:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:02:34 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 05:02:34 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:55'
[13-Dec-2025 05:02:34 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693cf36ae04bb.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 06:02:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:02:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:02:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:02:35 Europe/Berlin] Session role: not set
[13-Dec-2025 06:02:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:02:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:02:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:02:54 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 06:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:02:54 Europe/Berlin] Session role: not set
[13-Dec-2025 06:02:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:02:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:02:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:02:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:02:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:02:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:02:55 Europe/Berlin] Session role: not set
[13-Dec-2025 06:02:55 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:02:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:02:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:03:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:03:00 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 06:03:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:03:00 Europe/Berlin] Session role: not set
[13-Dec-2025 06:03:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:03:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:03:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:03:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:03:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:03:00 Europe/Berlin] Session role: not set
[13-Dec-2025 06:03:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:03:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:03:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:03:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:03:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:03:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:03:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:03:30 Europe/Berlin] Session role: not set
[13-Dec-2025 06:03:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:03:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:03:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:04:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:04:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:04:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:04:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:04:01 Europe/Berlin] Session role: not set
[13-Dec-2025 06:04:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:04:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:04:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:04:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:04:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:04:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:04:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:04:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:04:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:04:31 Europe/Berlin] Session role: not set
[13-Dec-2025 06:04:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:04:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:04:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:05:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:05:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:05:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:05:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:05:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:05:03 Europe/Berlin] Session role: not set
[13-Dec-2025 06:05:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:05:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:05:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:05:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:05:31 Europe/Berlin] Session role: not set
[13-Dec-2025 06:05:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:05:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:05:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:06:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:06:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:06:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:06:01 Europe/Berlin] Session role: not set
[13-Dec-2025 06:06:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:06:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:06:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:06:31 Europe/Berlin] Session role: not set
[13-Dec-2025 06:06:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:06:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:06:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:07:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:07:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:07:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:07:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:07:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:07:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:07:18 Europe/Berlin] Session role: not set
[13-Dec-2025 06:07:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:07:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:07:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:08:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:08:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:08:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:08:15 Europe/Berlin] Session role: not set
[13-Dec-2025 06:08:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:08:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:08:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:08:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:08:17 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 06:08:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:08:17 Europe/Berlin] Session role: not set
[13-Dec-2025 06:08:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:08:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:08:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:08:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:08:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:08:18 Europe/Berlin] Session role: not set
[13-Dec-2025 06:08:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:08:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:08:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:08:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:08:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:08:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:08:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:08:50 Europe/Berlin] Session role: not set
[13-Dec-2025 06:08:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:08:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:08:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:09:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:09:19 Europe/Berlin] Session role: not set
[13-Dec-2025 06:09:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:09:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:09:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 06:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:10:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:10:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:10:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:10:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:10:20 Europe/Berlin] Session role: not set
[13-Dec-2025 06:10:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:10:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:10:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 06:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:11:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:11:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:11:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:11:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:11:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:11:18 Europe/Berlin] Session role: not set
[13-Dec-2025 06:11:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:11:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:11:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:11:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:11:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:11:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:11:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:11:49 Europe/Berlin] Session role: not set
[13-Dec-2025 06:11:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:11:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:11:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:12:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:12:07 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 06:12:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:12:07 Europe/Berlin] Session role: not set
[13-Dec-2025 06:12:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:12:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:12:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:12:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:12:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:12:08 Europe/Berlin] Session role: not set
[13-Dec-2025 06:12:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:12:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:12:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:12:11 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 06:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:12:11 Europe/Berlin] Session role: not set
[13-Dec-2025 06:12:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:12:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:12:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:12:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:12:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:12:12 Europe/Berlin] Session role: not set
[13-Dec-2025 06:12:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:12:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:12:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:12:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:12:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:12:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:12:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:12:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:12:46 Europe/Berlin] Session role: not set
[13-Dec-2025 06:12:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:12:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:12:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:13:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:13:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:13:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:13:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:13:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:13:12 Europe/Berlin] Session role: not set
[13-Dec-2025 06:13:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:13:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:13:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:13:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:13:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:13:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:13:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:13:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:13:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:13:43 Europe/Berlin] Session role: not set
[13-Dec-2025 06:13:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:13:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:13:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:14:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:14:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:14:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:14:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:14:20 Europe/Berlin] Session role: not set
[13-Dec-2025 06:14:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:14:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:14:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:14:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:14:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:14:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:14:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:14:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:14:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:14:43 Europe/Berlin] Session role: not set
[13-Dec-2025 06:14:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:14:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:14:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:15:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:15:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:15:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:15:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:15:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:15:13 Europe/Berlin] Session role: not set
[13-Dec-2025 06:15:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:15:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:15:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:15:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:15:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:15:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:15:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:15:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:15:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:15:43 Europe/Berlin] Session role: not set
[13-Dec-2025 06:15:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:15:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:15:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:16:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:16:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:16:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:16:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:16:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:16:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:16:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:16:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:16:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:16:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:17:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:17:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:17:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:17:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:17:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:17:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:17:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:17:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:17:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 06:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:18:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:18:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:18:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:18:13 Europe/Berlin] Session role: not set
[13-Dec-2025 06:18:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:18:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:18:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:18:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:18:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:18:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:18:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:18:43 Europe/Berlin] Session role: not set
[13-Dec-2025 06:18:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:18:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:18:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:19:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:19:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:19:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:19:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:19:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:19:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:19:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:19:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:19:17 Europe/Berlin] Session role: not set
[13-Dec-2025 06:19:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:19:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:19:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:23:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:23:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:23:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:23:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:23:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:23:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:23:19 Europe/Berlin] Session role: not set
[13-Dec-2025 06:23:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:23:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:23:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:24:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:24:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:24:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:24:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:24:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:24:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:24:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:24:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:24:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:24:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:24:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:24:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:24:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:24:42 Europe/Berlin] Session role: not set
[13-Dec-2025 06:24:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:24:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:24:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:25:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:25:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:25:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:25:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:25:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:25:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:25:51 Europe/Berlin] Session role: not set
[13-Dec-2025 06:25:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:25:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:25:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:26:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:26:18 Europe/Berlin] Session role: not set
[13-Dec-2025 06:26:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:26:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:26:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:27:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:27:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:27:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:27:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:27:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:27:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:27:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:27:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:27:15 Europe/Berlin] Session role: not set
[13-Dec-2025 06:27:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:27:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:27:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:28:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:28:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:28:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:28:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:28:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:28:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:28:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:28:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:28:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:28:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:28:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:28:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:29:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:29:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:29:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:29:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:29:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:29:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:29:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:29:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:29:22 Europe/Berlin] Session role: not set
[13-Dec-2025 06:29:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:29:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:29:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:30:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:30:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:30:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:30:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:30:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:30:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:30:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:30:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:30:28 Europe/Berlin] Session role: not set
[13-Dec-2025 06:30:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:30:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:30:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:32:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:32:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:32:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:32:24 Europe/Berlin] Session role: not set
[13-Dec-2025 06:32:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:32:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:32:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:32:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:32:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:32:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:32:31 Europe/Berlin] Session role: not set
[13-Dec-2025 06:32:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:32:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:32:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:32:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:32:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:32:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:32:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:32:42 Europe/Berlin] Session role: not set
[13-Dec-2025 06:32:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:32:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:32:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:33:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:33:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:33:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:33:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:33:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:33:14 Europe/Berlin] Session role: not set
[13-Dec-2025 06:33:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:33:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:33:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:33:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:33:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:33:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:33:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:33:43 Europe/Berlin] Session role: not set
[13-Dec-2025 06:33:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:33:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:33:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:34:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:34:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:34:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:34:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:34:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:34:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:34:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:34:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:34:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:34:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:34:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:34:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:35:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:35:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:35:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:35:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:35:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:35:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:35:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:35:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:35:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:35:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:35:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:35:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:36:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:36:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:36:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:36:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:36:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:36:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:36:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:36:22 Europe/Berlin] Session role: not set
[13-Dec-2025 06:36:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:36:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:36:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:37:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:37:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:37:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:37:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:37:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:37:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:37:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:37:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:37:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:37:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:37:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:37:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:38:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:38:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:38:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:38:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:38:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:38:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:38:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:38:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:38:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:38:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:38:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:38:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:39:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:39:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:39:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:39:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:39:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:39:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:39:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:39:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:39:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:39:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:39:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:39:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:40:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:40:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:40:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:40:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:40:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:40:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:40:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:40:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:40:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:40:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:41:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:41:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:41:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:41:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:41:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:41:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:41:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:41:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:41:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:41:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:41:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:41:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:42:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:42:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:42:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:42:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:42:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:42:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:42:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:42:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:42:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:42:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:42:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:42:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:43:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:43:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:43:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:43:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:43:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:43:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:43:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:43:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:43:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:43:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:43:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:43:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:44:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:44:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:44:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:44:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:44:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:44:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:44:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:44:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:44:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:44:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:45:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:45:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:45:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:45:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:45:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:45:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:45:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:45:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:45:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:45:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:45:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:45:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:46:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:46:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:46:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:46:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:46:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:46:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:46:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:46:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:46:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:46:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:46:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:46:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:47:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:47:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:47:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:47:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:47:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:47:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:47:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:47:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:47:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:47:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:47:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:47:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:48:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:48:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:48:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:48:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:48:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:48:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:48:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:48:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:48:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:48:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:49:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:49:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:49:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:49:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:49:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:49:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:49:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:49:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:50:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:50:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:50:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:50:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:50:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:50:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:50:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:50:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:50:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:50:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:50:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:50:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:51:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:51:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:51:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:51:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:51:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:51:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:51:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:51:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:51:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:51:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:51:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:51:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:52:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:52:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:52:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:52:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:52:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:52:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:52:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:52:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:52:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:52:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:52:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:52:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:53:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:53:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:53:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:53:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:53:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:53:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:53:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:53:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:53:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:53:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:54:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:54:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:54:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:54:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:54:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:54:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:54:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:54:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:54:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:54:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:55:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:55:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:55:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:55:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:55:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:55:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:55:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:55:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:55:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:55:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:56:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:56:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:56:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:56:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:56:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:56:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:56:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:56:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:56:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:56:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:56:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:56:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:57:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:57:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:57:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:57:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:57:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:57:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:57:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:58:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:58:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:58:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:58:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:58:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:58:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:58:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:58:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:58:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:58:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 06:59:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:59:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 06:59:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:59:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:59:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:59:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 06:59:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 06:59:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 06:59:16 Europe/Berlin] Session role: not set
[13-Dec-2025 06:59:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 05:59:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 05:59:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:00:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:00:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:00:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:00:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:00:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:00:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:00:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:00:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:00:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:00:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:00:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:00:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:01:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:01:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:01:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:01:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:01:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:01:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:01:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:01:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:01:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:01:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:01:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:01:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:02:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:02:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:02:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:02:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:02:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:02:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:02:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:02:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:02:15 Europe/Berlin] Session role: not set
[13-Dec-2025 07:02:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:02:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:02:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:03:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:03:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:03:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:03:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:03:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:03:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:03:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:03:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:03:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:03:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:03:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:03:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:04:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:04:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:04:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:04:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:04:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:04:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:04:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:04:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:04:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:04:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:04:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:04:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:05:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:05:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:05:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:05:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:05:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:05:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:05:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:05:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:05:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:05:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:06:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:06:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:06:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:06:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:06:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:06:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:06:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:06:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:06:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:06:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:07:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:07:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:07:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:07:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:07:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:07:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:07:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:07:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:07:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:07:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:08:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:08:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:08:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:08:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:08:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:08:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:08:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:08:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:08:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:08:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:09:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:09:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:09:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:09:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:09:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:09:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:09:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:09:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:09:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:09:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:09:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:09:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:10:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:10:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:10:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:10:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:10:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:10:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:10:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:10:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:10:15 Europe/Berlin] Session role: not set
[13-Dec-2025 07:10:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:10:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:10:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:11:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:11:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:11:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:11:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:11:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:11:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:11:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:11:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:11:15 Europe/Berlin] Session role: not set
[13-Dec-2025 07:11:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:11:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:11:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:12:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:12:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:12:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:12:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:12:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:12:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:12:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:12:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:12:15 Europe/Berlin] Session role: not set
[13-Dec-2025 07:12:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:12:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:12:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:13:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:13:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:13:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:13:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:13:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:13:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:13:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:13:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:13:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:13:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:13:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:13:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:14:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:14:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:14:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:14:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:14:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:14:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:14:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:14:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:14:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:14:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:15:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:15:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:15:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:15:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:15:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:15:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:15:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:15:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:15:16 Europe/Berlin] Session role: not set
[13-Dec-2025 07:15:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:15:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:15:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:50:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:50:08 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 07:50:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:50:08 Europe/Berlin] Session role: not set
[13-Dec-2025 07:50:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:50:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:50:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:50:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:50:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:50:18 Europe/Berlin] Session role: not set
[13-Dec-2025 07:50:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:50:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:50:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:50:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:51:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:51:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:51:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 07:51:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:19 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 06:51:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 06:51:19 UTC] Found 0 videos for teacher 28
[13-Dec-2025 07:51:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:51:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:21 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 07:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:37 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:37 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 06:51:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 06:51:37 UTC] Found 0 videos for teacher 28
[13-Dec-2025 07:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:51:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:38 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:51:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:51:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:51:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:51:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:51:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:51:52 Europe/Berlin] Session role: not set
[13-Dec-2025 07:51:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:51:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:51:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:08 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:22 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:38 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:52:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:52:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:52:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:52:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:52:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:52:52 Europe/Berlin] Session role: not set
[13-Dec-2025 07:52:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:52:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:52:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:08 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:22 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:38 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:53:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:53:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:53:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:53:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:53:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:53:52 Europe/Berlin] Session role: not set
[13-Dec-2025 07:53:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:53:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:53:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:08 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:21 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:23 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:38 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:54:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:54:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:54:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:54:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:54:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:54:52 Europe/Berlin] Session role: not set
[13-Dec-2025 07:54:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:54:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:54:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:55:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:55:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:55:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:55:08 Europe/Berlin] Session role: not set
[13-Dec-2025 07:55:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:55:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:55:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:55:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:55:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:55:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:55:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:55:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:55:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:55:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:55:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:55:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:55:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:55:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:55:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:55:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:55:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:55:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:55:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:55:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:55:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:55:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:55:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:55:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:55:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:55:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:55:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:55:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:55:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:55:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:55:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:55:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:55:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:56:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:56:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:56:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:56:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:56:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:56:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:56:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:56:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:56:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:56:45 Europe/Berlin] Session role: not set
[13-Dec-2025 07:56:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:56:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:56:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:56:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:56:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:56:45 Europe/Berlin] Session role: not set
[13-Dec-2025 07:56:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:56:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:56:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:56:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:56:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:56:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:56:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:56:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:56:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:56:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:56:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:56:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:57:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:57:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:57:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:57:29 Europe/Berlin] Session role: not set
[13-Dec-2025 07:57:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:57:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:57:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:57:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:57:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:57:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:57:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:57:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 06:57:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:57:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:57:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:57:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:57:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:57:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:57:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:57:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:57:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:57:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:57:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:57:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:57:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:57:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:57:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:58:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:58:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:58:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:58:19 Europe/Berlin] Session role: not set
[13-Dec-2025 07:58:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:58:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:58:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:58:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:58:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:58:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:58:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:58:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:58:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:58:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:58:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:58:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:58:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:58:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:58:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:58:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:58:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:58:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:58:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:58:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:58:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:58:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:58:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:58:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:58:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:58:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:59:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:59:20 Europe/Berlin] Session role: not set
[13-Dec-2025 07:59:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:59:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:59:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:59:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:59:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:59:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:59:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:59:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:59:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:59:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:59:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:59:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:59:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:59:44 Europe/Berlin] Session role: not set
[13-Dec-2025 07:59:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:59:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:59:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 07:59:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 07:59:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 07:59:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 07:59:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 07:59:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 07:59:49 Europe/Berlin] Session role: not set
[13-Dec-2025 07:59:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 06:59:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 06:59:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:00:20 Europe/Berlin] Session role: not set
[13-Dec-2025 08:00:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:00:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:00:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:00:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:00:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:00:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:00:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:00:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:00:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:00:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:00:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:00:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:00:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:00:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:00:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:00:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:00:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:00:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:00:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:00:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:00:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:00:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:00:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:00:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:00:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:00:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:01:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:01:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:01:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:01:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:01:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:01:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:01:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:01:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:01:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:01:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:01:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:01:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:01:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:01:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:01:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:01:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:01:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:01:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:01:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:01:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:01:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:01:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:01:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:01:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:01:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:01:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:01:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:01:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:01:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:01:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:02:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:02:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:02:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:02:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:02:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:02:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:02:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:02:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:02:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:02:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:02:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:02:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:02:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:02:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:02:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:02:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:02:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:02:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:02:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:02:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:02:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:02:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:02:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:02:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:02:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:02:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:02:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:02:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:02:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:03:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:03:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:03:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:03:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:03:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:03:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:03:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:03:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:03:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:03:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:03:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:03:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:03:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:03:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:03:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:03:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:03:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:04:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:04:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:04:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:04:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:04:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:04:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:04:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:04:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:04:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:05:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:05:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:05:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:05:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:05:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:05:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:05:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:06:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:06:20 Europe/Berlin] Session role: not set
[13-Dec-2025 08:06:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:06:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:06:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:06:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:06:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:06:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:55 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:06:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:06:55 Europe/Berlin] Session role: not set
[13-Dec-2025 08:06:55 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:06:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:06:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:07:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:07:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:07:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:07:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:07:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:07:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:07:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:08:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:08:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:08:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:08:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:08:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:08:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:08:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:08:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:09:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:09:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:09:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:09:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:09:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:10:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:10:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:10:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:10:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:11:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:11:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:11:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:11:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:11:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:11:21 Europe/Berlin] Session role: not set
[13-Dec-2025 08:11:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:11:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:11:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:11:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:11:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:11:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:11:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:11:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:11:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:11:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:11:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:12:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:12:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:12:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:12:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:12:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:12:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:12:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:12:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:12:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:13:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:13:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:13:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:13:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:13:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:13:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:13:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:13:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:13:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:13:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:13:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:13:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:13:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:13:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:13:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:13:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:13:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:13:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:13:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:14:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:14:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:14:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:14:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:14:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:14:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:14:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:14:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:14:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:14:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:14:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:14:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:14:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:14:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:14:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:14:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:15:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:15:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:15:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:15:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:15:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:15:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:15:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:15:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:15:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:15:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:15:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:15:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:15:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:15:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:16:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:16:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:16:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:16:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:16:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:16:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:16:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:16:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:16:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:16:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:16:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:16:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:16:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:16:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:16:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:16:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:16:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:16:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:16:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:17:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:17:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:17:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:17:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:17:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:17:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:17:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:17:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:17:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:17:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:17:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:18:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:18:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:18:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:18:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:18:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:18:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:18:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:18:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:18:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:19:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:19:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:19:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:19:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:19:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:19:28 Europe/Berlin] Session role: not set
[13-Dec-2025 08:19:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:19:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:19:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:19:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:19:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:20:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:20:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:20:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:20:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:20:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:20:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:20:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:20:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:20:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:21:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:21:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:21:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:21:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:21:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:21:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:21:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:21:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:21:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:21:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:22:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:22:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:22:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:22:20 Europe/Berlin] Session role: not set
[13-Dec-2025 08:22:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:22:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:22:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:22:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:22:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:22:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:22:52 Europe/Berlin] Session role: not set
[13-Dec-2025 08:22:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:22:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:22:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:22:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:22:54 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:22:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:22:54 Europe/Berlin] Session role: not set
[13-Dec-2025 08:22:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:22:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:22:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:22:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:22:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:22:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:22:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:22:56 Europe/Berlin] Session role: not set
[13-Dec-2025 08:22:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:22:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:22:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:23:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:23:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:23:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:23:26 Europe/Berlin] Session role: not set
[13-Dec-2025 08:23:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:23:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:23:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:23:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:23:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:23:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:23:56 Europe/Berlin] Session role: not set
[13-Dec-2025 08:23:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:23:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:23:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:23:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:23:58 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:23:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:23:58 Europe/Berlin] Session role: not set
[13-Dec-2025 08:23:58 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:23:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:23:58 UTC] DEBUG - File upload detected: music.connect31_7373129052460256529.mp4 (error: 0)
[13-Dec-2025 07:23:58 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d148eb4443.mp4
[13-Dec-2025 07:23:58 UTC] DEBUG - File upload successful: uploads/videos/video_693d148eb4443.mp4
[13-Dec-2025 07:23:58 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:23:58 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:52'
[13-Dec-2025 07:23:58 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d148eb4443.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:23:58 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/dZREfVaIkl8/maxresdefault.jpg
[13-Dec-2025 08:23:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:23:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:23:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:23:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:23:59 Europe/Berlin] Session role: not set
[13-Dec-2025 08:23:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:23:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:23:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:24:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:24:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:24:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:24:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:24:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:24:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:24:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:24:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:24:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:24:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:24:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:24:59 Europe/Berlin] Session role: not set
[13-Dec-2025 08:24:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:24:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:24:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:25:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:25:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:25:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:25:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:25:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:25:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:25:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:25:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:25:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:25:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:26:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:26:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:26:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:02 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:02 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:26:02 Europe/Berlin] Session role: not set
[13-Dec-2025 08:26:02 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:26:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:26:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:26:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:26:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:26:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:26:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:26:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:26:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:26:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:26:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:27:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:27:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:27:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:27:00 Europe/Berlin] Session role: not set
[13-Dec-2025 08:27:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:27:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:27:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:27:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:27:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:27:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:27:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:27:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:27:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:27:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:27:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:27:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:27:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:28:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:28:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:28:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:28:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:28:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:28:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:28:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:28:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:28:31 Europe/Berlin] Session role: not set
[13-Dec-2025 08:28:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:28:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:28:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:29:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:29:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:29:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:29:05 Europe/Berlin] Session role: not set
[13-Dec-2025 08:29:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:29:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:29:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:29:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:29:15 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:29:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:29:15 Europe/Berlin] Session role: not set
[13-Dec-2025 08:29:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:29:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:29:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:29:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:29:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:29:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:29:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:29:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:29:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:29:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:29:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:29:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:29:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:30:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:30:14 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:30:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:30:14 Europe/Berlin] Session role: not set
[13-Dec-2025 08:30:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:30:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:30:14 UTC] DEBUG - File upload detected: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (error: 0)
[13-Dec-2025 07:30:14 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d160694155.mp4
[13-Dec-2025 07:30:14 UTC] DEBUG - File upload successful: uploads/videos/video_693d160694155.mp4
[13-Dec-2025 07:30:14 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:30:14 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:55'
[13-Dec-2025 07:30:14 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d160694155.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:30:14 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/dZREfVaIkl8/maxresdefault.jpg
[13-Dec-2025 08:30:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:30:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:30:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:30:15 Europe/Berlin] Session role: not set
[13-Dec-2025 08:30:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:30:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:30:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:30:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:30:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:30:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:30:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:30:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:30:46 Europe/Berlin] Session role: not set
[13-Dec-2025 08:30:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:30:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:30:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:31:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:31:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:31:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:31:15 Europe/Berlin] Session role: not set
[13-Dec-2025 08:31:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:31:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:31:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:31:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:31:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:31:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:31:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:31:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:31:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:31:45 Europe/Berlin] Session role: not set
[13-Dec-2025 08:31:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:31:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:31:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:32:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:32:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:32:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:32:16 Europe/Berlin] Session role: not set
[13-Dec-2025 08:32:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:32:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:32:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:32:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:32:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:32:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:32:45 Europe/Berlin] Session role: not set
[13-Dec-2025 08:32:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:32:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:32:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:32:48 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 08:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:32:48 UTC] DEBUG - File upload detected: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (error: 0)
[13-Dec-2025 07:32:48 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d16a06fe71.mp4
[13-Dec-2025 07:32:48 UTC] DEBUG - File upload successful: uploads/videos/video_693d16a06fe71.mp4
[13-Dec-2025 07:32:48 UTC] DEBUG - Clearing YouTube thumbnail in file type
[13-Dec-2025 07:32:48 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:32:48 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:55'
[13-Dec-2025 07:32:48 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d16a06fe71.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:32:48 UTC] DEBUG - Thumbnail value: NULL
[13-Dec-2025 08:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:32:49 Europe/Berlin] Session role: not set
[13-Dec-2025 08:32:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:32:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:33:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:33:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:33:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:33:19 Europe/Berlin] Session role: not set
[13-Dec-2025 08:33:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:33:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:33:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:33:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:33:43 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:33:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:33:43 Europe/Berlin] Session role: not set
[13-Dec-2025 08:33:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:33:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:33:43 UTC] DEBUG - No new file uploaded, keeping existing file: uploads/videos/video_693d16a06fe71.mp4
[13-Dec-2025 07:33:43 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:33:43 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:29'
[13-Dec-2025 07:33:43 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d16a06fe71.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:33:43 UTC] DEBUG - Thumbnail value: NULL
[13-Dec-2025 08:33:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:33:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:33:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:33:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:33:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:33:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:33:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:33:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:33:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:34:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:34:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:34:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:34:14 Europe/Berlin] Session role: not set
[13-Dec-2025 08:34:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:34:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:34:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:34:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:34:15 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:34:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:34:15 Europe/Berlin] Session role: not set
[13-Dec-2025 08:34:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:34:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:34:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:34:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:34:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:34:16 Europe/Berlin] Session role: not set
[13-Dec-2025 08:34:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:34:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:34:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:34:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:34:46 Europe/Berlin] Session role: not set
[13-Dec-2025 08:34:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:34:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:34:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:35:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:35:06 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:35:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:35:06 Europe/Berlin] Session role: not set
[13-Dec-2025 08:35:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:35:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:35:06 UTC] DEBUG - File upload detected: dannygokey_7154418921423097131.mp4 (error: 0)
[13-Dec-2025 07:35:06 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d172ad7e73.mp4
[13-Dec-2025 07:35:06 UTC] DEBUG - File upload successful: uploads/videos/video_693d172ad7e73.mp4
[13-Dec-2025 07:35:06 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:35:06 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:29'
[13-Dec-2025 07:35:06 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d172ad7e73.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:35:06 UTC] DEBUG - Thumbnail value: NULL
[13-Dec-2025 08:35:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:35:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:35:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:35:07 Europe/Berlin] Session role: not set
[13-Dec-2025 08:35:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:35:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:35:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:35:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:35:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:35:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:35:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:35:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:35:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:35:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:35:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:35:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:36:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:36:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:36:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:36:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:36:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:36:08 Europe/Berlin] Session role: not set
[13-Dec-2025 08:36:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:36:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:36:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:36:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:36:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:36:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:36:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:36:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:36:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:36:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:36:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:37:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:37:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:37:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:37:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:37:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:37:09 Europe/Berlin] Session role: not set
[13-Dec-2025 08:37:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:37:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:37:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:37:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:37:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:37:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:37:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:37:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:37:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:37:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:37:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:37:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:37:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:38:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:38:02 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:38:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:02 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:02 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:38:02 Europe/Berlin] Session role: not set
[13-Dec-2025 08:38:02 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:38:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:38:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:38:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:38:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:38:03 Europe/Berlin] Session role: not set
[13-Dec-2025 08:38:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:38:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:38:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:38:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:38:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:38:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:38:33 Europe/Berlin] Session role: not set
[13-Dec-2025 08:38:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:38:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:38:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:38:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:38:39 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:38:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:38:39 Europe/Berlin] Session role: not set
[13-Dec-2025 08:38:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:38:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:38:39 UTC] DEBUG - File upload detected: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (error: 0)
[13-Dec-2025 07:38:39 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d17ff21bc9.mp4
[13-Dec-2025 07:38:39 UTC] DEBUG - File upload successful: uploads/videos/video_693d17ff21bc9.mp4
[13-Dec-2025 07:38:39 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:38:39 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:55'
[13-Dec-2025 07:38:39 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d17ff21bc9.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:38:39 UTC] DEBUG - Thumbnail value: NULL
[13-Dec-2025 08:38:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:38:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:38:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:38:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:38:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:38:39 Europe/Berlin] Session role: not set
[13-Dec-2025 08:38:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:38:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:38:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:39:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:39:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:39:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:39:09 Europe/Berlin] Session role: not set
[13-Dec-2025 08:39:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:39:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:39:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:39:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:39:12 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 08:39:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:39:12 Europe/Berlin] Session role: not set
[13-Dec-2025 08:39:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:39:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:39:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:39:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:39:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:39:13 Europe/Berlin] Session role: not set
[13-Dec-2025 08:39:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:39:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:39:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:39:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:39:42 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:39:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:39:42 Europe/Berlin] Session role: not set
[13-Dec-2025 08:39:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:39:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:39:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:39:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:39:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:39:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:39:43 Europe/Berlin] Session role: not set
[13-Dec-2025 08:39:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:39:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:39:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:40:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:40:20 Europe/Berlin] Session role: not set
[13-Dec-2025 08:40:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:40:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:40:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:40:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:40:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:40:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:40:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:40:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:40:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:40:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:40:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:41:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:41:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:41:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:41:14 Europe/Berlin] Session role: not set
[13-Dec-2025 08:41:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:41:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:41:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:41:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:41:29 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:41:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:41:29 Europe/Berlin] Session role: not set
[13-Dec-2025 08:41:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:41:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:41:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:41:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:41:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:41:29 Europe/Berlin] Session role: not set
[13-Dec-2025 08:41:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:41:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:41:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:41:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:41:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:41:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:41:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:41:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:41:59 Europe/Berlin] Session role: not set
[13-Dec-2025 08:41:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:41:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:41:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:42:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:13 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:42:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:13 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:42:13 UTC] DEBUG - File upload detected: dannygokey_7154418921423097131.mp4 (error: 0)
[13-Dec-2025 07:42:13 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d18d536845.mp4
[13-Dec-2025 07:42:13 UTC] DEBUG - File upload successful: uploads/videos/video_693d18d536845.mp4
[13-Dec-2025 07:42:13 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:42:13 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:29'
[13-Dec-2025 07:42:13 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d18d536845.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:42:13 UTC] DEBUG - Thumbnail value: uploads/thumbnails/thumb_693d17ff236bf.jpeg
[13-Dec-2025 08:42:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:42:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:13 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:42:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:42:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:23 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:42:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:23 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:42:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:42:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:23 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:42:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:42:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:29 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:42:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:29 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:42:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:42:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:42:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:42:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:42:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:42:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:42:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:42:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:42:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:43:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:43:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:00 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:43:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:43:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:07 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 08:43:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:07 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:43:07 UTC] DEBUG - File upload detected: dannygokey_7154418921423097131.mp4 (error: 0)
[13-Dec-2025 07:43:07 UTC] DEBUG - Attempting to move file to: /home/twpurnyc/public_html/teacher/../uploads/videos/video_693d190b92e66.mp4
[13-Dec-2025 07:43:07 UTC] DEBUG - File upload successful: uploads/videos/video_693d190b92e66.mp4
[13-Dec-2025 07:43:07 UTC] DEBUG - Updating video ID: 30
[13-Dec-2025 07:43:07 UTC] DEBUG - Parameters: title='This is an update web development update', description='Welcome to Web development', course_id=14, is_published=1, duration='0:29'
[13-Dec-2025 07:43:07 UTC] DEBUG - Video params: video_type='file', video_url='uploads/videos/video_693d190b92e66.mp4', external_url='', platform='', video_id_external='', embed_code=''
[13-Dec-2025 07:43:07 UTC] DEBUG - Thumbnail value: uploads/thumbnails/thumb_693d18d5375f8.png
[13-Dec-2025 08:43:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:43:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:08 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:43:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:43:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:26 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 08:43:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:26 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:43:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:43:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:26 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:43:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:43:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:29 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:43:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:29 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:43:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:43:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:43:30 Europe/Berlin] Session role: not set
[13-Dec-2025 08:43:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:43:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:43:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:44:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:44:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:44:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:44:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:44:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:44:01 Europe/Berlin] Session role: not set
[13-Dec-2025 08:44:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:44:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:44:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:44:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:44:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:44:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:44:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:44:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:44:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:44:31 Europe/Berlin] Session role: not set
[13-Dec-2025 08:44:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:44:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:44:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:45:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:45:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:45:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:45:06 Europe/Berlin] Session role: not set
[13-Dec-2025 08:45:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:45:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:45:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:45:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:45:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:45:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:45:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:45:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:45:31 Europe/Berlin] Session role: not set
[13-Dec-2025 08:45:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:45:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:45:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:46:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:46:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:46:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:46:01 Europe/Berlin] Session role: not set
[13-Dec-2025 08:46:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:46:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:46:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:46:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:46:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:46:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:46:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:46:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:46:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:46:31 Europe/Berlin] Session role: not set
[13-Dec-2025 08:46:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:46:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:46:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:47:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:47:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:47:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:47:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:47:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:47:01 Europe/Berlin] Session role: not set
[13-Dec-2025 08:47:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:47:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:47:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:47:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:47:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:47:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:47:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:47:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:47:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:47:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:47:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:47:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:47:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:48:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:48:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:48:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:48:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:48:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:48:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:48:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:48:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:48:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:48:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:49:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:49:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:49:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:49:14 Europe/Berlin] Session role: not set
[13-Dec-2025 08:49:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:49:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:49:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:49:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:49:16 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:49:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:49:16 Europe/Berlin] Session role: not set
[13-Dec-2025 08:49:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:49:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:49:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:49:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:49:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:49:16 Europe/Berlin] Session role: not set
[13-Dec-2025 08:49:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:49:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:49:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:49:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:49:34 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:49:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:49:34 Europe/Berlin] Session role: not set
[13-Dec-2025 08:49:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:49:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:49:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:49:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:49:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:49:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:49:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:49:35 Europe/Berlin] Session role: not set
[13-Dec-2025 08:49:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:49:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:49:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:50:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:50:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:50:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:50:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:50:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:50:06 Europe/Berlin] Session role: not set
[13-Dec-2025 08:50:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:50:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:50:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:50:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:50:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:50:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:50:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:50:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:50:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:50:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:50:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:51:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:51:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:51:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:51:06 Europe/Berlin] Session role: not set
[13-Dec-2025 08:51:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:51:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:51:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:51:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:51:23 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:51:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:51:23 Europe/Berlin] Session role: not set
[13-Dec-2025 08:51:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:51:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:51:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:51:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:51:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:51:23 Europe/Berlin] Session role: not set
[13-Dec-2025 08:51:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:51:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:51:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:51:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:51:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:51:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:51:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:51:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:51:54 Europe/Berlin] Session role: not set
[13-Dec-2025 08:51:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:51:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:51:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:52:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:52:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:52:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:52:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:52:24 Europe/Berlin] Session role: not set
[13-Dec-2025 08:52:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:52:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:52:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:52:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:52:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:52:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:52:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:52:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:52:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:52:54 Europe/Berlin] Session role: not set
[13-Dec-2025 08:52:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:52:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:52:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:53:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:53:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:53:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:53:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:53:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:53:24 Europe/Berlin] Session role: not set
[13-Dec-2025 08:53:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:53:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:53:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:53:59 Europe/Berlin] Session role: not set
[13-Dec-2025 08:53:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:53:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:54:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:54:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:54:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:54:24 Europe/Berlin] Session role: not set
[13-Dec-2025 08:54:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:54:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:54:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:54:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:54:37 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:54:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:54:37 Europe/Berlin] Session role: not set
[13-Dec-2025 08:54:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:54:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:54:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:54:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:54:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:54:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:54:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:54:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:54:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:54:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:55:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:55:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:55:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:55:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:55:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:55:09 Europe/Berlin] Session role: not set
[13-Dec-2025 08:55:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:55:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:55:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:55:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:55:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:55:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:55:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:55:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:55:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:55:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:55:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:55:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:55:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:56:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:56:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:56:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:56:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:56:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:56:09 Europe/Berlin] Session role: not set
[13-Dec-2025 08:56:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:56:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:56:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:56:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:56:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:56:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:56:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:56:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:56:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:56:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:56:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:56:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:56:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:57:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:57:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:57:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:57:08 Europe/Berlin] Session role: not set
[13-Dec-2025 08:57:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:57:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:57:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:57:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:57:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:57:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:57:38 Europe/Berlin] Session role: not set
[13-Dec-2025 08:57:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:57:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:57:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:58:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:58:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:58:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:58:08 Europe/Berlin] Session role: not set
[13-Dec-2025 08:58:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:58:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:58:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:58:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:58:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:58:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:58:39 Europe/Berlin] Session role: not set
[13-Dec-2025 08:58:39 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:58:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:58:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:58:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:58:41 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 08:58:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:58:41 Europe/Berlin] Session role: not set
[13-Dec-2025 08:58:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:58:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:58:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:58:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:58:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:58:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:58:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:58:41 Europe/Berlin] Session role: not set
[13-Dec-2025 08:58:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:58:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:58:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:59:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:59:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:59:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:59:12 Europe/Berlin] Session role: not set
[13-Dec-2025 08:59:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:59:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:59:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 08:59:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:59:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 08:59:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 08:59:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 08:59:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 08:59:44 Europe/Berlin] Session role: not set
[13-Dec-2025 08:59:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 07:59:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 07:59:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:00:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:00:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:00:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:00:11 Europe/Berlin] Session role: not set
[13-Dec-2025 09:00:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:00:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:00:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:00:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:00:13 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:00:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:00:13 Europe/Berlin] Session role: not set
[13-Dec-2025 09:00:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:00:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:00:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:00:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:00:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:00:14 Europe/Berlin] Session role: not set
[13-Dec-2025 09:00:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:00:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:00:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:00:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:00:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:00:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:00:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:00:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:00:45 Europe/Berlin] Session role: not set
[13-Dec-2025 09:00:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:00:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:00:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:01:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:01:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:01:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:01:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:01:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:01:14 Europe/Berlin] Session role: not set
[13-Dec-2025 09:01:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:01:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:01:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:01:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:01:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:01:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:01:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:01:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:01:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:01:45 Europe/Berlin] Session role: not set
[13-Dec-2025 09:01:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:01:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:01:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:02:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:02:09 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:02:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:02:09 Europe/Berlin] Session role: not set
[13-Dec-2025 09:02:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:02:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:02:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:02:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:02:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:02:09 Europe/Berlin] Session role: not set
[13-Dec-2025 09:02:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:02:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:02:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:02:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:02:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:02:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:02:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:02:40 Europe/Berlin] Session role: not set
[13-Dec-2025 09:02:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:02:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:02:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:03:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:03:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:03:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:03:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:03:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:03:11 Europe/Berlin] Session role: not set
[13-Dec-2025 09:03:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:03:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:03:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:03:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:03:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:03:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:03:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:03:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:03:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:03:40 Europe/Berlin] Session role: not set
[13-Dec-2025 09:03:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:03:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:03:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:04:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:04:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:04:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:04:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:04:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:04:10 Europe/Berlin] Session role: not set
[13-Dec-2025 09:04:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:04:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:04:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:04:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:04:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:04:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:04:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:04:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:04:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:04:40 Europe/Berlin] Session role: not set
[13-Dec-2025 09:04:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:04:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:04:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:05:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:05:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:10 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:05:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:05:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:13 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:05:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:13 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:05:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:05:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:15 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:05:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:05:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:18 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:05:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:18 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:05:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:05:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:19 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:05:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:06:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:06:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:06:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:06:19 Europe/Berlin] Session role: not set
[13-Dec-2025 09:06:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:06:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:06:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:07:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:07:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:07:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:07:20 Europe/Berlin] Session role: not set
[13-Dec-2025 09:07:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:07:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:07:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:07:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:07:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:07:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:07:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:07:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:07:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:07:50 Europe/Berlin] Session role: not set
[13-Dec-2025 09:07:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:07:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:07:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:08:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:08:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:08:20 Europe/Berlin] Session role: not set
[13-Dec-2025 09:08:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:08:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:08:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:08:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:08:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:08:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:08:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:08:50 Europe/Berlin] Session role: not set
[13-Dec-2025 09:08:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:08:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:08:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:09:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:09:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:09:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:09:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:09:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:09:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:09:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:09:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:09:44 Europe/Berlin] Session role: not set
[13-Dec-2025 09:09:44 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:09:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:09:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:10:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:10:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:10:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:10:04 Europe/Berlin] Session role: not set
[13-Dec-2025 09:10:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:10:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:10:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:10:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:10:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:10:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:10:25 Europe/Berlin] Session role: not set
[13-Dec-2025 09:10:25 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:10:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:10:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:10:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:10:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:10:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:10:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:10:50 Europe/Berlin] Session role: not set
[13-Dec-2025 09:10:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:10:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:10:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:11:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:11:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:11:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:11:22 Europe/Berlin] Session role: not set
[13-Dec-2025 09:11:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:11:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:11:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:11:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:11:32 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:11:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:11:32 Europe/Berlin] Session role: not set
[13-Dec-2025 09:11:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:11:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:11:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:11:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:11:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:11:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:11:32 Europe/Berlin] Session role: not set
[13-Dec-2025 09:11:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:11:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:11:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:12:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:12:03 Europe/Berlin] Session role: not set
[13-Dec-2025 09:12:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:12:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:12:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:12:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:12:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:12:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:12:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:12:33 Europe/Berlin] Session role: not set
[13-Dec-2025 09:12:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:12:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:12:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:13:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:13:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:13:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:13:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:13:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:13:03 Europe/Berlin] Session role: not set
[13-Dec-2025 09:13:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:13:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:13:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:13:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:13:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:13:34 Europe/Berlin] Session role: not set
[13-Dec-2025 09:13:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:13:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:13:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:14:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:14:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:14:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:14:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:14:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:14:03 Europe/Berlin] Session role: not set
[13-Dec-2025 09:14:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:14:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:14:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:14:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:14:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:14:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:14:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:14:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:14:33 Europe/Berlin] Session role: not set
[13-Dec-2025 09:14:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:14:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:14:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:43:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:43:17 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 09:43:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:43:17 Europe/Berlin] Session role: not set
[13-Dec-2025 09:43:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:43:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:43:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:43:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:43:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:43:24 Europe/Berlin] Session role: not set
[13-Dec-2025 09:43:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:43:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:43:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:43:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:43:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:43:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:43:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:43:54 Europe/Berlin] Session role: not set
[13-Dec-2025 09:43:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:43:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:43:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 09:44:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:16 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:16 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 08:44:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 08:44:16 UTC] Found 0 videos for teacher 28
[13-Dec-2025 09:44:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:17 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:24 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 09:44:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:25 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:25 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:25 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 08:44:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 08:44:25 UTC] Found 0 videos for teacher 28
[13-Dec-2025 09:44:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:26 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:54 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:44:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:44:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:44:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:44:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:44:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:44:56 Europe/Berlin] Session role: not set
[13-Dec-2025 09:44:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:44:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:44:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:18 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:24 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:26 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:54 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:45:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:45:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:45:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:45:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:45:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:45:56 Europe/Berlin] Session role: not set
[13-Dec-2025 09:45:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:45:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:45:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:18 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:24 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:26 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:54 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:46:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:46:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:46:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:46:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:46:56 Europe/Berlin] Session role: not set
[13-Dec-2025 09:46:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:46:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:46:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:47:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:47:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:47:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:47:18 Europe/Berlin] Session role: not set
[13-Dec-2025 09:47:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:47:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:47:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:47:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:47:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:47:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:47:26 Europe/Berlin] Session role: not set
[13-Dec-2025 09:47:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:47:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:47:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:47:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:47:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:47:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:47:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:47:56 Europe/Berlin] Session role: not set
[13-Dec-2025 09:47:56 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:47:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:47:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:48:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:48:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:48:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:48:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:48:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:48:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:48:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:48:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:48:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:50:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:50:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:50:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:50:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:52:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:52:49 Europe/Berlin] Session role: not set
[13-Dec-2025 09:52:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:52:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:52:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 08:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 09:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 09:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 09:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 09:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 09:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 08:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 08:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:02:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:02:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:02:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:02:50 Europe/Berlin] Session role: not set
[13-Dec-2025 10:02:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:02:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:02:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:02:50 Europe/Berlin] Session role: not set
[13-Dec-2025 10:02:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:02:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:02:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:02:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:02:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:02:50 Europe/Berlin] Session role: not set
[13-Dec-2025 10:02:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:02:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:02:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:03:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:03:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:05:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:05:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:05:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:05:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:05:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:05:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:08:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:08:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:08:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:08:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:15:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:15:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:15:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:15:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:15:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:15:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:15:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:15:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:15:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:20:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:20:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:20:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:20:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:20:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:20:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:20:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:20:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:20:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:20:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:20:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:20:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:21:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:21:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:21:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:27:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:27:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:27:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:27:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:27:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:27:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:33:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:33:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:33:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:33:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:33:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:33:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:33:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:33:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:33:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:33:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:33:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:33:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:33:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:33:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:38:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:38:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:38:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:38:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:39:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:39:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:39:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:39:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:39:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:39:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:39:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:39:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:43:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:43:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:43:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:43:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:43:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:43:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:43:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:43:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:44:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:45:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:45:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:45:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:45:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:45:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:45:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:45:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:46:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:46:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:46:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:46:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:46:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 10:46:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:46:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:49:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 09:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 10:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 10:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 10:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 10:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 10:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 09:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 09:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:03:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:03:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:06:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:06:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:06:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:07:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:07:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:07:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:07:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:07:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:07:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:07:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:07:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:08:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:08:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:08:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:08:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:08:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:08:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:08:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:08:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:08:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:08:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:08:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:08:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:08:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:08:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:08:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:08:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:08:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:09:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:09:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:09:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:09:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:09:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:09:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:10:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:10:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:10:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:15:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:15:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:15:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:17:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:17:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:17:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:18:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:18:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:18:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:18:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:18:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:18:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:18:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:18:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:19:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:19:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:19:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:19:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:19:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:19:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:19:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:19:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:20:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:20:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:20:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:20:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:20:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:20:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:21:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:21:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:21:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:21:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:21:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:22:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:24:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:24:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:24:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:24:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:24:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:24:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:24:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:24:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:24:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:24:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:24:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:24:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:26:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:26:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:26:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:26:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:26:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:26:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:26:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:26:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:27:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:27:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:27:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:32:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:32:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:32:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:32:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:33:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:33:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:33:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:33:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:33:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:33:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:33:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:33:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:33:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:33:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:33:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:33:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:33:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:33:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:33:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:33:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:33:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:33:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:33:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:33:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:33:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:35:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:35:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:35:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:35:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:36:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:36:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:36:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:36:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:37:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:37:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:37:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:41:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:41:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:42:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:42:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:42:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:43:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:43:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:43:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:43:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:48:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:48:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:49:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:49:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:49:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:49:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:49:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:49:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:49:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:49:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:51:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:51:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:51:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:51:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:51:49 Europe/Berlin] Session role: not set
[13-Dec-2025 11:51:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:51:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:57:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:57:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:57:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:58:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:58:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 10:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 11:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 11:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 11:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 10:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 10:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:05:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:05:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:06:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:06:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:23 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:06:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:06:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:27 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 12:06:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:27 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:27 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:06:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:06:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:28 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:06:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:06:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:06:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:06:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:06:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:06:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:06:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:06:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:06:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:06:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:06:58 Europe/Berlin] Session role: not set
[13-Dec-2025 12:06:58 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:06:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:06:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:07:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:07:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:07:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:07:28 Europe/Berlin] Session role: not set
[13-Dec-2025 12:07:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:07:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:07:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:07:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:07:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:07:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:07:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:07:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:07:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:07:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:07:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:07:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:07:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:07:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:07:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:07:59 Europe/Berlin] Session role: not set
[13-Dec-2025 12:07:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:07:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:07:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:08:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:08:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:08:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:08:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:08:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:08:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:08:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:08:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:08:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:08:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:08:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:08:52 Europe/Berlin] Session role: not set
[13-Dec-2025 12:08:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:08:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:08:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:08:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:08:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:08:52 Europe/Berlin] Session role: not set
[13-Dec-2025 12:08:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:08:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:08:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:08:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:08:59 Europe/Berlin] Session role: not set
[13-Dec-2025 12:08:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:08:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:08:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:09:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:09:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:09:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:09:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:09:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:09:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:09:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:09:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:09:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:09:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:09:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:09:59 Europe/Berlin] Session role: not set
[13-Dec-2025 12:09:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:09:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:09:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:12:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:12:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:12:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:13:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:13:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:26 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:13:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:13:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:13:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:28 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:13:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:13:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:51 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 12:13:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:51 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:13:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:13:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:13:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:13:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:13:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:13:52 Europe/Berlin] Session role: not set
[13-Dec-2025 12:13:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:13:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:13:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:14:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:14 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:14:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:14 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:14 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:14 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:14:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:14:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:15 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:14:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:14:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:14:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:14:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:14:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:14:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:45 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:14:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:15:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:15:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:15:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:15:15 Europe/Berlin] Session role: not set
[13-Dec-2025 12:15:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:15:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:15:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:15:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:15:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:15:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:15:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:15:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:15:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:15:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:15:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:15:45 Europe/Berlin] Session role: not set
[13-Dec-2025 12:15:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:15:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:15:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:15:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:15:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:15 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:15 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:15 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:29 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 12:16:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:29 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:29 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:16:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:16:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:16:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:16:59 Europe/Berlin] Session role: not set
[13-Dec-2025 12:16:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:16:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:16:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:17:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:17:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:17:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:17:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:17:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:17:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:17:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:17:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:17:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:17:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:17:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:17:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:17:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:17:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:17:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:17:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:17:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:17:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:18:00 Europe/Berlin] Session role: not set
[13-Dec-2025 12:18:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:18:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:18:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:18:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:18:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:18:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:18:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:18:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:18:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:18:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:18:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:18:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:18:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:18:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:18:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:18:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:18:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:18:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:18:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:18:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:18:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:18:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:19:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:19:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:00 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:19:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:19:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:29 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:19:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:29 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:19:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:19:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:29 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:19:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:19:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:19:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:19:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:19:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:19:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:20:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:20:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:20:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:20:01 Europe/Berlin] Session role: not set
[13-Dec-2025 12:20:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:20:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:20:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:20:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:20:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:20:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:20:32 Europe/Berlin] Session role: not set
[13-Dec-2025 12:20:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:20:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:20:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:20:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:20:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:20:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:20:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:20:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:20:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:20:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:20:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:20:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:20:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:20:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:20:51 Europe/Berlin] Session role: not set
[13-Dec-2025 12:20:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:20:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:20:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:21:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:21:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:21:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:21:01 Europe/Berlin] Session role: not set
[13-Dec-2025 12:21:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:21:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:21:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:21:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:21:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:21:31 Europe/Berlin] Session role: not set
[13-Dec-2025 12:21:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:21:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:21:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:21:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:21:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:21:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:21:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:21:59 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[13-Dec-2025 12:21:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:21:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:21:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:21:59 Europe/Berlin] Session role: not set
[13-Dec-2025 12:21:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:21:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:22:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:01 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 USER ID: NOT SET
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 USER ROLE: NOT SET
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 SESSION STATUS: 1
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 SESSION ID: 
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[13-Dec-2025 12:22:26 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 28
    [video_url] => https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
    [detected_platform] => youtube
    [video_id_external] => MyCvTSjkD74
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 8:26
    [video_type] => url
    [manual_duration] => 
    [title] => 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
    [course_id] => 14
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[13-Dec-2025 12:22:26 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[13-Dec-2025 12:22:26 Europe/Berlin] 📥 REQUEST METHOD: POST
[13-Dec-2025 12:22:26 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[13-Dec-2025 12:22:26 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[13-Dec-2025 12:22:26 Europe/Berlin] 📋 ALL POST DATA:
[13-Dec-2025 12:22:26 Europe/Berlin]   form_type: video_upload
[13-Dec-2025 12:22:26 Europe/Berlin]   teacher_id: 28
[13-Dec-2025 12:22:26 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[13-Dec-2025 12:22:26 Europe/Berlin]   detected_platform: youtube
[13-Dec-2025 12:22:26 Europe/Berlin]   video_id_external: MyCvTSjkD74
[13-Dec-2025 12:22:26 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/MyCvTSjkD74?rel=0&showinfo=0&mo...
[13-Dec-2025 12:22:26 Europe/Berlin]   detected_duration: 8:26
[13-Dec-2025 12:22:26 Europe/Berlin]   video_type: url
[13-Dec-2025 12:22:26 Europe/Berlin]   manual_duration: 
[13-Dec-2025 12:22:26 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[13-Dec-2025 12:22:26 Europe/Berlin]   course_id: 14
[13-Dec-2025 12:22:26 Europe/Berlin]   description: welcome
[13-Dec-2025 12:22:26 Europe/Berlin]   category_name: Learning and Development
[13-Dec-2025 12:22:26 Europe/Berlin]   is_published: 1
[13-Dec-2025 12:22:26 Europe/Berlin]   content_types: [quiz]
[13-Dec-2025 12:22:26 Europe/Berlin]   ajax: 1
[13-Dec-2025 12:22:26 Europe/Berlin] 📂 ALL FILES DATA:
[13-Dec-2025 12:22:26 Europe/Berlin]   video:  (0 bytes, error: 4)
[13-Dec-2025 12:22:26 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[13-Dec-2025 12:22:26 Europe/Berlin]   video_type: url
[13-Dec-2025 12:22:26 Europe/Berlin]   video_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[13-Dec-2025 12:22:26 Europe/Berlin]   detected_platform: youtube
[13-Dec-2025 12:22:26 Europe/Berlin]   video_id_external: MyCvTSjkD74
[13-Dec-2025 12:22:26 Europe/Berlin]   embed_code: HAS_VALUE
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[13-Dec-2025 12:22:26 Europe/Berlin]   video_type: url
[13-Dec-2025 12:22:26 Europe/Berlin]   $_FILES available: YES
[13-Dec-2025 12:22:26 Europe/Berlin]   $_FILES keys: video, thumbnail
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[13-Dec-2025 12:22:26 Europe/Berlin]   platform: youtube
[13-Dec-2025 12:22:26 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[13-Dec-2025 12:22:26 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[13-Dec-2025 12:22:26 Europe/Berlin]   detected_duration: 8:26
[13-Dec-2025 12:22:26 Europe/Berlin]   manual_duration: 
[13-Dec-2025 12:22:26 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[13-Dec-2025 12:22:26 Europe/Berlin] 🎯 FOUND detected_duration field: 8:26
[13-Dec-2025 12:22:26 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 8:26
[13-Dec-2025 12:22:26 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[13-Dec-2025 12:22:26 Europe/Berlin]   teacher_id: 14
[13-Dec-2025 12:22:26 Europe/Berlin]   course_id: 14
[13-Dec-2025 12:22:26 Europe/Berlin]   title: 👩🏼‍💻 What is Bootstrap? / Beginner CSS Framework
[13-Dec-2025 12:22:26 Europe/Berlin]   description: welcome
[13-Dec-2025 12:22:26 Europe/Berlin]   video_type: url
[13-Dec-2025 12:22:26 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[13-Dec-2025 12:22:26 Europe/Berlin]   external_url: https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_
[13-Dec-2025 12:22:26 Europe/Berlin]   platform: youtube
[13-Dec-2025 12:22:26 Europe/Berlin]   video_id_ext: MyCvTSjkD74
[13-Dec-2025 12:22:26 Europe/Berlin]   duration: 8:26
[13-Dec-2025 12:22:26 Europe/Berlin]   is_published: 1
[13-Dec-2025 12:22:26 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[13-Dec-2025 12:22:26 Europe/Berlin]   SQL prepared successfully
[13-Dec-2025 12:22:26 Europe/Berlin]   About to execute with bound parameters
[13-Dec-2025 12:22:26 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[13-Dec-2025 12:22:26 Europe/Berlin]   Generated video_id: 31
[13-Dec-2025 12:22:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:28 Europe/Berlin] Teacher Auth Check - Script: videos.php
[13-Dec-2025 12:22:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:28 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:28 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:22:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:30 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:22:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:35 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 12:22:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:35 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:22:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:36 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:22:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:41 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:22:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:41 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:22:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:42 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:23:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:23:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:23:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:13 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:23:13 Europe/Berlin] Session role: not set
[13-Dec-2025 12:23:13 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:23:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:23:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:23:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:23:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:23:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:23:42 Europe/Berlin] Session role: not set
[13-Dec-2025 12:23:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:23:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:23:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:24:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:24:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:24:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:24:12 Europe/Berlin] Session role: not set
[13-Dec-2025 12:24:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:24:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:24:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:24:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:24:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:24:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:42 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:24:42 Europe/Berlin] Session role: not set
[13-Dec-2025 12:24:42 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:24:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:24:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:12 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:12 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:12 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:16 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:25:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:16 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:16 UTC] DEBUG - Updating video ID: 31
[13-Dec-2025 11:25:16 UTC] DEBUG - Parameters: title='TrackDuck web feedback tool explained in 1min', description='welcome', course_id=14, is_published=1, duration='0:57'
[13-Dec-2025 11:25:16 UTC] DEBUG - Video params: video_type='url', video_url='', external_url='https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_', platform='youtube', video_id_external='MyCvTSjkD74', embed_code=''
[13-Dec-2025 11:25:16 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[13-Dec-2025 12:25:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:16 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:33 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:47 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:26:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:26:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:26:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:33 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:26:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:33 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:33 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:33 UTC] DEBUG - Updating video ID: 31
[13-Dec-2025 11:26:33 UTC] DEBUG - Parameters: title='TrackDuck web feedback tool explained in 1min', description='welcome', course_id=14, is_published=1, duration='0:57'
[13-Dec-2025 11:26:33 UTC] DEBUG - Video params: video_type='url', video_url='', external_url='https://youtu.be/MyCvTSjkD74?si=ajuwyBc_zVsSYbn_', platform='youtube', video_id_external='MyCvTSjkD74', embed_code=''
[13-Dec-2025 11:26:33 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[13-Dec-2025 12:26:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:26:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:34 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:27:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:27:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:27:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:04 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:27:04 Europe/Berlin] Session role: not set
[13-Dec-2025 12:27:04 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:27:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:27:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:27:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:27:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:27:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:27:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:27:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:27:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:27:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:27:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:27:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:27:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:27:35 Europe/Berlin] Session role: not set
[13-Dec-2025 12:27:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:27:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:27:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:27:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:27:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:27:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:27:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:28:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:28:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:28:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:28:05 Europe/Berlin] Session role: not set
[13-Dec-2025 12:28:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:28:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:28:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:28:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:28:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:28:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:28:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:28:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:28:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:28:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:28:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:28:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:28:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:28:35 Europe/Berlin] Session role: not set
[13-Dec-2025 12:28:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:28:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:28:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:28:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:28:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:28:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:28:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:28:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:28:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:28:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:28:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:05 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:05 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:05 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:26 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[13-Dec-2025 12:29:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:26 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:26 UTC] DEBUG - Updating video ID: 31
[13-Dec-2025 11:29:26 UTC] DEBUG - Parameters: title='TrackDuck web feedback tool explained in 1min', description='welcome', course_id=14, is_published=1, duration='0:57'
[13-Dec-2025 11:29:26 UTC] DEBUG - Video params: video_type='url', video_url='', external_url='https://youtu.be/dZREfVaIkl8?si=0MgwgzZQjAchKcRx', platform='youtube', video_id_external='dZREfVaIkl8', embed_code='<iframe width="100%" height="315" src="https://www.youtube.com/embed/dZREfVaIkl8?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'
[13-Dec-2025 11:29:26 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/MyCvTSjkD74/maxresdefault.jpg
[13-Dec-2025 12:29:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:26 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 12:29:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:46 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:46 UTC] Fetching videos for teacher_id: 28
[13-Dec-2025 11:29:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[13-Dec-2025 11:29:46 UTC] Found 0 videos for teacher 28
[13-Dec-2025 12:29:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:47 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765593869
    [last_regeneration] => 1765593869
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765593869
    [session_started_at] => 2025-12-13 03:44:30
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
    [error] => Video not found or you don't have permission to edit it.
)

[13-Dec-2025 12:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:30:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:30:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:30:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
)

[13-Dec-2025 12:30:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
)

[13-Dec-2025 12:30:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:18 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
)

[13-Dec-2025 12:30:18 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:30:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:30:18 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:30:18 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:30:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:30:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:30:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:30:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:30:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:30:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:30:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:31:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:31:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:31:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:31:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:31:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:31:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:31:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:31:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:31:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:31:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:31:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:31:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:31:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:32:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:32:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:32:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:32:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:32:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:32:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:33:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:33:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:33:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:33:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:33:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:33:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:33:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:33:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:33:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:33:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:33:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:33:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:33:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:33:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:33:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:33:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:33:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:33:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:33:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:34:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:34:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:34:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:34:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:34:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:34:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:34:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:34:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:34:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:35:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:35:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:35:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:35:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:35:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:35:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:35:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:35:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:35:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:35:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:35:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:35:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:35:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:35:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:36:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:36:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:36:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:36:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:36:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:36:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:36:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:36:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:36:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:36:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:37:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:37:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:37:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:37:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:37:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:37:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:37:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:37:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:37:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:37:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:37:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:37:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:37:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:37:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:38:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:38:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:38:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:38:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:38:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:38:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:39:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:39:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:39:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 11:39:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:39:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:39:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:39:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:39:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:40:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:40:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:40:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:40:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:40:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:41:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:41:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:41:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:41:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:41:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:41:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:41:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:41:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:41:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:41:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:41:50 Europe/Berlin] Session role: not set
[13-Dec-2025 12:41:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:41:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:41:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:42:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:42:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:42:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:42:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:43:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:43:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:43:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:43:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:43:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:43:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:43:52 Europe/Berlin] Session role: not set
[13-Dec-2025 12:43:52 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:43:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:43:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:43:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:43:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:43:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:43:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:43:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:43:52 Europe/Berlin] Session role: not set
[13-Dec-2025 12:43:52 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:43:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:43:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:44:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:44:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:44:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:44:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:44:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:44:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:44:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:44:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:44:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:44:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:44:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:44:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:44:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:45:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:45:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:45:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:45:53 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:45:53 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:53 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:45:53 Europe/Berlin] Session role: not set
[13-Dec-2025 12:45:53 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:45:54 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:45:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:45:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:45:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:45:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:45:58 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:58 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:45:58 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:45:58 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:45:58 Europe/Berlin] Session role: not set
[13-Dec-2025 12:45:58 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:45:58 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:45:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:46:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:46:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:46:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:46:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:46:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:47:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:47:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:47:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:47:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:47:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:47:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:47:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:47:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:47:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:47:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:47:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:47:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:47:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:47:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:47:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:47:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:47:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:47:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:47:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:48:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:48:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:48:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:48:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:48:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:48:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:48:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:48:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:48:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:48:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:49:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:49:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:49:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:49:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:49:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:49:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:50:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:50:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:50:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:50:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:50:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:50:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:50:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:50:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:51:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:51:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:51:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:51:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:51:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:51:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:51:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:51:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:51:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:52:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:52:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:52:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:52:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:52:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:52:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:52:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:52:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:53:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:53:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:53:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:53:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:54:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:54:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:54:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:54:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:55:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:55:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:55:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:55:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:56:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:56:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:56:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:56:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:57:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:57:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:39 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:57:39 Europe/Berlin] Session role: not set
[13-Dec-2025 12:57:39 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:57:39 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:57:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:57:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:57:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:57:44 Europe/Berlin] Session role: not set
[13-Dec-2025 12:57:44 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:57:44 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:57:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:57:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:57:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:57:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:57:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 12:57:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:57:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:57:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:57:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:57:49 UTC] Fetching videos for teacher_id: 999
[13-Dec-2025 12:57:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:57:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:57:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:57:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765625397
    [created_at] => 1765625397
    [last_regeneration] => 1765625397
    [session_started_at] => 2025-12-13 12:29:57
    [login_redirect_count] => 0
)

[13-Dec-2025 12:57:51 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 12:57:51 Europe/Berlin] Session role: not set
[13-Dec-2025 12:57:51 Europe/Berlin] Session user_role: admin
[13-Dec-2025 11:57:51 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 11:57:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:58:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:58:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:58:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627090
    [last_regeneration] => 1765627090
    [session_started_at] => 2025-12-13 12:58:18
)

[13-Dec-2025 12:58:18 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 12:58:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627090
    [last_regeneration] => 1765627090
    [session_started_at] => 2025-12-13 12:58:18
)

[13-Dec-2025 12:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627090
    [last_regeneration] => 1765627090
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 12:58:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 12:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627090
    [last_regeneration] => 1765627090
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 12:59:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:59:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:06 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:59:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:59:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:18 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:59:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:59:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:19 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 12:59:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:59:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:59:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:19 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:59:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 12:59:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:59:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 12:59:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 12:59:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 12:59:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 12:59:49 Europe/Berlin] Session role: not set
[13-Dec-2025 12:59:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 11:59:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 11:59:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:00:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:00:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:00:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:00:18 Europe/Berlin] Session role: not set
[13-Dec-2025 13:00:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:00:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:00:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:00:20 Europe/Berlin] Session role: not set
[13-Dec-2025 13:00:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:00:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:00:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:00:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:00:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:00:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:00:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:00:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:00:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:00:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:00:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:00:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:00:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:00:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:00:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:00:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:01:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:01:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:01:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:01:18 Europe/Berlin] Session role: not set
[13-Dec-2025 13:01:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:01:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:01:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:01:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:01:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:01:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:01:19 Europe/Berlin] Session role: not set
[13-Dec-2025 13:01:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:01:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:01:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:01:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:01:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:01:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:01:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:01:50 Europe/Berlin] Session role: not set
[13-Dec-2025 13:01:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:01:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:01:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:02:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:02:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:02:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:02:19 Europe/Berlin] Session role: not set
[13-Dec-2025 13:02:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:02:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:02:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:02:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:02:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:02:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:02:21 Europe/Berlin] Session role: not set
[13-Dec-2025 13:02:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:02:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:02:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:02:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:02:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:02:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:02:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:02:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:02:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:02:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:02:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:02:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:02:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:02:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:02:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:02:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:02:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:02:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:03:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:03:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 13:03:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:03:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:03:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:03:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:03:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:04:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:04:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:04:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:04:43 Europe/Berlin] Session role: not set
[13-Dec-2025 13:04:43 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:04:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:04:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:04:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:04:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:04:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:05:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:05:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:05:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:05:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:05:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765627145
    [last_regeneration] => 1765627145
    [session_started_at] => 2025-12-13 12:58:18
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627145
)

[13-Dec-2025 13:05:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 13:05:20 Europe/Berlin] Session role: not set
[13-Dec-2025 13:05:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 12:05:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 12:05:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
)

[13-Dec-2025 13:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
)

[13-Dec-2025 13:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
)

[13-Dec-2025 13:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:05:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:05:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:06:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:06:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:06:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:06:27 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:27 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:06:27 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:27 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:06:27 Europe/Berlin] Session role: not set
[13-Dec-2025 13:06:27 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:06:27 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:06:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:06:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:06:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:07:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:07:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:07:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:07:28 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:07:28 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:28 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:07:28 Europe/Berlin] Session role: not set
[13-Dec-2025 13:07:28 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:07:28 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:07:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:07:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:07:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:07:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:07:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:07:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:08:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:08:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:08:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:08:28 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:28 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:08:28 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:28 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:08:28 Europe/Berlin] Session role: not set
[13-Dec-2025 13:08:28 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:08:28 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:08:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:08:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:08:59 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:08:59 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:08:59 Europe/Berlin] Session role: not set
[13-Dec-2025 13:08:59 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:08:59 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:08:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:09:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:09:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:09:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:09:30 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:09:30 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:30 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:09:30 Europe/Berlin] Session role: not set
[13-Dec-2025 13:09:30 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:09:30 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:09:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:09:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:09:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:10:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:10:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:10:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:10:30 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:10:30 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:30 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:10:30 Europe/Berlin] Session role: not set
[13-Dec-2025 13:10:30 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:10:30 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:10:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:10:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:10:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:10:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:10:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:10:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:10:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:10:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:10:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:10:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:11:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:11:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:11:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:11:32 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:11:32 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:32 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:11:32 Europe/Berlin] Session role: not set
[13-Dec-2025 13:11:32 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:11:32 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:11:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:11:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:11:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:11:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:11:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:11:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:11:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:11:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:11:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:11:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:11:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:12:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:12:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:12:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:12:33 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:33 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:12:33 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:33 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:12:33 Europe/Berlin] Session role: not set
[13-Dec-2025 13:12:33 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:12:33 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:12:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:12:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:12:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:13:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:13:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:13:34 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:13:34 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:13:34 Europe/Berlin] Session role: not set
[13-Dec-2025 13:13:34 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:13:34 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:13:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:13:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:13:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:13:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:13:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:13:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:13:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:13:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:13:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:13:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:13:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:14:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:14:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:14:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:14:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:14:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:37 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:14:37 Europe/Berlin] Session role: not set
[13-Dec-2025 13:14:37 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:14:37 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:14:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:14:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:14:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:14:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:14:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:14:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:14:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:14:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:14:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:14:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:15:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:15:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:15:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:15:19 Europe/Berlin] Session role: not set
[13-Dec-2025 13:15:19 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:15:19 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:15:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:15:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:15:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:15:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:36 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:36 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:36 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:15:36 Europe/Berlin] Session role: not set
[13-Dec-2025 13:15:36 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:15:36 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:15:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:15:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:15:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:15:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:15:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:15:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:15:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:16:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:16:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:16:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:16:19 Europe/Berlin] Session role: not set
[13-Dec-2025 13:16:19 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:16:19 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:16:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:16:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:16:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:16:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:37 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:16:37 Europe/Berlin] Session role: not set
[13-Dec-2025 13:16:37 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:16:37 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:16:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:16:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:16:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:16:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:16:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:16:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:16:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:16:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:16:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:17:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:17:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:17:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:19 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:19 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:17:19 Europe/Berlin] Session role: not set
[13-Dec-2025 13:17:19 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:17:19 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:17:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:17:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:17:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:17:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:39 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:17:39 Europe/Berlin] Session role: not set
[13-Dec-2025 13:17:39 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:17:39 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:17:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:17:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:17:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:18:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:18:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:18:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:18:21 Europe/Berlin] Session role: not set
[13-Dec-2025 13:18:21 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:18:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:18:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:18:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:18:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:18:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:39 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:39 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:39 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:18:39 Europe/Berlin] Session role: not set
[13-Dec-2025 13:18:39 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:18:39 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:18:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:18:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:18:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:19:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:19:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:19:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:20 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:20 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:19:20 Europe/Berlin] Session role: not set
[13-Dec-2025 13:19:20 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:19:20 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:19:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:19:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:19:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:19:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:40 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:40 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:40 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:19:40 Europe/Berlin] Session role: not set
[13-Dec-2025 13:19:40 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:19:40 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:19:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:19:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:19:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:20:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:20:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:20:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:20:41 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:20:41 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:41 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:20:41 Europe/Berlin] Session role: not set
[13-Dec-2025 13:20:41 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:20:41 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:20:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:20:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:20:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:21:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:21:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:21:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:21:41 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:21:41 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:41 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:21:41 Europe/Berlin] Session role: not set
[13-Dec-2025 13:21:41 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:21:41 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:21:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:21:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:21:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:21:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:22:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:22:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:22:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:22:43 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:43 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:22:43 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:43 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:22:43 Europe/Berlin] Session role: not set
[13-Dec-2025 13:22:43 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:22:43 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:22:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:22:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:22:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:22:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765627532
    [created_at] => 1765627532
    [last_regeneration] => 1765627532
    [session_started_at] => 2025-12-13 13:05:32
    [login_redirect_count] => 0
)

[13-Dec-2025 13:22:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:22:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:22:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:22:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:23:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:23:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:23:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:23:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:23:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:44 Europe/Berlin] hasPermission check - Required: teacher, User: student
[13-Dec-2025 13:23:44 Europe/Berlin] Session role: not set
[13-Dec-2025 13:23:44 Europe/Berlin] Session user_role: student
[13-Dec-2025 13:23:44 Europe/Berlin] Teacher Auth - Access denied for user role: student
[13-Dec-2025 13:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765628581
    [last_regeneration] => 1765628581
    [user_id] => 30
    [username] => Welcoming
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628581
    [session_started_at] => 2025-12-13 13:23:02
    [cart] => Array
        (
        )

)

[13-Dec-2025 13:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: student
[13-Dec-2025 13:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:23:48 Europe/Berlin] Session user_role: student
[13-Dec-2025 13:23:48 Europe/Berlin] Teacher Auth - Access denied for user role: student
[13-Dec-2025 13:24:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:24:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:24:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
)

[13-Dec-2025 13:24:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:24:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
)

[13-Dec-2025 13:24:44 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:24:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
)

[13-Dec-2025 13:24:44 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:24:44 Europe/Berlin] Session role: not set
[13-Dec-2025 13:24:44 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:24:44 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:24:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:24:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:24:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:24:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:24:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:25:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:25:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:25:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:25:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:25:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:46 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:25:46 Europe/Berlin] Session role: not set
[13-Dec-2025 13:25:46 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:25:46 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:25:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:25:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:25:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:25:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:25:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:26:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:26:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:26:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:26:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:26:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:46 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:26:46 Europe/Berlin] Session role: not set
[13-Dec-2025 13:26:46 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:26:46 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:26:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:26:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:26:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:26:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:26:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:27:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:27:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:27:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:27:47 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:27:47 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:47 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:27:47 Europe/Berlin] Session role: not set
[13-Dec-2025 13:27:47 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:27:47 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:27:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:27:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:27:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:27:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:27:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:28:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:28:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:28:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:28:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:28:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:28:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:28:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:28:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:28:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:28:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:28:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:28:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:29:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:29:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:29:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:29:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:29:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:29:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:29:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:29:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:29:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:29:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:29:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:29:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:30:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:30:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:30:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:30:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:30:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:30:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:30:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:31:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:31:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:31:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:31:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:31:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:31:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:31:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:31:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:31:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:31:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:31:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:31:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:31:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:31:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:32:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:32:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:32:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:32:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:32:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:32:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:32:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:32:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:32:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:33:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:33:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:33:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:33:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:33:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:33:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:33:52 Europe/Berlin] Session role: not set
[13-Dec-2025 13:33:52 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:33:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:33:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:33:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:33:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:33:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:33:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:33:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:33:52 Europe/Berlin] Session role: not set
[13-Dec-2025 13:33:52 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:33:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:33:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:34:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:34:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:34:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:34:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:34:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:34:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:34:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:34:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:34:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:34:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:34:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:34:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:34:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:35:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:35:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:35:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:35:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:35:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:35:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:35:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:35:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:35:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:35:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:35:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:36:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:36:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:36:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:36:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:36:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:36:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:36:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:36:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:36:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:36:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:36:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:36:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:36:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:36:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:37:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:37:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:37:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:37:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:37:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:37:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:37:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:37:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:37:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:37:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:37:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:37:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:37:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:37:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:37:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:37:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:38:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:38:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:38:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:38:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:38:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:38:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:38:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:39:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:39:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:39:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:39:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:39:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:39:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:39:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:39:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:39:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:39:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:39:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:39:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:39:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:39:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:39:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:39:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:39:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:39:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:39:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:40:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:40:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:40:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:40:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:40:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:40:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:40:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:40:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:40:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:40:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:40:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:40:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:40:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:40:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:40:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:40:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:40:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:40:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:40:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:41:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:41:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:41:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:41:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:41:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:41:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:41:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:41:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:41:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:41:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:42:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:42:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:42:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:42:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:43:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:43:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:43:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:43:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:43:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:43:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:43:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:43:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:43:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:43:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:43:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:43:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:43:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:43:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:43:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:43:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:43:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:44:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:44:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:44:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:44:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:44:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:44:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:44:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:44:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:44:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:44:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:44:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:44:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:44:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:44:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:45:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:45:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:45:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:45:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:45:49 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[13-Dec-2025 13:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
)

[13-Dec-2025 13:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:45:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:45:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:45:49 UTC] No teacher found with ID: 999
[13-Dec-2025 12:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/view_video.php on line 178
[13-Dec-2025 13:45:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:45:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:45:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:45:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:45:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:45:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:45:51 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:45:51 Europe/Berlin] Session role: not set
[13-Dec-2025 13:45:51 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:45:51 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:45:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:46:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:46:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:46:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:21 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:21 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:46:21 Europe/Berlin] Session role: not set
[13-Dec-2025 13:46:21 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:46:21 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:46:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:46:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:46:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:46:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:46:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:47:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:47:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:47:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 12:47:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:47:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:47:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:47:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:47:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:48:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:48:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:48:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:48:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:48:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:48:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:48:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:48:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:48:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:49:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:49:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:49:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:49:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:49:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:49:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:49:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:49:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:49:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:49:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:49:50 Europe/Berlin] Session role: not set
[13-Dec-2025 13:49:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:49:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:49:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:50:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:50:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:50:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:50:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:50:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:50:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:50:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:50:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:50:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:51:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:51:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:51:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:51:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:51:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:51:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:51:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:51:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:51:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:51:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:51:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:51:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:51:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:51:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:52:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:52:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:52:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:52:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:52:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:52:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:52:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:52:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:52:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:52:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:52:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:52:49 Europe/Berlin] Session role: not set
[13-Dec-2025 13:52:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:52:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:52:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:53:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:53:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:53:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:53:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:53:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:54:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:54:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:54:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:54:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:54:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:55:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:55:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:55:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:55:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:55:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:56:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:56:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:56:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:56:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:56:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:57:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:57:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:57:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:57:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:57:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:57:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:57:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:57:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:57:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:57:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:58:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:58:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:58:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:58:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:58:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:58:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:58:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:58:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:58:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:58:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:58:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:59:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:59:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:59:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:59:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 13:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 13:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:59:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 13:59:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 13:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 13:59:48 Europe/Berlin] Session role: not set
[13-Dec-2025 13:59:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 12:59:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 12:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:00:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:00:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:00:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:00:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:00:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:00:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:00:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:00:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:00:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:00:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:00:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:00:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:00:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:00:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:00:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:00:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:00:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:00:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:00:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:01:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:01:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:01:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:01:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:01:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:01:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:01:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:01:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:01:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:01:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:01:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:01:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:01:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:01:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:01:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:01:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:01:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:01:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:01:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:02:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:02:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:02:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 14:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:02:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:02:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:02:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:02:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:02:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:03:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:03:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:03:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:03:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:03:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:03:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:03:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:03:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:03:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:03:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:03:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:03:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:03:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:03:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:03:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:04:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:04:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:04:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:04:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:04:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:04:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:04:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:04:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:04:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:04:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:04:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:04:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:04:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:04:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:05:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:05:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:05:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:05:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:05:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:05:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:05:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:05:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:06:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:06:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:06:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:06:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:06:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:06:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:06:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:06:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:06:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:06:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:07:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:07:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:07:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:07:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:07:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:07:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:07:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:07:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:07:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:07:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:08:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:08:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:08:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:08:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:08:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:08:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:08:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:08:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:08:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:08:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:09:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:09:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:09:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:09:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:09:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:09:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:10:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:10:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:10:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:10:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:11:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:11:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:11:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:11:54 Europe/Berlin] Session role: not set
[13-Dec-2025 14:11:54 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:11:54 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:11:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:11:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:11:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:11:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:11:56 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:56 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:11:56 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:11:56 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:11:56 Europe/Berlin] Session role: not set
[13-Dec-2025 14:11:56 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:11:56 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:11:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:12:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:12:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:12:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:12:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:12:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:12:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:12:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:12:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:12:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:12:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:13:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 14:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:13:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:13:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:13:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:13:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:14:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:14:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:14:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:14:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:14:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:14:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:14:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:14:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:15:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:15:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:15:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:15:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:15:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:16:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:16:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:16:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:16:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:16:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:16:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:16:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:16:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:16:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:16:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:16:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:16:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:16:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:16:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:16:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:16:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:17:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:17:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:17:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:17:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:17:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:18:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:18:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:18:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:18:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:18:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:18:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:18:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:18:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:18:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:18:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:18:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:19:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 14:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 13:19:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:19:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:19:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:19:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:20:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:20:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:20:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:20:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:20:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:20:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:20:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:20:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:20:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:20:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:20:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:21:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:21:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:21:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:21:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:21:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:21:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:21:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:21:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:21:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:21:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:21:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:22:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:22:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:22:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:22:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:22:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:22:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:22:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:22:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:22:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:22:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:22:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:22:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:22:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:22:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:22:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:23:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:23:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:23:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:23:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:23:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:23:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:23:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:23:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:23:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:23:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:23:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:23:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:23:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:23:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765628660
    [created_at] => 1765628660
    [last_regeneration] => 1765628660
    [session_started_at] => 2025-12-13 13:24:21
    [login_redirect_count] => 0
    [error_message] => Video not found or you don't have permission to view it.
)

[13-Dec-2025 14:23:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:23:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:23:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:23:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:23:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:24:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:24:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:24:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:24:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
)

[13-Dec-2025 14:24:51 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
)

[13-Dec-2025 14:24:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:24:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[13-Dec-2025 14:24:51 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:24:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[13-Dec-2025 14:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:25:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:25:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:26:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:26:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:26:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:26:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:26:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:26:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:26:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:26:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:26:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:26:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:27:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:27:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:28:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:28:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:29:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765632234
    [last_regeneration] => 1765632234
    [session_started_at] => 2025-12-13 14:24:51
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:29:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
)

[13-Dec-2025 14:29:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:29:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
)

[13-Dec-2025 14:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:30:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:30:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:30:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:30:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:31:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:31:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:31:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:31:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:32:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:32:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:32:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:32:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:33:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:33:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:33:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:33:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:33:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:33:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:33:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:33:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:33:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:33:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:34:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:34:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:34:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:34:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:34:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:34:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:35:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:35:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:35:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:35:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:35:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632589
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:36:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:36:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:36:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:36:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:36:51 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:36:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:36:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:36:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:36:51 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:36:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:37:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:37:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:37:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:37:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:37:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:37:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:37:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:37:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:37:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:37:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:38:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:38:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:38:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:38:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:39:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:39:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:39:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:39:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:39:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:39:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:39:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:39:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:39:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:39:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:40:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:40:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:40:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:40:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:40:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:40:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:40:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:40:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:40:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:40:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 14:29:49
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1765632589
    [last_regeneration] => 1765632949
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:41:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:41:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:41:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:41:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
)

[13-Dec-2025 14:41:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:41:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
)

[13-Dec-2025 14:41:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:41:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
)

[13-Dec-2025 14:41:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:41:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:41:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:41:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:41:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:41:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:41:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:41:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:41:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:41:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:41:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:41:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:41:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:41:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:41:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:41:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:42:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:42:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:42:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:42:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:42:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:42:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:42:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:42:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:42:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:42:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:42:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:42:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:42:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:42:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:42:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:42:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:42:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:42:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:43:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:43:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:43:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:43:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:43:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:43:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:43:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:43:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:43:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:44:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:44:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:44:50 Europe/Berlin] Session role: not set
[13-Dec-2025 14:44:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:44:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:44:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:44:50 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:44:50 Europe/Berlin] Session role: not set
[13-Dec-2025 14:44:50 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:44:50 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:44:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:45:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:45:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:45:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:45:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:45:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:45:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:45:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:45:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:45:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:45:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:45:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:45:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:46:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 14:46:48 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:46:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:46:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:46:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 14:46:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765633250
    [created_at] => 1765633250
    [last_regeneration] => 1765633250
    [session_started_at] => 2025-12-13 14:40:51
    [login_redirect_count] => 0
)

[13-Dec-2025 14:46:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 14:46:49 Europe/Berlin] Session role: not set
[13-Dec-2025 14:46:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 13:46:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 13:46:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 14:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
)

[13-Dec-2025 14:47:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
)

[13-Dec-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[13-Dec-2025 14:47:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[13-Dec-2025 14:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:48:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:48:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:49:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:49:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:50:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:50:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:51:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:51:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:51:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:52:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:52:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:52:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:52:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:52:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:52:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:52:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633655
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:53:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:53:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:53:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:53:52 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:53:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:53:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:53:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:53:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:53:53 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:54:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:54:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:54:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:54:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:54:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:54:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:55:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:55:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:56:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:56:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:56:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:56:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:56:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:56:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:56:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:56:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:56:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:56:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:57:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:57:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:57:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:57:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:57:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:57:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:57:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:57:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:57:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:58:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:58:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:58:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:58:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:58:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:58:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765633969
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 14:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:59:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 14:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 14:59:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 14:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:00:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:00:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:00:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:00:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:00:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:00:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:01:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:01:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:02:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:02:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:03:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:03:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634328
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:04:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:04:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:05:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:05:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:05:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:05:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:05:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:05:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:05:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:05:50 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:06:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:06:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:06:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:06:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:06:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:06:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:07:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:07:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:07:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:07:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:07:48 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:07:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:08:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:08:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:08:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:09:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:09:49 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765633655
    [last_regeneration] => 1765634629
    [session_started_at] => 2025-12-13 14:47:48
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[13-Dec-2025 15:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 15:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765635005
    [created_at] => 1765635005
    [last_regeneration] => 1765635005
    [session_started_at] => 2025-12-13 15:10:05
)

[13-Dec-2025 15:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 15:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765635005
    [created_at] => 1765635005
    [last_regeneration] => 1765635005
    [session_started_at] => 2025-12-13 15:10:05
)

[13-Dec-2025 15:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 15:10:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765635005
    [created_at] => 1765635005
    [last_regeneration] => 1765635005
    [session_started_at] => 2025-12-13 15:10:05
)

[13-Dec-2025 15:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[13-Dec-2025 15:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 15:10:49 Europe/Berlin] Session user_role: admin
[13-Dec-2025 14:10:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[13-Dec-2025 14:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 15:59:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:59:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[13-Dec-2025 15:59:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765637934
    [last_regeneration] => 1765637934
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /admin/teacher_content.php?id=28
    [redirect_to_cart] => 
)

[13-Dec-2025 15:59:09 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:59:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765637934
    [last_regeneration] => 1765637934
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /admin/teacher_content.php?id=28
    [redirect_to_cart] => 
)

[13-Dec-2025 15:59:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 15:59:11 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 15:59:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765637934
    [last_regeneration] => 1765637934
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
)

[13-Dec-2025 15:59:11 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 15:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765637934
    [last_regeneration] => 1765637934
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
)

[13-Dec-2025 16:12:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:12:10 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 16:12:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:12:10 Europe/Berlin] Session role: not set
[13-Dec-2025 16:12:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:12:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:12:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:11 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:12:11 Europe/Berlin] Session role: not set
[13-Dec-2025 16:12:11 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:12:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:12:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:12:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:12:17 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Dec-2025 16:12:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:12:17 Europe/Berlin] Session role: not set
[13-Dec-2025 16:12:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:12:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:12:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:12:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:12:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:12:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:12:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:12:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:12:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:12:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:12:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:12:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:12:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:12:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:12:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:12:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:12:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:12:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:13:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:13:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:13:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:13:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:13:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:13:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:13:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:13:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:13:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:14:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:14:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:14:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:14:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:14:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:14:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:14:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:14:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:14:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:14:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:14:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:14:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:14:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:14:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:14:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:15:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:15:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:15:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:15:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:15:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:15:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:15:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:15:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:15:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:15:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:15:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:15:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:15:49 Europe/Berlin] Session role: not set
[13-Dec-2025 16:15:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:15:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:15:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:16:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:16:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:16:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:16:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:16:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:16:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:16:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:16:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:16:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:16:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:17:20 Europe/Berlin] Session role: not set
[13-Dec-2025 16:17:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:17:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:17:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:17:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:17:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:17:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:17:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:17:49 Europe/Berlin] Session role: not set
[13-Dec-2025 16:17:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:17:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:17:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:18:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:18:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:18:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:18:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:18:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:18:59 Europe/Berlin] Session role: not set
[13-Dec-2025 16:18:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:18:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:18:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:19:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:19:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:19:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:19:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:19:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:19:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:19:49 Europe/Berlin] Session role: not set
[13-Dec-2025 16:19:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:19:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:19:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:20:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:20:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:20:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:20:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:20:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:20:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:20:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:20:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:20:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:20:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:21:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:21:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:21:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:21:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:23:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:23:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:23:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:23:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:23:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:23:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:23:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:23:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:23:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:23:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:24:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:24:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:24:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:24:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:24:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:24:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:24:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:24:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:24:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:24:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:25:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:25:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:25:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:25:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:26:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:26:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:26:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:26:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:26:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:26:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:26:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:26:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:26:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:26:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:27:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:28:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:28:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:28:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:41 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:28:41 Europe/Berlin] Session role: not set
[13-Dec-2025 16:28:41 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:28:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:28:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:29:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:29:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:29:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:29:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:29:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:29:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:29:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:29:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:29:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:32:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:32:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:32:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:32:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:32:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:32:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:32:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:32:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:32:22 Europe/Berlin] Session role: not set
[13-Dec-2025 16:32:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:32:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:32:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:33:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:33:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:33:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:33:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:33:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:33:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:33:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:33:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:33:53 Europe/Berlin] Session role: not set
[13-Dec-2025 16:33:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:33:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:33:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:34:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:34:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:34:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:10 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:34:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:34:10 Europe/Berlin] Session role: not set
[13-Dec-2025 16:34:10 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:34:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:34:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:34:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:34:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:34:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:34:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:34:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:34:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:34:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:34:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:34:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:35:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:35:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:35:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:35:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:35:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:35:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:35:49 Europe/Berlin] Session role: not set
[13-Dec-2025 16:35:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:35:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:35:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:36:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:36:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:36:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:36:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:36:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:36:51 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:36:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:36:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:36:51 Europe/Berlin] Session role: not set
[13-Dec-2025 16:36:51 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:36:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:36:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:37:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:37:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:37:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:37:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:37:52 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:37:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:37:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:37:52 Europe/Berlin] Session role: not set
[13-Dec-2025 16:37:52 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:37:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:37:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:38:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:38:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:38:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:39:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:39:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:39:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:39:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:40:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:40:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:40:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:40:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:40:38 Europe/Berlin] Session role: not set
[13-Dec-2025 16:40:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:40:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:40:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:40:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:40:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:40:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:41:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:41:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:41:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:41:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:41:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:41:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:41:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:41:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:41:50 Europe/Berlin] Session role: not set
[13-Dec-2025 16:41:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:41:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:41:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:42:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:42:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:42:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:42:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:42:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:42:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:42:50 Europe/Berlin] Session role: not set
[13-Dec-2025 16:42:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:42:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:42:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:43:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:43:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:43:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:43:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:43:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:43:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:43:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:43:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:43:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:43:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:44:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:44:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:44:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:44:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:44:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:44:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:44:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:44:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:44:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:44:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:45:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:45:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:45:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:45:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:45:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:45:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:45:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:45:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:45:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:45:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:46:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:46:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:46:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:46:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:46:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:46:24 Europe/Berlin] Session role: not set
[13-Dec-2025 16:46:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:46:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:46:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:46:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:46:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:46:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:46:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:46:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:46:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:46:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:46:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:46:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:47:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:47:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:47:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:18 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:47:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:47:18 Europe/Berlin] Session role: not set
[13-Dec-2025 16:47:18 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:47:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:47:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:47:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:47:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:47:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:47:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:47:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:47:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:47:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:47:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:47:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:48:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:48:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:48:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:48:19 Europe/Berlin] Session role: not set
[13-Dec-2025 16:48:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:48:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:48:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:48:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:48:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:48:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:48:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:48:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:48:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:48:50 Europe/Berlin] Session role: not set
[13-Dec-2025 16:48:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:48:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:48:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:49:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:49:49 Europe/Berlin] Session role: not set
[13-Dec-2025 16:49:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:49:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:50:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:50:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:50:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:50:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:50:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:50:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:50:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:50:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:50:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:50:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:51:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:51:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:51:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:51:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:51:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:51:59 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:51:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:51:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:51:59 Europe/Berlin] Session role: not set
[13-Dec-2025 16:51:59 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:51:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:51:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:52:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:52:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:52:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:52:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:52:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:52:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:52:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:52:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:52:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:52:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:53:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:53:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:53:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:53:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:54:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:54:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:54:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:54:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:54:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:54:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:54:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:54:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:54:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:54:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:55:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:55:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:55:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:55:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:55:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:55:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:55:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:55:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:55:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:55:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:56:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:56:48 Europe/Berlin] Session role: not set
[13-Dec-2025 16:56:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:56:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:57:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:57:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:57:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:57:26 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765638730
    [last_regeneration] => 1765638730
    [session_started_at] => 2025-12-13 15:59:06
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765638730
)

[13-Dec-2025 16:57:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:26 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:26 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:57:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:57:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:28 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 16:57:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 16:57:28
)

[13-Dec-2025 16:57:28 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 16:57:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 16:57:28
)

[13-Dec-2025 16:57:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:35 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 16:57:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
)

[13-Dec-2025 16:57:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
)

[13-Dec-2025 16:57:35 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
)

[13-Dec-2025 16:57:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:35 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:35 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:57:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:57:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:36 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:57:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:57:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:40 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 16:57:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:40 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:57:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:57:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:40 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:57:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:57:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:46 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 16:57:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:46 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:57:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:57:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:57:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:57:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:57:46 Europe/Berlin] Session role: not set
[13-Dec-2025 16:57:46 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:57:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:57:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:58:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:58:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:58:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:58:16 Europe/Berlin] Session role: not set
[13-Dec-2025 16:58:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:58:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:58:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:58:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:58:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:58:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:58:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:58:47 Europe/Berlin] Session role: not set
[13-Dec-2025 16:58:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:58:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:58:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:59:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:59:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:59:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:59:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:59:17 Europe/Berlin] Session role: not set
[13-Dec-2025 16:59:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:59:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:59:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 16:59:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 16:59:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 16:59:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:59:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 16:59:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 16:59:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 16:59:47 Europe/Berlin] Session role: not set
[13-Dec-2025 16:59:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 15:59:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 15:59:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:00:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:00:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:00:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:00:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:00:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:00:17 Europe/Berlin] Session role: not set
[13-Dec-2025 17:00:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:00:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:00:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:00:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:00:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:00:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:00:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:47 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:00:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:00:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:00:47 Europe/Berlin] Session role: not set
[13-Dec-2025 17:00:47 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:00:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:00:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:01:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:01:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:01:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:01:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:17 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:01:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:01:17 Europe/Berlin] Session role: not set
[13-Dec-2025 17:01:17 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:01:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:01:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:01:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:01:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:01:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:02:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:02:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:02:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:02:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:02:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:02:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:02:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:02:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:02:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:02:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:03:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:03:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:03:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:03:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:03:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:03:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:03:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:03:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:03:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:03:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:04:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:04:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:04:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:04:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:19 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:04:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:04:19 Europe/Berlin] Session role: not set
[13-Dec-2025 17:04:19 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:04:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:04:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:04:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:04:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:04:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:04:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:04:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:04:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:04:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:04:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:04:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:05:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:05:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:16 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641454
    [last_regeneration] => 1765641454
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641454
    [session_started_at] => 2025-12-13 16:57:35
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:05:16 Europe/Berlin] Session role: not set
[13-Dec-2025 17:05:16 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:05:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:05:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:05:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:18 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 17:05:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-13 17:05:18
)

[13-Dec-2025 17:05:18 Europe/Berlin] isLoggedIn check result: false
[13-Dec-2025 17:05:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-13 17:05:18
)

[13-Dec-2025 17:05:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:24 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 17:05:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
)

[13-Dec-2025 17:05:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
)

[13-Dec-2025 17:05:24 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
)

[13-Dec-2025 17:05:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:05:24 Europe/Berlin] Session role: not set
[13-Dec-2025 17:05:24 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:05:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 17:05:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:05:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:25 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:05:25 Europe/Berlin] Session role: not set
[13-Dec-2025 17:05:25 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:05:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:05:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:05:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:29 Europe/Berlin] Teacher Auth Check - Script: profile.php
[13-Dec-2025 17:05:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:29 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:05:29 Europe/Berlin] Session role: not set
[13-Dec-2025 17:05:29 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:05:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 17:05:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:05:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:05:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:05:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:05:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:05:30 Europe/Berlin] Session role: not set
[13-Dec-2025 17:05:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:05:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:05:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:06:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:06:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:06:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:06:00 Europe/Berlin] Session role: not set
[13-Dec-2025 17:06:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:06:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:06:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:06:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:06:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:06:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:06:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:32 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:06:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:06:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:06:32 Europe/Berlin] Session role: not set
[13-Dec-2025 17:06:32 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:06:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:06:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:07:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:07:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:07:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:07:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:07:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:07:06 Europe/Berlin] Session role: not set
[13-Dec-2025 17:07:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:07:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:07:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:07:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:07:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:07:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:07:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:07:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:07:30 Europe/Berlin] Session role: not set
[13-Dec-2025 17:07:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:07:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:07:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:08:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:08:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:08:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:08:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:03 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:08:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:08:03 Europe/Berlin] Session role: not set
[13-Dec-2025 17:08:03 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:08:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:08:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:08:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:08:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:08:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:08:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:30 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:08:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:08:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:08:30 Europe/Berlin] Session role: not set
[13-Dec-2025 17:08:30 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:08:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:08:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:09:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:09:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:09:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:09:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:00 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:09:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:09:00 Europe/Berlin] Session role: not set
[13-Dec-2025 17:09:00 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:09:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:09:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:09:49 Europe/Berlin] Session role: not set
[13-Dec-2025 17:09:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:09:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:10:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:10:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:10:49 Europe/Berlin] Session role: not set
[13-Dec-2025 17:10:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:10:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:11:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:11:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:11:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:11:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:11:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:11:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:11:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:11:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:11:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:11:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:12:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:12:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:12:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:08 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:12:08 Europe/Berlin] Session role: not set
[13-Dec-2025 17:12:08 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:12:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:12:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:12:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:12:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:12:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:12:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:31 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:12:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:12:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:12:31 Europe/Berlin] Session role: not set
[13-Dec-2025 17:12:31 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:12:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:12:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:13:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:13:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:13:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:13:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:01 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:13:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:13:01 Europe/Berlin] Session role: not set
[13-Dec-2025 17:13:01 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:13:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:13:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:13:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:13:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:13:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:14:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:14:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:14:49 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:14:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:14:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:14:49 Europe/Berlin] Session role: not set
[13-Dec-2025 17:14:49 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:14:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:14:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:15:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:15:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:15:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:40 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:15:40 Europe/Berlin] Session role: not set
[13-Dec-2025 17:15:40 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:15:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:15:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:15:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:15:45 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Dec-2025 17:15:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:45 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:15:45 Europe/Berlin] Session role: not set
[13-Dec-2025 17:15:45 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:15:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 17:15:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:15:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:15:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:15:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:15:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:15:50 Europe/Berlin] Session role: not set
[13-Dec-2025 17:15:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:15:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:15:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:16:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:16:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:21 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:16:21 Europe/Berlin] Session role: not set
[13-Dec-2025 17:16:21 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:16:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:16:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:16:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:16:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:16:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:16:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:16:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:16:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:16:50 Europe/Berlin] Session role: not set
[13-Dec-2025 17:16:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:16:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:16:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:17:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:17:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:17:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:17:20 Europe/Berlin] Session role: not set
[13-Dec-2025 17:17:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:17:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:17:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:17:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:17:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:17:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:17:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:50 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:17:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:17:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:17:50 Europe/Berlin] Session role: not set
[13-Dec-2025 17:17:50 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:17:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:17:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:18:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:18:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:18:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:20 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:18:20 Europe/Berlin] Session role: not set
[13-Dec-2025 17:18:20 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:18:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:18:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:18:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:18:22 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Dec-2025 17:18:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:22 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:18:22 Europe/Berlin] Session role: not set
[13-Dec-2025 17:18:22 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:18:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 17:18:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:18:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:18:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:18:23 Europe/Berlin] Session role: not set
[13-Dec-2025 17:18:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:18:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:18:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:18:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:18:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:18:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:18:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:18:54 Europe/Berlin] Session role: not set
[13-Dec-2025 17:18:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:18:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:18:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:19:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:19:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:19:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:19:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:19:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:19:23 Europe/Berlin] Session role: not set
[13-Dec-2025 17:19:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:19:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:19:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:19:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:19:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:19:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:19:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:19:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:19:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:19:53 Europe/Berlin] Session role: not set
[13-Dec-2025 17:19:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:19:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:19:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:20:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:20:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:20:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:20:23 Europe/Berlin] Session role: not set
[13-Dec-2025 17:20:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:20:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:20:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:20:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:20:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:20:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:54 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:20:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:20:54 Europe/Berlin] Session role: not set
[13-Dec-2025 17:20:54 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:20:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:20:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:21:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:21:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:21:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:21:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:23 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:21:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:21:23 Europe/Berlin] Session role: not set
[13-Dec-2025 17:21:23 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:21:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:21:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:21:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:21:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:21:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:53 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:21:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:21:53 Europe/Berlin] Session role: not set
[13-Dec-2025 17:21:53 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:21:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:21:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:22:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:22:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:22:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:22:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:22:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:22:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:22:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:22:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:22:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:22:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:23:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:23:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:23:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:34 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:23:34 Europe/Berlin] Session role: not set
[13-Dec-2025 17:23:34 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:23:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:23:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:23:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:23:36 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[13-Dec-2025 17:23:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:23:36 Europe/Berlin] Session role: not set
[13-Dec-2025 17:23:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:23:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 17:23:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:23:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:23:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:23:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:23:36 Europe/Berlin] Session role: not set
[13-Dec-2025 17:23:36 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:23:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:23:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:24:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:24:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:24:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:06 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:24:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:24:06 Europe/Berlin] Session role: not set
[13-Dec-2025 17:24:06 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:24:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:24:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:24:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:24:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:24:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:24:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:24:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:24:37 Europe/Berlin] Session role: not set
[13-Dec-2025 17:24:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:24:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:24:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:25:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:25:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:25:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:09 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:25:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:25:09 Europe/Berlin] Session role: not set
[13-Dec-2025 17:25:09 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:25:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:25:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:25:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:25:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:25:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:38 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:25:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:25:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:25:38 Europe/Berlin] Session role: not set
[13-Dec-2025 17:25:38 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:25:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:25:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:26:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:26:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:26:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:26:07 Europe/Berlin] Session role: not set
[13-Dec-2025 17:26:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:26:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:26:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:26:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:26:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:26:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:37 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:26:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:26:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:26:37 Europe/Berlin] Session role: not set
[13-Dec-2025 17:26:37 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:26:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:26:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:27:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:27:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:27:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:27:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:27:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:27:07 Europe/Berlin] Session role: not set
[13-Dec-2025 17:27:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:27:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:27:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:27:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:27:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:27:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:27:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:28:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:28:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:28:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:28:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:28:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:28:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:28:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:28:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:28:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:28:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:29:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:29:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:29:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:29:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:29:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:29:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:29:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:29:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:29:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:29:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:30:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:30:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:30:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:30:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:30:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:30:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:30:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:30:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:30:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:30:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:31:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:31:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:31:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:31:48 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:31:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:31:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:31:48 Europe/Berlin] Session role: not set
[13-Dec-2025 17:31:48 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:31:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:31:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[13-Dec-2025 17:32:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[13-Dec-2025 17:32:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[13-Dec-2025 17:32:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:32:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:32:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:32:07 Europe/Berlin] isLoggedIn check result: true
[13-Dec-2025 17:32:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765641924
    [last_regeneration] => 1765641924
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765641924
    [session_started_at] => 2025-12-13 17:05:24
    [login_redirect_count] => 0
)

[13-Dec-2025 17:32:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[13-Dec-2025 17:32:07 Europe/Berlin] Session role: not set
[13-Dec-2025 17:32:07 Europe/Berlin] Session user_role: teacher
[13-Dec-2025 16:32:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[13-Dec-2025 16:32:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 04:08:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 04:08:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 04:08:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-14 04:08:24
)

[14-Dec-2025 04:08:24 Europe/Berlin] isLoggedIn check result: false
[14-Dec-2025 04:08:24 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-14 04:08:24
)

[14-Dec-2025 10:10:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 10:10:23 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 10:10:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-14 10:10:23
)

[14-Dec-2025 10:10:23 Europe/Berlin] isLoggedIn check result: false
[14-Dec-2025 10:10:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-14 10:10:23
)

[14-Dec-2025 10:36:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 10:36:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 10:36:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-14 10:36:36
)

[14-Dec-2025 10:36:36 Europe/Berlin] isLoggedIn check result: false
[14-Dec-2025 10:36:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-14 10:36:36
)

[14-Dec-2025 10:37:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 10:37:26 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 10:37:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-14 10:37:26
)

[14-Dec-2025 10:37:26 Europe/Berlin] isLoggedIn check result: false
[14-Dec-2025 10:37:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-14 10:37:26
)

[14-Dec-2025 12:56:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:56:15 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 12:56:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
)

[14-Dec-2025 12:56:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
)

[14-Dec-2025 12:56:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
)

[14-Dec-2025 12:56:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:56:15 Europe/Berlin] Session role: not set
[14-Dec-2025 12:56:15 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:56:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:56:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:56:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:56:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:56:16 Europe/Berlin] Session role: not set
[14-Dec-2025 12:56:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:56:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:56:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:56:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:56:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:56:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:56:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:56:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:56:46 Europe/Berlin] Session role: not set
[14-Dec-2025 12:56:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:56:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:56:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:57:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:57:16 Europe/Berlin] Session role: not set
[14-Dec-2025 12:57:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:57:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:57:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:57:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:57:24 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 12:57:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:57:24 Europe/Berlin] Session role: not set
[14-Dec-2025 12:57:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:57:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:57:24 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/request-withdrawal.php:40
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 40
[14-Dec-2025 12:57:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:57:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:57:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:57:25 Europe/Berlin] Session role: not set
[14-Dec-2025 12:57:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:57:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:57:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:57:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:57:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:57:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:57:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:57:55 Europe/Berlin] Session role: not set
[14-Dec-2025 12:57:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:57:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:57:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:58:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:58:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:58:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:58:25 Europe/Berlin] Session role: not set
[14-Dec-2025 12:58:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:58:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:58:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:58:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:58:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:58:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:58:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:58:55 Europe/Berlin] Session role: not set
[14-Dec-2025 12:58:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:58:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:58:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:59:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:59:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:59:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:59:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:59:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:59:25 Europe/Berlin] Session role: not set
[14-Dec-2025 12:59:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:59:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:59:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 12:59:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 12:59:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 12:59:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 12:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 12:59:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 12:59:55 Europe/Berlin] Session role: not set
[14-Dec-2025 12:59:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 11:59:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 11:59:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:00:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:00:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:00:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:00:06 Europe/Berlin] Session role: not set
[14-Dec-2025 13:00:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:00:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:00:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:00:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:00:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:00:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:00:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:00:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:00:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:00:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:00:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:00:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:00:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:00:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:00:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:00:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:00:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:01:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:01:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:01:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:01:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:01:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:01:15 Europe/Berlin] Session role: not set
[14-Dec-2025 13:01:15 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:01:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:01:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:01:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:01:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:01:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:01:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:01:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:01:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:01:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:02:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:02:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:02:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:02:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:02:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:02:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:02:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:02:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:02:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:02:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:02:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:02:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:02:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:02:45 Europe/Berlin] Session role: not set
[14-Dec-2025 13:02:45 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:02:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:02:45 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/request-withdrawal.php:40
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 40
[14-Dec-2025 13:02:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:02:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:02:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:02:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:02:45 Europe/Berlin] Session role: not set
[14-Dec-2025 13:02:45 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:02:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:02:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:03:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:03:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:03:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:03:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:03:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:03:16 Europe/Berlin] Session role: not set
[14-Dec-2025 13:03:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:03:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:03:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:03:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:03:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:03:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:03:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:03:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:03:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:03:45 Europe/Berlin] Session role: not set
[14-Dec-2025 13:03:45 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:03:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:03:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:04:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:04:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:04:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:04:15 Europe/Berlin] Session role: not set
[14-Dec-2025 13:04:15 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:04:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:04:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:04:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:04:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:04:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:04:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:04:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:04:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:04:46 Europe/Berlin] Session role: not set
[14-Dec-2025 13:04:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:04:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:04:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:05:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:05:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:05:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:05:15 Europe/Berlin] Session role: not set
[14-Dec-2025 13:05:15 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:05:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:05:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:05:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:05:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:05:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:05:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:05:45 Europe/Berlin] Session role: not set
[14-Dec-2025 13:05:45 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:05:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:05:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:06:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:06:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:06:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:06:16 Europe/Berlin] Session role: not set
[14-Dec-2025 13:06:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:06:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:06:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:06:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:06:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:06:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:48 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:48 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:06:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:06:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:06:48 Europe/Berlin] Session role: not set
[14-Dec-2025 13:06:48 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:06:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:06:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:07:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:07:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:07:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:07:16 Europe/Berlin] Session role: not set
[14-Dec-2025 13:07:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:07:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:07:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:07:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:07:25 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:07:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:07:25 Europe/Berlin] Session role: not set
[14-Dec-2025 13:07:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:07:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:07:26 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/request-withdrawal.php:100
Stack trace:
#0 /home/twpurnyc/public_html/teacher/request-withdrawal.php(50): sendWithdrawalRequestEmail(28, 500, 'FNB', 'Alain M Kitumai...', '7458458458', '60005')
#1 {main}
  thrown in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 100
[14-Dec-2025 13:07:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:07:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:07:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:07:26 Europe/Berlin] Session role: not set
[14-Dec-2025 13:07:26 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:07:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:07:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:07:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:07:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:07:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:07:57 Europe/Berlin] Session role: not set
[14-Dec-2025 13:07:57 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:07:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:07:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:08:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:08:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:08:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:08:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:08:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:08:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:08:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:08:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:08:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:08:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:08:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:08:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:08:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:08:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:08:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:08:56 Europe/Berlin] Session role: not set
[14-Dec-2025 13:08:56 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:08:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:08:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:09:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:09:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:09:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:09:26 Europe/Berlin] Session role: not set
[14-Dec-2025 13:09:26 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:09:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:09:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:09:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:09:41 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:09:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:09:41 Europe/Berlin] Session role: not set
[14-Dec-2025 13:09:41 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:09:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:09:41 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/request-withdrawal.php:100
Stack trace:
#0 /home/twpurnyc/public_html/teacher/request-withdrawal.php(50): sendWithdrawalRequestEmail(28, 500, 'FNB', 'Alain M Kitumai...', '7458458458', '60005')
#1 {main}
  thrown in /home/twpurnyc/public_html/teacher/request-withdrawal.php on line 100
[14-Dec-2025 13:09:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:09:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:09:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:09:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:09:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:09:41 Europe/Berlin] Session role: not set
[14-Dec-2025 13:09:41 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:09:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:09:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:10:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:10:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:10:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:10:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:10:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:10:12 Europe/Berlin] Session role: not set
[14-Dec-2025 13:10:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:10:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:10:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:10:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:10:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:10:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:10:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:10:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:10:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:10:43 Europe/Berlin] Session role: not set
[14-Dec-2025 13:10:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:10:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:10:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:11:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:11:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:11:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:11:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:11:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:11:13 Europe/Berlin] Session role: not set
[14-Dec-2025 13:11:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:11:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:11:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:11:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:11:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:11:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:11:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:11:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:11:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:11:43 Europe/Berlin] Session role: not set
[14-Dec-2025 13:11:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:11:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:11:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:12:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:12:06 Europe/Berlin] Session role: not set
[14-Dec-2025 13:12:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:12:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:12:06 UTC] Email Function SQL Prepare Error: Unknown column 'full_name' in 'field list'
[14-Dec-2025 13:12:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:12:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:12:06 Europe/Berlin] Session role: not set
[14-Dec-2025 13:12:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:12:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:12:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Script: profile.php
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:12:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:12:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:12:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:12:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:12:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:12:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:12:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:13:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:13:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:13:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:13:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:13:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:13:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:13:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:13:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:13:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:13:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:13:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:13:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:13:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:13:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:13:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:13:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:13:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:14:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:14:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:14:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:14:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:14:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:14:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:14:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:14:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:14:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:14:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:14:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:14:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:14:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:14:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:14:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:14:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:14:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:14:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:15:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:15:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:15:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:15:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:15:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:15:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:15:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:15:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:15:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:15:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:15:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:15:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:15:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:15:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:15:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:16:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:16:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:16:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:16:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:16:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:16:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:16:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:16:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:16:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:16:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:16:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:16:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:16:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:16:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:16:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:16:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:16:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:16:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:17:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:05 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[14-Dec-2025 13:17:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:05 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:17:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:17:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:06 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:17:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:17:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:09 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:17:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:09 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:09 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:17:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:17:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:10 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:17:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:37 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:17:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:17:37 UTC] Email Function SQL Prepare Error: Unknown column 'full_name' in 'field list'
[14-Dec-2025 13:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:17:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:17:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:17:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:17:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:17:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:17:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:17:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:17:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:18:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:18:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:18:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:18:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:18:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:18:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:18:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:18:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:18:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:18:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:18:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:18:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:18:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:18:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:18:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:18:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:18:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:19:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:19:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:19:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:19:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:19:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:19:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:19:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:19:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:19:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:19:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:19:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:19:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:19:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:19:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:19:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:19:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:19:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:19:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:19:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:20:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:20:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:20:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:20:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:20:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:20:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:20:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:20:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:20:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:20:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:20:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:20:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:20:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:38 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:20:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:20:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:20:38 Europe/Berlin] Session role: not set
[14-Dec-2025 13:20:38 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:20:38 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:20:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:21:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:21:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:21:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:21:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:21:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:21:08 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:21:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:21:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:21:08 Europe/Berlin] Session role: not set
[14-Dec-2025 13:21:08 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:21:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:21:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:22:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:22:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:22:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:22:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:22:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:22:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:22:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:22:10 Europe/Berlin] Session role: not set
[14-Dec-2025 13:22:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:22:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:22:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:23:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:23:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:23:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:23:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:23:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:23:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:23:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:23:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:23:11 Europe/Berlin] Session role: not set
[14-Dec-2025 13:23:11 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:23:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:23:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:24:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:24:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:24:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:24:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:24:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:24:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:24:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:24:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:24:13 Europe/Berlin] Session role: not set
[14-Dec-2025 13:24:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:24:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:24:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:25:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:25:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:25:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:25:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:25:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:25:13 Europe/Berlin] Session role: not set
[14-Dec-2025 13:25:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:25:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:25:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:25:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:25:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:25:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:25:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:25:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:25:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:25:53 Europe/Berlin] Session role: not set
[14-Dec-2025 13:25:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:25:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:25:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:26:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:26:03 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:26:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:26:03 Europe/Berlin] Session role: not set
[14-Dec-2025 13:26:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:26:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:26:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:26:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:26:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:26:04 Europe/Berlin] Session role: not set
[14-Dec-2025 13:26:04 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:26:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:26:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:26:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:26:27 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:26:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:26:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:26:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:26:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:26:27 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - failed
[14-Dec-2025 12:26:28 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 12:26:28 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 13:26:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:26:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:26:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:26:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:26:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:26:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:26:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:26:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:26:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:26:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:26:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:26:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:26:59 Europe/Berlin] Session role: not set
[14-Dec-2025 13:26:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:26:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:26:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:27:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:27:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:27:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:27:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:27:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:27:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:27:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:27:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:27:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:27:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:27:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:27:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:27:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:27:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:27:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:27:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:27:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:28:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:28:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:28:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:28:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:28:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:28:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:28:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:28:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:28:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:28:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:28:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:28:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:28:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:28:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:28:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:28:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:28:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:29:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:29:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:29:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:29:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:29:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:29:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:29:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:29:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:29:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:29:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:29:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:29:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:29:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:29:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:29:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:29:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:29:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:29:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:29:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:30:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:30:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:30:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:30:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:30:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:30:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:30:59 Europe/Berlin] Session role: not set
[14-Dec-2025 13:30:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:30:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:30:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:32:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:32:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:32:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:32:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:32:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:32:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:32:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:32:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:32:00 Europe/Berlin] Session role: not set
[14-Dec-2025 13:32:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:32:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:32:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:33:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:33:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:33:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:33:01 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:33:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:33:01 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:33:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:33:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:33:01 Europe/Berlin] Session role: not set
[14-Dec-2025 13:33:01 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:33:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:33:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:34:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:34:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:34:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:34:02 Europe/Berlin] Session role: not set
[14-Dec-2025 13:34:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:34:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:34:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:34:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:34:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:34:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:34:35 Europe/Berlin] Session role: not set
[14-Dec-2025 13:34:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:34:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:34:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:34:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:34:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:34:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:34:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:34:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:34:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:34:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:34:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:35:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:35:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:35:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:35:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:35:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:35:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:35:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:35:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:35:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:35:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:35:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:35:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:36:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:36:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:36:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:36:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:36:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:36:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:36:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:36:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:36:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:36:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:36:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:36:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:37:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:37:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:37:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:37:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:37:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:37:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:37:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:37:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:37:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:37:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:37:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:37:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:38:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:38:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:38:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:38:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:38:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:38:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:38:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:39:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:39:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:39:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:39:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:39:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:39:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:39:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:39:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:39:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:39:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:39:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:39:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:40:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:40:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:40:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:40:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:40:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:40:27 Europe/Berlin] Session role: not set
[14-Dec-2025 13:40:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:40:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:40:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:40:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:40:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:40:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:40:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:40:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:40:59 Europe/Berlin] Session role: not set
[14-Dec-2025 13:40:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:40:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:40:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:41:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:41:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:41:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:41:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:41:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:41:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:41:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:41:28 Europe/Berlin] Session role: not set
[14-Dec-2025 13:41:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:41:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:41:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:42:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:42:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:42:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:01 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:01 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:42:01 Europe/Berlin] Session role: not set
[14-Dec-2025 13:42:01 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:42:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:42:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:42:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:42:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:42:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:42:30 Europe/Berlin] Session role: not set
[14-Dec-2025 13:42:30 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:42:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:42:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:42:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:42:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:42:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:42:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:42:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:42:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:42:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:42:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:42:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:43:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:43:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:43:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:43:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:43:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:43:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:43:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:43:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:43:59 Europe/Berlin] Session role: not set
[14-Dec-2025 13:43:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:43:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:43:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:44:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:44:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:44:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:44:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:44:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:44:53 Europe/Berlin] Session role: not set
[14-Dec-2025 13:44:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:44:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:44:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:44:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:44:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:44:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:44:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:44:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:44:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:44:58 Europe/Berlin] Session role: not set
[14-Dec-2025 13:44:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:44:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:44:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:45:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:45:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:45:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:45:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:45:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:45:29 Europe/Berlin] Session role: not set
[14-Dec-2025 13:45:29 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:45:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:45:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:45:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:45:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:45:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:45:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:45:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:45:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:45:59 Europe/Berlin] Session role: not set
[14-Dec-2025 13:45:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:45:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:45:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:47:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:47:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:47:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:47:00 Europe/Berlin] Session role: not set
[14-Dec-2025 13:47:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:47:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:47:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:47:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:47:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:47:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:47:29 Europe/Berlin] Session role: not set
[14-Dec-2025 13:47:29 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:47:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:47:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:47:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:47:47 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:47:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:47:47 Europe/Berlin] Session role: not set
[14-Dec-2025 13:47:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:47:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:47:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:47:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:47:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:47:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:47:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:47:47 Europe/Berlin] Session role: not set
[14-Dec-2025 13:47:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:47:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:47:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:48:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:48:07 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:48:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:48:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:48:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:48:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:48:07 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 12:48:08 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 12:48:08 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:48:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:48:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:48:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:48:09 Europe/Berlin] Session role: not set
[14-Dec-2025 13:48:09 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:48:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:48:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:48:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:48:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:48:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:39 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:39 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:48:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:48:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:48:39 Europe/Berlin] Session role: not set
[14-Dec-2025 13:48:39 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:48:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:48:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:49:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:49:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:49:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:49:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:49:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:49:09 Europe/Berlin] Session role: not set
[14-Dec-2025 13:49:09 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:49:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:49:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:49:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:49:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:49:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:49:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:49:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:49:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:49:40 Europe/Berlin] Session role: not set
[14-Dec-2025 13:49:40 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:49:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:49:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:50:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:50:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:50:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:50:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:50:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:50:10 Europe/Berlin] Session role: not set
[14-Dec-2025 13:50:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:50:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:50:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:50:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:50:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:50:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:50:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:50:40 Europe/Berlin] Session role: not set
[14-Dec-2025 13:50:40 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:50:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:50:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:51:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:51:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:51:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:51:10 Europe/Berlin] Session role: not set
[14-Dec-2025 13:51:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:51:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:51:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:51:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:51:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:51:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:51:40 Europe/Berlin] Session role: not set
[14-Dec-2025 13:51:40 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:51:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:51:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:51:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:51:56 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:51:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:51:56 Europe/Berlin] Session role: not set
[14-Dec-2025 13:51:56 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:51:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:51:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:51:57 Europe/Berlin] Session role: not set
[14-Dec-2025 13:51:57 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:51:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:51:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:52:14 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:52:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:14 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:14 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:52:14 Europe/Berlin] Session role: not set
[14-Dec-2025 13:52:14 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:52:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:52:14 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 12:52:15 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 12:52:15 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:52:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:52:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:52:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:15 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:52:15 Europe/Berlin] Session role: not set
[14-Dec-2025 13:52:15 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:52:15 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:52:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:52:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:52:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:52:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:52:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:52:46 Europe/Berlin] Session role: not set
[14-Dec-2025 13:52:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:52:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:52:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:53:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:53:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:53:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:53:16 Europe/Berlin] Session role: not set
[14-Dec-2025 13:53:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:53:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:53:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:53:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:53:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:53:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:53:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:53:47 Europe/Berlin] Session role: not set
[14-Dec-2025 13:53:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:53:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:53:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:54:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:54:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:54:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:54:16 Europe/Berlin] Session role: not set
[14-Dec-2025 13:54:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:54:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:54:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:54:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:54:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:54:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:45 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:54:45 Europe/Berlin] Session role: not set
[14-Dec-2025 13:54:45 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:54:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:54:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:54:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:54:49 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:54:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:54:49 Europe/Berlin] Session role: not set
[14-Dec-2025 13:54:49 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:54:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:54:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:54:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:54:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:54:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:54:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:54:50 Europe/Berlin] Session role: not set
[14-Dec-2025 13:54:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:54:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:54:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:55:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:55:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:55:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:55:06 Europe/Berlin] Session role: not set
[14-Dec-2025 13:55:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:55:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:55:06 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 12:55:07 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 12:55:07 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:55:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:55:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:55:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:55:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:55:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:55:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:55:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:55:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:55:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:55:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:55:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:55:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:55:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:55:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:55:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:55:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:56:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:56:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:56:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:56:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:56:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:56:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:56:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:56:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:56:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:56:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:56:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:56:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:56:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:56:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:56:37 Europe/Berlin] Session role: not set
[14-Dec-2025 13:56:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:56:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:56:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:57:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:57:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:07 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:57:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:57:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 13:57:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:09 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:09 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:57:09 UTC] Fetching videos for teacher_id: 28
[14-Dec-2025 12:57:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Dec-2025 12:57:09 UTC] Found 0 videos for teacher 28
[14-Dec-2025 13:57:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:57:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:10 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:57:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:57:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:21 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:57:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:21 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:57:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:57:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:21 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:57:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:57:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:57:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:57:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:51 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:51 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:57:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:57:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:57:51 Europe/Berlin] Session role: not set
[14-Dec-2025 13:57:51 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:57:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:57:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:58:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:58:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:58:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:58:21 Europe/Berlin] Session role: not set
[14-Dec-2025 13:58:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:58:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:58:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:58:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:58:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:58:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:51 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:51 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:58:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:58:51 Europe/Berlin] Session role: not set
[14-Dec-2025 13:58:51 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:58:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:58:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:59:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:59:05 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:59:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:59:05 Europe/Berlin] Session role: not set
[14-Dec-2025 13:59:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:59:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:59:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:59:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:59:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:59:05 Europe/Berlin] Session role: not set
[14-Dec-2025 13:59:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:59:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:59:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:59:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:59:23 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 13:59:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:59:23 Europe/Berlin] Session role: not set
[14-Dec-2025 13:59:23 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:59:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:59:23 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 12:59:24 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 12:59:24 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:59:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:59:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:59:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:59:24 Europe/Berlin] Session role: not set
[14-Dec-2025 13:59:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:59:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:59:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 13:59:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 13:59:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 13:59:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 13:59:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 13:59:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 13:59:54 Europe/Berlin] Session role: not set
[14-Dec-2025 13:59:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 12:59:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 12:59:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:00:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:00:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:00:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:00:24 Europe/Berlin] Session role: not set
[14-Dec-2025 14:00:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:00:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:00:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:00:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:00:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:00:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:00:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:00:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:00:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:00:54 Europe/Berlin] Session role: not set
[14-Dec-2025 14:00:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:00:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:00:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:01:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:01:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:01:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:01:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:01:24 Europe/Berlin] Session role: not set
[14-Dec-2025 14:01:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:01:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:01:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:01:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:01:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:01:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:01:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:01:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:01:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:01:54 Europe/Berlin] Session role: not set
[14-Dec-2025 14:01:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:01:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:01:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:02:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:02:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:02:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:02:25 Europe/Berlin] Session role: not set
[14-Dec-2025 14:02:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:02:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:02:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:02:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:02:52 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:02:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:02:52 Europe/Berlin] Session role: not set
[14-Dec-2025 14:02:52 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:02:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:02:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:02:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:02:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:02:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:02:53 Europe/Berlin] Session role: not set
[14-Dec-2025 14:02:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:02:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:02:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:03:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:03:20 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:03:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:03:20 Europe/Berlin] Session role: not set
[14-Dec-2025 14:03:20 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:03:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:03:21 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 13:03:21 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:03:21 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 14:03:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:03:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:03:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:03:21 Europe/Berlin] Session role: not set
[14-Dec-2025 14:03:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:03:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:03:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:03:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:03:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:03:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:03:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:03:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:03:53 Europe/Berlin] Session role: not set
[14-Dec-2025 14:03:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:03:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:03:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:04:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:04:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:04:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:04:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:04:23 Europe/Berlin] Session role: not set
[14-Dec-2025 14:04:23 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:04:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:04:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:04:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:04:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:04:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:04:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:04:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:04:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:04:52 Europe/Berlin] Session role: not set
[14-Dec-2025 14:04:52 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:04:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:04:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:05:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:05:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:05:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:05:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:05:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:05:22 Europe/Berlin] Session role: not set
[14-Dec-2025 14:05:22 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:05:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:05:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:05:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:05:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:05:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:05:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:05:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:05:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:05:52 Europe/Berlin] Session role: not set
[14-Dec-2025 14:05:52 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:05:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:05:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:06:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:06:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:06:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:06:22 Europe/Berlin] Session role: not set
[14-Dec-2025 14:06:22 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:06:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:06:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:06:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:06:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:06:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:06:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:06:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:06:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:06:52 Europe/Berlin] Session role: not set
[14-Dec-2025 14:06:52 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:06:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:06:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:07:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:07:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:07:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:07:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:07:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:07:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:07:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:07:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:07:27 Europe/Berlin] Session role: not set
[14-Dec-2025 14:07:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:07:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:07:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:08:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:08:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:08:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:08:07 Europe/Berlin] Session role: not set
[14-Dec-2025 14:08:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:08:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:08:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:08:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:08:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:08:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:08:22 Europe/Berlin] Session role: not set
[14-Dec-2025 14:08:22 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:08:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:08:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:08:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:08:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:08:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:52 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:08:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:08:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:08:52 Europe/Berlin] Session role: not set
[14-Dec-2025 14:08:52 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:08:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:08:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:09:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:09:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:09:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:09:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:09:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:09:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:09:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:09:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:09:27 Europe/Berlin] Session role: not set
[14-Dec-2025 14:09:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:09:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:09:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:10:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:10:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:10:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:10:28 Europe/Berlin] Session role: not set
[14-Dec-2025 14:10:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:10:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:10:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:10:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:10:34 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:10:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:34 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:34 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:10:34 Europe/Berlin] Session role: not set
[14-Dec-2025 14:10:34 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:10:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:10:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:10:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:10:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:10:35 Europe/Berlin] Session role: not set
[14-Dec-2025 14:10:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:10:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:10:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:10:53 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:10:53 Europe/Berlin] Session role: not set
[14-Dec-2025 14:10:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:10:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:10:53 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 13:10:53 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:10:53 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 14:10:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:10:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:10:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:10:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:10:54 Europe/Berlin] Session role: not set
[14-Dec-2025 14:10:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:10:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:10:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:11:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:11:24 Europe/Berlin] Session role: not set
[14-Dec-2025 14:11:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:11:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:11:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:11:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:11:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:11:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:11:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:11:55 Europe/Berlin] Session role: not set
[14-Dec-2025 14:11:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:11:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:11:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:12:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:12:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:12:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:12:24 Europe/Berlin] Session role: not set
[14-Dec-2025 14:12:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:12:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:12:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:12:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:12:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:12:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:12:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:12:54 Europe/Berlin] Session role: not set
[14-Dec-2025 14:12:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:12:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:12:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:13:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:13:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:13:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:13:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:13:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:13:24 Europe/Berlin] Session role: not set
[14-Dec-2025 14:13:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:13:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:13:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:13:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:13:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:13:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:13:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:13:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:13:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:13:56 Europe/Berlin] Session role: not set
[14-Dec-2025 14:13:56 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:13:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:13:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:14:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:14:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:14:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:14:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:14:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:14:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:14:25 Europe/Berlin] Session role: not set
[14-Dec-2025 14:14:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:14:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:14:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:15:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:15:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:15:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:15:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:15:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:15:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:15:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:15:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:15:21 Europe/Berlin] Session role: not set
[14-Dec-2025 14:15:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:15:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:15:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:15:21 Europe/Berlin] Session role: not set
[14-Dec-2025 14:15:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:15:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:15:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:15:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:15:41 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:15:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:15:41 Europe/Berlin] Session role: not set
[14-Dec-2025 14:15:41 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:15:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:15:41 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 13:15:41 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:15:41 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 14:15:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:15:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:15:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:15:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:15:42 Europe/Berlin] Session role: not set
[14-Dec-2025 14:15:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:15:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:15:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:16:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:16:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:16:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:16:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:16:12 Europe/Berlin] Session role: not set
[14-Dec-2025 14:16:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:16:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:16:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:16:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:16:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:16:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:16:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:16:42 Europe/Berlin] Session role: not set
[14-Dec-2025 14:16:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:16:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:16:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:17:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:17:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:17:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:17:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:17:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:17:12 Europe/Berlin] Session role: not set
[14-Dec-2025 14:17:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:17:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:17:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:17:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:17:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:17:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:17:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:17:42 Europe/Berlin] Session role: not set
[14-Dec-2025 14:17:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:17:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:17:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:18:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:18:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:18:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:18:13 Europe/Berlin] Session role: not set
[14-Dec-2025 14:18:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:18:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:18:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:18:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:18:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:18:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:18:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:18:42 Europe/Berlin] Session role: not set
[14-Dec-2025 14:18:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:18:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:18:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:19:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:19:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:19:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:19:12 Europe/Berlin] Session role: not set
[14-Dec-2025 14:19:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:19:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:19:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:19:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:19:32 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:19:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:19:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:19:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:19:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:19:32 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 13:19:32 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:19:32 UTC] Email logged successfully: kendricknick56@gmail.com - 🔐 Confirm Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 14:19:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:19:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:19:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:19:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:19:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:19:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:19:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:19:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:20:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:20:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:20:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:20:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:20:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:20:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:20:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:20:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:20:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:20:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:20:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:20:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:20:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:20:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:20:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:20:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:20:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:21:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:21:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:21:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:21:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:21:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:21:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:21:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:21:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:21:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:21:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:21:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:21:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:21:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:21:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:21:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:21:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:21:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:21:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:21:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:22:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:22:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:22:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:22:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:22:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:22:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:22:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:22:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:22:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:22:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:22:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:22:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:22:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:22:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:22:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:22:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:22:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:22:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:22:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:23:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:23:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:23:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:23:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:23:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:23:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:23:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:23:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:23:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:23:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:24:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:24:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:24:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:24:03 Europe/Berlin] Session role: not set
[14-Dec-2025 14:24:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:24:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:24:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:24:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:24:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:24:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:24:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:24:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:24:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:24:46 Europe/Berlin] Session role: not set
[14-Dec-2025 14:24:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:24:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:24:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:25:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:25:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:25:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:25:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:25:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:25:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:25:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:25:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:25:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:25:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:25:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:25:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:25:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:25:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:25:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:25:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:26:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:26:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:26:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:26:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:26:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:26:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:26:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:26:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:26:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:26:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:26:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:26:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:26:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:26:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:26:42 Europe/Berlin] Session role: not set
[14-Dec-2025 14:26:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:26:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:26:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:27:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:27:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:27:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:02 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:27:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:27:02 Europe/Berlin] Session role: not set
[14-Dec-2025 14:27:02 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:27:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:27:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:27:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:27:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:27:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:27:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:27:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:27:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:27:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:27:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:28:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:28:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:28:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:14 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:28:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:14 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:28:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:28:14 Europe/Berlin] Session role: not set
[14-Dec-2025 14:28:14 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:28:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:28:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:28:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:28:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:28:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:39 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:28:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:39 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:28:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:28:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:28:39 Europe/Berlin] Session role: not set
[14-Dec-2025 14:28:39 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:28:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:28:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:29:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:29:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:29:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:29:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:29:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:29:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:29:03 Europe/Berlin] Session role: not set
[14-Dec-2025 14:29:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:29:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:29:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:30:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:30:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:30:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:30:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:30:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:30:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:30:04 Europe/Berlin] Session role: not set
[14-Dec-2025 14:30:04 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:30:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:30:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:31:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:31:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:31:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:31:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:31:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:31:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:31:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:31:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:31:05 Europe/Berlin] Session role: not set
[14-Dec-2025 14:31:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:31:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:31:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:32:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:32:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:32:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:32:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:32:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:32:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:32:06 Europe/Berlin] Session role: not set
[14-Dec-2025 14:32:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:32:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:32:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:33:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:33:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:33:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:33:04 Europe/Berlin] Session role: not set
[14-Dec-2025 14:33:04 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:33:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:33:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:33:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:33:06 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:33:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:33:06 Europe/Berlin] Session role: not set
[14-Dec-2025 14:33:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:33:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:33:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:33:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:33:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:33:07 Europe/Berlin] Session role: not set
[14-Dec-2025 14:33:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:33:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:33:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:33:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:33:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:33:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:33:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:33:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:33:37 Europe/Berlin] Session role: not set
[14-Dec-2025 14:33:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:33:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:33:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:34:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:34:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:34:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:34:07 Europe/Berlin] Session role: not set
[14-Dec-2025 14:34:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:34:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:34:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:34:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:34:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:34:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:34:37 Europe/Berlin] Session role: not set
[14-Dec-2025 14:34:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:34:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:34:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:34:46 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:34:46 Europe/Berlin] Session role: not set
[14-Dec-2025 14:34:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:34:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:34:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - failed
[14-Dec-2025 13:34:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 13:34:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 14:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:34:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:34:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:34:46 Europe/Berlin] Session role: not set
[14-Dec-2025 14:34:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:34:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:34:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:35:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:35:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:35:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:35:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:35:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:35:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:35:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:35:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:35:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:35:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:35:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:35:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:35:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:35:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:35:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:35:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:35:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:35:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:35:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:36:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:36:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:36:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:36:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:36:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:36:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:36:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:36:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:36:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:36:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:36:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:36:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:36:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:36:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:36:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:36:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:36:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:36:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:36:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:37:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:37:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:37:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:37:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:37:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:37:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:37:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:37:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:37:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:37:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:37:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:37:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:37:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:37:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:37:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:37:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:37:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:37:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:38:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:38:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:38:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:38:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:38:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:38:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:38:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:38:18 Europe/Berlin] Session role: not set
[14-Dec-2025 14:38:18 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:38:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:38:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:39:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:39:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:39:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:39:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:39:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:39:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:39:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:39:19 Europe/Berlin] Session role: not set
[14-Dec-2025 14:39:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:39:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:39:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:40:20 Europe/Berlin] Session role: not set
[14-Dec-2025 14:40:20 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:40:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:40:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:41:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:41:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:41:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:41:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:41:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:41:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:41:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:41:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:41:21 Europe/Berlin] Session role: not set
[14-Dec-2025 14:41:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:41:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:41:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:42:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:42:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:42:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:22 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:42:22 Europe/Berlin] Session role: not set
[14-Dec-2025 14:42:22 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:42:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:42:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:42:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:42:25 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:42:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:42:25 Europe/Berlin] Session role: not set
[14-Dec-2025 14:42:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:42:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:42:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:42:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:42:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:42:26 Europe/Berlin] Session role: not set
[14-Dec-2025 14:42:26 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:42:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:42:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:42:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:42:46 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:42:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:42:46 Europe/Berlin] Session role: not set
[14-Dec-2025 14:42:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:42:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:42:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Verify Your Withdrawal Request - Panadite Academy - failed
[14-Dec-2025 13:42:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Verify Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 13:42:46 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Verify Your Withdrawal Request - Panadite Academy - sent
[14-Dec-2025 14:42:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:42:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:42:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:42:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:42:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:42:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:42:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:42:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:42:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:43:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:43:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:43:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:43:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:43:18 Europe/Berlin] Session role: not set
[14-Dec-2025 14:43:18 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:43:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:43:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:43:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:43:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:43:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:43:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:43:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:43:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:43:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:43:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:43:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:43:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:44:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:44:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:44:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:44:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:44:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:44:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:44:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:44:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:44:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:44:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:44:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:44:50 Europe/Berlin] Session role: not set
[14-Dec-2025 14:44:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:44:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:44:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:45:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:45:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:45:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:45:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:45:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:45:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:45:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:45:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:45:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:45:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:45:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:45:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:45:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:45:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:45:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:45:47 Europe/Berlin] Session role: not set
[14-Dec-2025 14:45:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:45:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:45:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:46:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:46:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:46:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:46:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:46:17 Europe/Berlin] Session role: not set
[14-Dec-2025 14:46:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:46:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:46:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:46:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:46:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:46:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:46:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:46:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:46:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:46:50 Europe/Berlin] Session role: not set
[14-Dec-2025 14:46:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:46:51 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:46:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:47:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:47:11 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:47:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:47:11 Europe/Berlin] Session role: not set
[14-Dec-2025 14:47:11 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:47:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 14:47:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:47:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:47:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:47:11 Europe/Berlin] Session role: not set
[14-Dec-2025 14:47:11 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:47:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:47:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:47:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:47:32 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[14-Dec-2025 14:47:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:47:32 Europe/Berlin] Session role: not set
[14-Dec-2025 14:47:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:47:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:47:32 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - failed
[14-Dec-2025 13:47:33 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 13:47:33 UTC] Email logged successfully: kendricknick56@gmail.com - 💰 Withdrawal Request Submitted - Panadite Academy - sent
[14-Dec-2025 14:47:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:47:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:47:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:47:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:47:33 Europe/Berlin] Session role: not set
[14-Dec-2025 14:47:33 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:47:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:47:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 14:48:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 14:48:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 14:48:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:48:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:48:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 14:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765713374
    [last_regeneration] => 1765713374
    [stored_redirect] => /teacher/request-withdrawal.php
    [redirect_to_cart] => 
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765713374
    [session_started_at] => 2025-12-14 12:56:15
    [login_redirect_count] => 0
)

[14-Dec-2025 14:48:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 14:48:03 Europe/Berlin] Session role: not set
[14-Dec-2025 14:48:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 13:48:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 13:48:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:09:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:09:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 16:09:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
)

[14-Dec-2025 16:09:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:09:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
)

[14-Dec-2025 16:09:53 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:09:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
)

[14-Dec-2025 16:09:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:09:53 Europe/Berlin] Session role: not set
[14-Dec-2025 16:09:53 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:09:53 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:09:53 UTC] Fetching videos for teacher_id: 28
[14-Dec-2025 15:09:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Dec-2025 15:09:53 UTC] Found 0 videos for teacher 28
[14-Dec-2025 16:09:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:09:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:09:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:09:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:09:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:09:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:09:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:09:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:09:58 Europe/Berlin] Session role: not set
[14-Dec-2025 16:09:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:09:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:09:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:10:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:10:18 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:10:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:10:18 Europe/Berlin] Session role: not set
[14-Dec-2025 16:10:18 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:10:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:10:18 UTC] isLoggedIn check result: true
[14-Dec-2025 15:10:18 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:10:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:10:19 Europe/Berlin] Session role: not set
[14-Dec-2025 16:10:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:10:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:10:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:10:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:10:24 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:10:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:10:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:10:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:10:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:10:24 UTC] isLoggedIn check result: true
[14-Dec-2025 15:10:24 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:10:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:10:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:10:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:10:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:10:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:10:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:10:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:10:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:10:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:10:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:10:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:10:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:10:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:10:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:11:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:11:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:11:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:11:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:11:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:11:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:11:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:11:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:11:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:12:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:12:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:12:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:12:25 Europe/Berlin] Session role: not set
[14-Dec-2025 16:12:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:12:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:12:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:12:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:12:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:12:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:12:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:12:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:12:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:12:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:12:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:13:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:13:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:13:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:13:25 Europe/Berlin] Session role: not set
[14-Dec-2025 16:13:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:13:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:13:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:13:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:13:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:13:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:13:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:56 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:13:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:13:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:13:56 Europe/Berlin] Session role: not set
[14-Dec-2025 16:13:56 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:13:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:13:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:14:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:14:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:14:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:14:30 Europe/Berlin] Session role: not set
[14-Dec-2025 16:14:30 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:14:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:15:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:15:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:15:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:15:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:15:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:15:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:15:29 Europe/Berlin] Session role: not set
[14-Dec-2025 16:15:29 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:15:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:15:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:16:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:16:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:16:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:16:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:16:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:16:29 Europe/Berlin] Session role: not set
[14-Dec-2025 16:16:29 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:16:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:16:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:17:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:17:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:17:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:17:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:17:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:17:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:17:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:17:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:17:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:17:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:17:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:17:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:17:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:17:55 Europe/Berlin] Session role: not set
[14-Dec-2025 16:17:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:17:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:17:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:18:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:18:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:18:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:18:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:18:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:18:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:18:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:18:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:18:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:18:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:18:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:18:55 Europe/Berlin] Session role: not set
[14-Dec-2025 16:18:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:18:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:18:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:19:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:19:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:19:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:19:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:19:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:19:25 Europe/Berlin] Session role: not set
[14-Dec-2025 16:19:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:19:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:19:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:19:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:19:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:19:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:19:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:19:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:19:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:19:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:19:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:20:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:20:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:20:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:20:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:20:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:20:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:20:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:20:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:20:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:20:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:20:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:20:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:20:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:20:55 Europe/Berlin] Session role: not set
[14-Dec-2025 16:20:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:20:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:20:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:21:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:21:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:21:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:21:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:21:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:21:25 Europe/Berlin] Session role: not set
[14-Dec-2025 16:21:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:21:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:21:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:21:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:21:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:21:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:21:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:21:55 Europe/Berlin] Session role: not set
[14-Dec-2025 16:21:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:21:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:21:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:22:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:22:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:22:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:22:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:22:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:22:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:22:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:22:27 Europe/Berlin] Session role: not set
[14-Dec-2025 16:22:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:22:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:22:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:23:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:23:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:23:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:29 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:23:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:23:29 Europe/Berlin] Session role: not set
[14-Dec-2025 16:23:29 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:23:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:23:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:23:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:23:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:23:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:55 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:23:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:23:55 Europe/Berlin] Session role: not set
[14-Dec-2025 16:23:55 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:23:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:23:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:24:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:24:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:24:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:25 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:24:25 Europe/Berlin] Session role: not set
[14-Dec-2025 16:24:25 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:24:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:24:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:24:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:24:49 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:24:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:24:49 Europe/Berlin] Session role: not set
[14-Dec-2025 16:24:49 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:24:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:24:49 UTC] isLoggedIn check result: true
[14-Dec-2025 15:24:49 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:24:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:24:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:24:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:24:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:24:50 Europe/Berlin] Session role: not set
[14-Dec-2025 16:24:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:24:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:24:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:25:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:25:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:25:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:25:21 Europe/Berlin] Session role: not set
[14-Dec-2025 16:25:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:25:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:25:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:25:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:25:30 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:25:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:25:30 Europe/Berlin] Session role: not set
[14-Dec-2025 16:25:30 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:25:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:25:30 UTC] isLoggedIn check result: true
[14-Dec-2025 15:25:30 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:25:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:25:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:31 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:31 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:25:31 Europe/Berlin] Session role: not set
[14-Dec-2025 16:25:31 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:25:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:25:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:25:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:25:47 Europe/Berlin] Teacher Auth Check - Script: videos.php
[14-Dec-2025 16:25:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:25:47 Europe/Berlin] Session role: not set
[14-Dec-2025 16:25:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:25:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:25:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:25:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:25:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:25:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:25:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:25:49 Europe/Berlin] Session role: not set
[14-Dec-2025 16:25:49 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:25:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:25:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:26:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:26:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:26:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:26:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:26:19 Europe/Berlin] Session role: not set
[14-Dec-2025 16:26:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:26:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:26:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:26:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:26:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:26:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:26:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:26:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:26:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:26:50 Europe/Berlin] Session role: not set
[14-Dec-2025 16:26:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:26:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:26:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:27:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:27:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:19 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:42 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:42 UTC] isLoggedIn check result: true
[14-Dec-2025 15:27:42 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:27:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:43 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:27:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:48 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[14-Dec-2025 16:27:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:48 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:48 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:48 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:48 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:48 UTC] isLoggedIn check result: true
[14-Dec-2025 15:27:48 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:27:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:49 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:49 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:49 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:27:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:54 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:27:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:54 UTC] isLoggedIn check result: true
[14-Dec-2025 15:27:54 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:27:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:27:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[14-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:57 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:57 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:57 UTC] isLoggedIn check result: true
[14-Dec-2025 15:27:57 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:27:57 Europe/Berlin] Session role: not set
[14-Dec-2025 16:27:57 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:27:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:27:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:28:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:28:00 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:28:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:28:00 Europe/Berlin] Session role: not set
[14-Dec-2025 16:28:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:28:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:28:00 UTC] isLoggedIn check result: true
[14-Dec-2025 15:28:00 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:28:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:28:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:28:00 Europe/Berlin] Session role: not set
[14-Dec-2025 16:28:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:28:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:28:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:28:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:28:03 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:28:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:28:03 Europe/Berlin] Session role: not set
[14-Dec-2025 16:28:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:28:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:28:03 UTC] isLoggedIn check result: true
[14-Dec-2025 15:28:03 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:28:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:28:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:28:03 Europe/Berlin] Session role: not set
[14-Dec-2025 16:28:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:28:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:28:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:28:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:28:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:28:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:28:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:28:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:28:33 Europe/Berlin] Session role: not set
[14-Dec-2025 16:28:33 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:28:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:28:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:29:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:29:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:29:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:29:03 Europe/Berlin] Session role: not set
[14-Dec-2025 16:29:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:29:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:29:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:29:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:29:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:29:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:29:16 Europe/Berlin] Session role: not set
[14-Dec-2025 16:29:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:29:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:29:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:29:19 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:29:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:29:19 Europe/Berlin] Session role: not set
[14-Dec-2025 16:29:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:29:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:29:19 UTC] isLoggedIn check result: true
[14-Dec-2025 15:29:19 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:29:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:29:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:29:19 Europe/Berlin] Session role: not set
[14-Dec-2025 16:29:19 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:29:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:29:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:29:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:29:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:29:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:50 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:29:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:29:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:29:50 Europe/Berlin] Session role: not set
[14-Dec-2025 16:29:50 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:29:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:29:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:30:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:30:17 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:30:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:30:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:30:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:30:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:30:17 UTC] isLoggedIn check result: true
[14-Dec-2025 15:30:17 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:30:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:30:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:18 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:30:18 Europe/Berlin] Session role: not set
[14-Dec-2025 16:30:18 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:30:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:30:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:30:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:30:26 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:30:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:30:26 Europe/Berlin] Session role: not set
[14-Dec-2025 16:30:26 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:30:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:30:26 UTC] isLoggedIn check result: true
[14-Dec-2025 15:30:26 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:30:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:30:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:30:27 Europe/Berlin] Session role: not set
[14-Dec-2025 16:30:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:30:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:30:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:30:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:30:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:30:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:57 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:30:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:30:57 Europe/Berlin] Session role: not set
[14-Dec-2025 16:30:57 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:30:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:30:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:31:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:31:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:31:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:31:27 Europe/Berlin] Session role: not set
[14-Dec-2025 16:31:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:31:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:31:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:31:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:31:35 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:31:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:31:35 Europe/Berlin] Session role: not set
[14-Dec-2025 16:31:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:31:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:31:35 UTC] isLoggedIn check result: true
[14-Dec-2025 15:31:35 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:31:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:31:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:31:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:31:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:31:35 Europe/Berlin] Session role: not set
[14-Dec-2025 16:31:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:31:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:31:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:32:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:32:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:32:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:32:06 Europe/Berlin] Session role: not set
[14-Dec-2025 16:32:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:32:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:32:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:32:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:32:32 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:32:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:32:32 Europe/Berlin] Session role: not set
[14-Dec-2025 16:32:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:32:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:32:32 UTC] isLoggedIn check result: true
[14-Dec-2025 15:32:32 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:32:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:32:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:32:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:32:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:32:33 Europe/Berlin] Session role: not set
[14-Dec-2025 16:32:33 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:32:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:32:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:33:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:33:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:33:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:33:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:33:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:33:03 Europe/Berlin] Session role: not set
[14-Dec-2025 16:33:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:33:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:33:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:33:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:33:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:33:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:33:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:33:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:33:33 Europe/Berlin] Session role: not set
[14-Dec-2025 16:33:33 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:33:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:33:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:34:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:34:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:34:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:03 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:34:03 Europe/Berlin] Session role: not set
[14-Dec-2025 16:34:03 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:34:03 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:34:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:34:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:34:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:34:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:33 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:34:33 Europe/Berlin] Session role: not set
[14-Dec-2025 16:34:33 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:34:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:34:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:34:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:34:59 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:34:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:59 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:34:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:34:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:34:59 Europe/Berlin] Session role: not set
[14-Dec-2025 16:34:59 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:34:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:34:59 UTC] isLoggedIn check result: true
[14-Dec-2025 15:34:59 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:35:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:35:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:35:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:35:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:35:00 Europe/Berlin] Session role: not set
[14-Dec-2025 16:35:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:35:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:35:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:35:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:35:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:35:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:30 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:35:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:35:30 Europe/Berlin] Session role: not set
[14-Dec-2025 16:35:30 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:35:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:35:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:36:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:36:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:00 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:00 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:00 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:36:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:36:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:23 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:36:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:23 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:23 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:36:23 UTC] isLoggedIn check result: true
[14-Dec-2025 15:36:23 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:36:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:36:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:36:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 15:36:31 UTC] Teacher Auth Check - Script: manage-course-materials.php
[14-Dec-2025 15:36:31 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:36:31 UTC] isLoggedIn check result: true
[14-Dec-2025 15:36:31 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:36:31 UTC] isLoggedIn check result: true
[14-Dec-2025 15:36:31 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:36:31 UTC] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 15:36:31 UTC] Session role: not set
[14-Dec-2025 15:36:31 UTC] Session user_role: teacher
[14-Dec-2025 15:36:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:36:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:36:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:31 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:31 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:31 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:31 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:36:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:36:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:35 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Dec-2025 16:36:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:35 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:36:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:36:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:36:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:36:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:36:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:36:36 Europe/Berlin] Session role: not set
[14-Dec-2025 16:36:36 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:36:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:36:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:37:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:37:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:37:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:37:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:37:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:37:06 Europe/Berlin] Session role: not set
[14-Dec-2025 16:37:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:37:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:37:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:37:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:37:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:37:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:37:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:37:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:37:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:37:36 Europe/Berlin] Session role: not set
[14-Dec-2025 16:37:36 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:37:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:37:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:38:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:38:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:38:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:06 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:38:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:38:06 Europe/Berlin] Session role: not set
[14-Dec-2025 16:38:06 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:38:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:38:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:38:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:38:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:38:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:37 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:38:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:38:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:38:37 Europe/Berlin] Session role: not set
[14-Dec-2025 16:38:37 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:38:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:38:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:39:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:39:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:39:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:07 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:39:07 Europe/Berlin] Session role: not set
[14-Dec-2025 16:39:07 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:39:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:39:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:39:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:39:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:39:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:36 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:39:36 Europe/Berlin] Session role: not set
[14-Dec-2025 16:39:36 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:39:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:39:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:39:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:39:47 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Dec-2025 16:39:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:39:47 Europe/Berlin] Session role: not set
[14-Dec-2025 16:39:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:39:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:39:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:39:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:39:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:39:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:39:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:39:47 Europe/Berlin] Session role: not set
[14-Dec-2025 16:39:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:39:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:39:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:40:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:40:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:40:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:40:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:40:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:40:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:40:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:40:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:40:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:40:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:40:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:40:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:40:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:47 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:40:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:40:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:40:47 Europe/Berlin] Session role: not set
[14-Dec-2025 16:40:47 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:40:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:40:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:41:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:41:09 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Dec-2025 16:41:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:41:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:41:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:41:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:41:09 Europe/Berlin] Session role: not set
[14-Dec-2025 16:41:09 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:41:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:41:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/course-materials.php on line 251
[14-Dec-2025 16:41:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:41:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:41:10 Europe/Berlin] Session role: not set
[14-Dec-2025 16:41:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:41:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:41:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:41:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:41:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:41:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:40 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:41:40 Europe/Berlin] Session role: not set
[14-Dec-2025 16:41:40 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:41:40 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:41:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:41:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:41:41 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Dec-2025 16:41:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:41 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:41:41 Europe/Berlin] Session role: not set
[14-Dec-2025 16:41:41 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:41:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:41:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/course-materials.php on line 251
[14-Dec-2025 16:41:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:41:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:41:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:41:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:41:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:41:42 Europe/Berlin] Session role: not set
[14-Dec-2025 16:41:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:41:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:41:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:42:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:42:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:42:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:42:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:42:12 Europe/Berlin] Session role: not set
[14-Dec-2025 16:42:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:42:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:42:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:42:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:42:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:42:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:42:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:42:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:42:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:42:44 Europe/Berlin] Session role: not set
[14-Dec-2025 16:42:44 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:42:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:42:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:43:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:43:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:43:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:43:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:43:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:43:13 Europe/Berlin] Session role: not set
[14-Dec-2025 16:43:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:43:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:43:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:43:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:43:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:43:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:43:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:43:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:43:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:43:43 Europe/Berlin] Session role: not set
[14-Dec-2025 16:43:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:43:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:43:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:44:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:44:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:44:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:44:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:44:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:44:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:44:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:44:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:44:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:44:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:44:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:44:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:44:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:44:43 Europe/Berlin] Session role: not set
[14-Dec-2025 16:44:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:44:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:44:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:45:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:45:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:45:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:45:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:45:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:45:12 Europe/Berlin] Session role: not set
[14-Dec-2025 16:45:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:45:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:45:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:45:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:45:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:45:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:45:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:43 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:45:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:45:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:45:43 Europe/Berlin] Session role: not set
[14-Dec-2025 16:45:43 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:45:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:45:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:46:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:46:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:46:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:13 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:46:13 Europe/Berlin] Session role: not set
[14-Dec-2025 16:46:13 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:46:13 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:46:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:46:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:46:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:46:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:42 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:46:42 Europe/Berlin] Session role: not set
[14-Dec-2025 16:46:42 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:46:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:46:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Script: course-materials.php
[14-Dec-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:46:44 Europe/Berlin] Session role: not set
[14-Dec-2025 16:46:44 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:46:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:46:44 Europe/Berlin] Session role: not set
[14-Dec-2025 16:46:44 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:46:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:46:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:47:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:47:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:47:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:47:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:47:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:47:16 Europe/Berlin] Session role: not set
[14-Dec-2025 16:47:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:47:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:47:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:47:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:47:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:47:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:47:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:47:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:47:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:47:46 Europe/Berlin] Session role: not set
[14-Dec-2025 16:47:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:47:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:47:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:48:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:48:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:48:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:48:16 Europe/Berlin] Session role: not set
[14-Dec-2025 16:48:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:48:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:48:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:48:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:48:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:48:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:48:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:46 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:48:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:48:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:48:46 Europe/Berlin] Session role: not set
[14-Dec-2025 16:48:46 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:48:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:48:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:51:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:51:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:51:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:51:04 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:51:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:51:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:51:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:51:05 Europe/Berlin] Session role: not set
[14-Dec-2025 16:51:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:51:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:51:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:51:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:51:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:51:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:35 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:51:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:51:35 Europe/Berlin] Session role: not set
[14-Dec-2025 16:51:35 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:51:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:51:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:52:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:52:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:05 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:52:05 Europe/Berlin] Session role: not set
[14-Dec-2025 16:52:05 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:52:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:52:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:52:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:09 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[14-Dec-2025 16:52:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:52:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:10 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:52:10 Europe/Berlin] Session role: not set
[14-Dec-2025 16:52:10 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:52:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:52:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 15:52:23 UTC] Teacher Auth Check - Script: manage-course-materials.php
[14-Dec-2025 15:52:23 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:23 UTC] isLoggedIn check result: true
[14-Dec-2025 15:52:23 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:23 UTC] isLoggedIn check result: true
[14-Dec-2025 15:52:23 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:23 UTC] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 15:52:23 UTC] Session role: not set
[14-Dec-2025 15:52:23 UTC] Session user_role: teacher
[14-Dec-2025 15:52:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:52:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:52:23 Europe/Berlin] Session role: not set
[14-Dec-2025 16:52:23 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:52:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:52:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:52:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 15:52:33 UTC] Teacher Auth Check - Script: manage-course-materials.php
[14-Dec-2025 15:52:33 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:33 UTC] isLoggedIn check result: true
[14-Dec-2025 15:52:33 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:33 UTC] isLoggedIn check result: true
[14-Dec-2025 15:52:33 UTC] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 15:52:33 UTC] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 15:52:33 UTC] Session role: not set
[14-Dec-2025 15:52:33 UTC] Session user_role: teacher
[14-Dec-2025 15:52:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 16:52:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:52:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:52:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:34 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:34 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765724992
    [last_regeneration] => 1765724992
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765724992
    [session_started_at] => 2025-12-14 16:09:53
    [login_redirect_count] => 0
)

[14-Dec-2025 16:52:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:52:34 Europe/Berlin] Session role: not set
[14-Dec-2025 16:52:34 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:52:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:52:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:55:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 16:55:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
)

[14-Dec-2025 16:55:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
)

[14-Dec-2025 16:55:16 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
)

[14-Dec-2025 16:55:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:16 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:16 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:16 UTC] Fetching videos for teacher_id: 28
[14-Dec-2025 15:55:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Dec-2025 15:55:16 UTC] Found 0 videos for teacher 28
[14-Dec-2025 16:55:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:55:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:55:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:20 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:55:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:20 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:20 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:20 UTC] isLoggedIn check result: true
[14-Dec-2025 15:55:20 UTC] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 15:55:20 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 15:55:20 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 16:55:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:55:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:21 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:21 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:21 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:55:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:26 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:55:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:26 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:26 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:26 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:26 UTC] isLoggedIn check result: true
[14-Dec-2025 15:55:26 UTC] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 15:55:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 15:55:26 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 16:55:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:55:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:27 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:27 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:27 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:55:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:32 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:55:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:32 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:32 UTC] isLoggedIn check result: true
[14-Dec-2025 15:55:32 UTC] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 15:55:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 15:55:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 16:55:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:55:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:55:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727715
    [last_regeneration] => 1765727715
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727715
    [session_started_at] => 2025-12-14 16:55:16
    [login_redirect_count] => 0
)

[14-Dec-2025 16:55:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:55:32 Europe/Berlin] Session role: not set
[14-Dec-2025 16:55:32 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:55:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:55:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:56:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 16:56:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
)

[14-Dec-2025 16:56:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
)

[14-Dec-2025 16:56:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
)

[14-Dec-2025 16:56:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:17 UTC] Fetching videos for teacher_id: 28
[14-Dec-2025 15:56:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[14-Dec-2025 15:56:17 UTC] Found 0 videos for teacher 28
[14-Dec-2025 16:56:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:56:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:17 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:17 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:17 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[14-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:20 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:20 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:20 UTC] isLoggedIn check result: true
[14-Dec-2025 15:56:20 UTC] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 15:56:20 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 15:56:20 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[14-Dec-2025 16:56:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:56:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:20 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:20 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:20 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:56:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:23 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:56:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:23 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:23 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:23 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:23 UTC] isLoggedIn check result: true
[14-Dec-2025 15:56:23 UTC] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:56:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:56:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:56:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:56:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:56:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:56:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:56:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:56:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:56:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:57:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:57:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:57:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:24 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:57:24 Europe/Berlin] Session role: not set
[14-Dec-2025 16:57:24 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:57:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:57:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:57:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:57:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:57:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:54 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:57:54 Europe/Berlin] Session role: not set
[14-Dec-2025 16:57:54 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:57:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:57:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:57:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:57:58 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:57:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:57:58 Europe/Berlin] Session role: not set
[14-Dec-2025 16:57:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:57:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:57:58 UTC] isLoggedIn check result: true
[14-Dec-2025 15:57:58 UTC] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:57:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:57:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:57:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:57:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:57:58 Europe/Berlin] Session role: not set
[14-Dec-2025 16:57:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:57:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:57:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:58:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:58:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:58:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:28 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:58:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:58:28 Europe/Berlin] Session role: not set
[14-Dec-2025 16:58:28 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:58:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:58:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:58:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:58:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:58:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:58:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:58 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:58:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:58:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:58:58 Europe/Berlin] Session role: not set
[14-Dec-2025 16:58:58 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:58:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:58:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 16:59:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:59:12 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[14-Dec-2025 16:59:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:59:12 Europe/Berlin] Session role: not set
[14-Dec-2025 16:59:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:59:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:59:12 UTC] isLoggedIn check result: true
[14-Dec-2025 15:59:12 UTC] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 16:59:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[14-Dec-2025 16:59:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] isLoggedIn check result: true
[14-Dec-2025 16:59:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765727776
    [last_regeneration] => 1765727776
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765727776
    [session_started_at] => 2025-12-14 16:56:17
    [login_redirect_count] => 0
)

[14-Dec-2025 16:59:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[14-Dec-2025 16:59:12 Europe/Berlin] Session role: not set
[14-Dec-2025 16:59:12 Europe/Berlin] Session user_role: teacher
[14-Dec-2025 15:59:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[14-Dec-2025 15:59:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[14-Dec-2025 17:00:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[14-Dec-2025 17:00:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[14-Dec-2025 17:00:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-14 16:59:07
    [created_at] => 1765727999
    [last_regeneration] => 1765727999
    [stored_redirect] => /student/library.php
    [redirect_to_cart] => 
)

[14-Dec-2025 17:00:01 Europe/Berlin] isLoggedIn check result: false
[14-Dec-2025 17:00:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-14 16:59:07
    [created_at] => 1765727999
    [last_regeneration] => 1765727999
    [stored_redirect] => /student/library.php
    [redirect_to_cart] => 
)

[15-Dec-2025 07:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Dec-2025 07:07:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
)

[15-Dec-2025 07:07:11 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
)

[15-Dec-2025 07:07:11 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
)

[15-Dec-2025 07:07:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:11 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:11 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:13 UTC] Fetching videos for teacher_id: 28
[15-Dec-2025 06:07:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[15-Dec-2025 06:07:13 UTC] Found 0 videos for teacher 28
[15-Dec-2025 07:07:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[15-Dec-2025 07:07:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:14 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:14 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:14 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:14 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:14 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[15-Dec-2025 07:07:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:17 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[15-Dec-2025 07:07:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:17 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:17 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:17 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:17 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:18 UTC] isLoggedIn check result: true
[15-Dec-2025 06:07:18 UTC] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 06:07:18 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:18 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:18 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:18 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 07:07:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[15-Dec-2025 07:07:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:18 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:18 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:18 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:18 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[15-Dec-2025 07:07:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:28 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[15-Dec-2025 07:07:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:28 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:28 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:28 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:28 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:28 UTC] isLoggedIn check result: true
[15-Dec-2025 06:07:28 UTC] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 06:07:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:28 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 07:07:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[15-Dec-2025 07:07:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:29 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:29 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:29 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:29 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[15-Dec-2025 07:07:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:33 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[15-Dec-2025 07:07:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:33 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:33 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:33 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:33 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:33 UTC] isLoggedIn check result: true
[15-Dec-2025 06:07:33 UTC] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 06:07:33 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:33 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:33 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 06:07:33 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[15-Dec-2025 07:07:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 07:07:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[15-Dec-2025 07:07:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:34 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:34 Europe/Berlin] isLoggedIn check result: true
[15-Dec-2025 07:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765778826
    [last_regeneration] => 1765778826
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765778826
    [session_started_at] => 2025-12-15 07:07:08
    [login_redirect_count] => 0
)

[15-Dec-2025 07:07:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[15-Dec-2025 07:07:34 Europe/Berlin] Session role: not set
[15-Dec-2025 07:07:34 Europe/Berlin] Session user_role: teacher
[15-Dec-2025 06:07:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[15-Dec-2025 06:07:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[15-Dec-2025 20:48:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Dec-2025 20:48:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Dec-2025 20:48:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-15 20:48:54
)

[15-Dec-2025 20:48:54 Europe/Berlin] isLoggedIn check result: false
[15-Dec-2025 20:48:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-15 20:48:54
)

[16-Dec-2025 09:02:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:02:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:02:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
)

[16-Dec-2025 09:02:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
)

[16-Dec-2025 09:02:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
)

[16-Dec-2025 09:02:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:02:34 Europe/Berlin] Session role: not set
[16-Dec-2025 09:02:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:02:34 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:02:34 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:02:34 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:02:34 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:02:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:02:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:02:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:02:41 Europe/Berlin] Session role: not set
[16-Dec-2025 09:02:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:02:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:02:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:02:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:02:52 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 09:02:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:02:52 Europe/Berlin] Session role: not set
[16-Dec-2025 09:02:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:02:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 09:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:02:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:02:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:02:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:02:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:02:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:03:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:03:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:03:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:03:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:03:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:03:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:03:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:03:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:03:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:03:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:03:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:03:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:03:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:03:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:03:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:03:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:03:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:03:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:03:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:04:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:04:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:04:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:04:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:04:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:04:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:04:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:04:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:04:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:04:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:04:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:04:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:04:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:04:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:04:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:04:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:04:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:04:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:05:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:05:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:05:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:05:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:05:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:05:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:05:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:05:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:05:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:05:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:05:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:05:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:05:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:05:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:05:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:05:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:05:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:05:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:06:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:06:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:06:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:06:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:06:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:06:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:06:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:06:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:06:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:06:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:06:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:06:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:06:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:06:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:06:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:06:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:06:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:06:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:06:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:07:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:07:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:07:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:07:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:07:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:07:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:07:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:07:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:07:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:07:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:07:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:07:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:07:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:07:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:07:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:08:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:08:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:08:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:08:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:08:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:08:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:08:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:08:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:08:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:08:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:08:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:08:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:08:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:08:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:08:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:08:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:08:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:08:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:08:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:09:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:09:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:09:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:09:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:09:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:09:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:09:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:09:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:09:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:09:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:09:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:09:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:09:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:09:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:09:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:09:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:09:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:09:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:09:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:10:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:10:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:10:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:10:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:10:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:10:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:10:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:10:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:10:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:10:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:10:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:10:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:10:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:10:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:10:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:10:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:10:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:11:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:11:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:11:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:11:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:11:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:11:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:11:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:11:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:11:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:12:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:12:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:12:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:12:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:12:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:12:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:12:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:12:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:12:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:12:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:12:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:12:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:12:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:12:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:12:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:12:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:13:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:13:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:13:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:13:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:13:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:13:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:13:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:13:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:13:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:13:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:13:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:13:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:13:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:13:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:13:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:13:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:13:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:13:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:13:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:14:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:14:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:14:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:14:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:14:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:14:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:14:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:14:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:14:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:14:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:14:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:14:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:14:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:15:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:15:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:15:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:15:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:15:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:15:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:15:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:15:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:15:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:15:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:15:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:15:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:15:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:15:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:15:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:15:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:15:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:15:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:15:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:16:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:16:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:16:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:16:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:16:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:16:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:16:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:16:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:16:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:16:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:16:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:16:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:16:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:16:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:16:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:16:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:16:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:16:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:16:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:17:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:17:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:17:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:17:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:17:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:17:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:17:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:17:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:17:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:17:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:17:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:17:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:17:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:17:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:17:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:17:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:17:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:17:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:17:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:18:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:18:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:18:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:18:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:18:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:18:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:18:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:18:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:18:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:18:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:18:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:18:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:18:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:18:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:18:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:18:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:18:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:19:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:19:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:19:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:19:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:19:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:19:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:19:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:19:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:19:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:19:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:19:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:19:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:19:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:19:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:19:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:19:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:19:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:20:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:20:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:20:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:20:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:20:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:20:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:20:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:20:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:20:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:20:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:20:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:20:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:20:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:20:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:20:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:20:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:21:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:21:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:21:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:21:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:21:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:21:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:21:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:21:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:21:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:21:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:21:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:21:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:21:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:21:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:21:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:21:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:21:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:21:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:22:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:22:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:22:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:22:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:22:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:22:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:22:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:22:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:22:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:22:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:22:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:22:54 Europe/Berlin] Session role: not set
[16-Dec-2025 09:22:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:22:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:22:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:23:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:23:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:23:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:23:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:23:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:23:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:23:58 Europe/Berlin] Session role: not set
[16-Dec-2025 09:23:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:23:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:23:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:25:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:25:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:25:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:25:01 Europe/Berlin] Session role: not set
[16-Dec-2025 09:25:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:25:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:25:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:25:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:25:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:25:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:25:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:25:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:25:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:25:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:25:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:25:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:25:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:25:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:25:56 Europe/Berlin] Session role: not set
[16-Dec-2025 09:25:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:25:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:25:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:26:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:26:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:26:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:26:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:26:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:26:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:26:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:26:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:26:55 Europe/Berlin] Session role: not set
[16-Dec-2025 09:26:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:26:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:26:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:27:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:27:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:27:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:27:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:27:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:27:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:27:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:27:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:27:56 Europe/Berlin] Session role: not set
[16-Dec-2025 09:27:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:27:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:27:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:29:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:29:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:29:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:29:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:29:00 Europe/Berlin] Session role: not set
[16-Dec-2025 09:29:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:29:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:29:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:29:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:29:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:29:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:29:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:29:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:29:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:30:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:30:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:30:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:30:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:30:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:30:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:30:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:30:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:58) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:31:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 08:31:19 UTC] Teacher Auth Check - Script: library_submissions.php
[16-Dec-2025 08:31:19 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:31:19 UTC] isLoggedIn check result: true
[16-Dec-2025 08:31:19 UTC] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:31:19 UTC] isLoggedIn check result: true
[16-Dec-2025 08:31:19 UTC] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:31:19 UTC] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 08:31:19 UTC] Session role: not set
[16-Dec-2025 08:31:19 UTC] Session user_role: teacher
[16-Dec-2025 08:31:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 09:31:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:31:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:21 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:31:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:31:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:23 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:23 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:23 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:31:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:31:23 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:31:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:31:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:31:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:26 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:31:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:26 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:26 UTC] DB Connection Status: Connected
[16-Dec-2025 08:31:26 UTC] User with ID 28 found
[16-Dec-2025 08:31:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:31:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:31:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:26 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:31:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:31:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:31:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:31:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:31:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:31:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:31:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:31:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:31:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:32:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:32:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:32:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:32:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:32:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:32:27 Europe/Berlin] Session role: not set
[16-Dec-2025 09:32:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:32:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:32:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:32:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:32:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:32:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:32:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:32:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:32:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:32:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:32:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:33:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:33:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:33:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:33:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:33:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:33:27 Europe/Berlin] Session role: not set
[16-Dec-2025 09:33:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:33:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:33:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:33:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:33:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:33:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:33:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:33:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:33:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:33:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:33:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:34:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:34:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:34:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:34:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:34:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:34:27 Europe/Berlin] Session role: not set
[16-Dec-2025 09:34:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:34:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:34:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:34:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:34:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:34:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:34:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:34:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:34:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:34:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:34:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:59) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:35:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:15 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:35:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:15 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:16 UTC] DB Connection Status: Connected
[16-Dec-2025 08:35:16 UTC] User with ID 28 found
[16-Dec-2025 08:35:16 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:35:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:35:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:17 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:17 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:17 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:17 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:35:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:19 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:35:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:19 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:19 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:35:19 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:35:19 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:35:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:35:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:21 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:35:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:22 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:22 UTC] DB Connection Status: Connected
[16-Dec-2025 08:35:22 UTC] User with ID 28 found
[16-Dec-2025 08:35:22 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:35:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:22 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:35:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:24 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 09:35:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:24 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:24 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:35:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:35:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:25 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:35:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:35:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:35:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:35:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:35:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:35:56 Europe/Berlin] Session role: not set
[16-Dec-2025 09:35:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:35:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:35:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:36:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:05 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 09:36:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:05 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:36:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:36:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:06 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:36:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:08 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:36:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:08 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:08 UTC] DB Connection Status: Connected
[16-Dec-2025 08:36:08 UTC] User with ID 28 found
[16-Dec-2025 08:36:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:36:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:36:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:09 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:36:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:18 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 09:36:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:18 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 09:36:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:36:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:28 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:36:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:36:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:36:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:36:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:36:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:36:58 Europe/Berlin] Session role: not set
[16-Dec-2025 09:36:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:36:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:36:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:37:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:37:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:37:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:29 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:37:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:29 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:37:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:37:29 Europe/Berlin] Session role: not set
[16-Dec-2025 09:37:29 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:37:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:37:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:37:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:37:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:37:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:37:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:37:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:37:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:37:59 Europe/Berlin] Session role: not set
[16-Dec-2025 09:37:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:37:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:37:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:38:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:25 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 09:38:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:25 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 09:38:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:38:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:25 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:28 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:28 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:38:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:38:28 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:28 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:38:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:32 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:38:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:32 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:32 UTC] DB Connection Status: Connected
[16-Dec-2025 08:38:32 UTC] User with ID 28 found
[16-Dec-2025 08:38:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:38:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:38:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:32 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:32 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:38:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:47 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:38:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:47 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:47 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:48 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:38:48 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:38:48 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:38:48 Europe/Berlin] Session role: not set
[16-Dec-2025 09:38:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:38:48 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:39:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:04 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:39:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:04 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:05 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:39:05 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:39:05 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:39:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:39:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:05 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:39:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:39:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:36 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:39:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:39:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:41 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:41 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:39:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:39:41 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:39:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:39:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:41 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:39:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:43 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 09:39:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:43 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:43 UTC] DB Connection Status: Connected
[16-Dec-2025 08:39:43 UTC] User with ID 28 found
[16-Dec-2025 08:39:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:39:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:39:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:44 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:39:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:45 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 09:39:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:45 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:45 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:45 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:39:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:39:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:39:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:39:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:39:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:39:46 Europe/Berlin] Session role: not set
[16-Dec-2025 09:39:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:39:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:39:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:40:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:40:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:40:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:16 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:16 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:40:16 Europe/Berlin] Session role: not set
[16-Dec-2025 09:40:16 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:40:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:40:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:60) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:40:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:40:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:40:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:40:36 Europe/Berlin] Session role: not set
[16-Dec-2025 09:40:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:40:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:40:36 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:40:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:40:36 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:40:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:40:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:40:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:40:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:40:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:40:36 Europe/Berlin] Session role: not set
[16-Dec-2025 09:40:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:40:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:40:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:41:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:41:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:41:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:41:08 Europe/Berlin] Session role: not set
[16-Dec-2025 09:41:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:41:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:41:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:41:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:41:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:41:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:41:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:41:37 Europe/Berlin] Session role: not set
[16-Dec-2025 09:41:37 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:41:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:41:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:42:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:42:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:42:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:42:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:42:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:42:08 Europe/Berlin] Session role: not set
[16-Dec-2025 09:42:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:42:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:42:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:42:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:42:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:42:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:42:37 Europe/Berlin] Session role: not set
[16-Dec-2025 09:42:37 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:42:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:42:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:43:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:43:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:43:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:43:07 Europe/Berlin] Session role: not set
[16-Dec-2025 09:43:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:43:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:43:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:43:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:43:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:43:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:43:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:43:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:43:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:43:37 Europe/Berlin] Session role: not set
[16-Dec-2025 09:43:37 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:43:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:43:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:44:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:44:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:44:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:44:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:44:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:44:09 Europe/Berlin] Session role: not set
[16-Dec-2025 09:44:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:44:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:44:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:44:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:44:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:44:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:44:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:44:44 Europe/Berlin] Session role: not set
[16-Dec-2025 09:44:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:44:44 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:44:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:45:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:45:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:07 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:56) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:45:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 09:45:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:21 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:21 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:22 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 08:45:22 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 08:45:22 UTC] Found 0 videos for teacher 28
[16-Dec-2025 09:45:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:45:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:22 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:22 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:45:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:25 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 09:45:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:25 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:25 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 09:45:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:45:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:26 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:45:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:45:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:45:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:45:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:45:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:45:57 Europe/Berlin] Session role: not set
[16-Dec-2025 09:45:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:45:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:45:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 09:46:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 08:46:05 UTC] Teacher Auth Check - Script: library_submissions.php
[16-Dec-2025 08:46:05 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:46:05 UTC] isLoggedIn check result: true
[16-Dec-2025 08:46:05 UTC] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:46:05 UTC] isLoggedIn check result: true
[16-Dec-2025 08:46:05 UTC] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 08:46:05 UTC] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 08:46:05 UTC] Session role: not set
[16-Dec-2025 08:46:05 UTC] Session user_role: teacher
[16-Dec-2025 08:46:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 09:46:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 09:46:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 09:46:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:46:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:46:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 09:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765871763
    [last_regeneration] => 1765871763
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765871763
    [session_started_at] => 2025-12-16 09:02:34
    [login_redirect_count] => 0
)

[16-Dec-2025 09:46:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 09:46:06 Europe/Berlin] Session role: not set
[16-Dec-2025 09:46:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 08:46:06 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 08:46:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:09:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:09:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:09:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
)

[16-Dec-2025 11:09:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
)

[16-Dec-2025 11:09:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
)

[16-Dec-2025 11:09:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:09:42 Europe/Berlin] Session role: not set
[16-Dec-2025 11:09:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:09:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:09:42 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 10:09:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:09:42 UTC] Found 0 videos for teacher 28
[16-Dec-2025 11:09:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:09:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:09:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:09:46 Europe/Berlin] Session role: not set
[16-Dec-2025 11:09:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:09:46 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:09:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:09:52 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 11:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:09:52 Europe/Berlin] Session role: not set
[16-Dec-2025 11:09:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:09:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 11:09:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:09:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:09:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:09:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:09:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:09:52 Europe/Berlin] Session role: not set
[16-Dec-2025 11:09:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:09:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:09:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:10:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:10:07 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 11:10:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:10:07 Europe/Berlin] Session role: not set
[16-Dec-2025 11:10:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:10:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 11:10:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:10:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:10:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:10:08 Europe/Berlin] Session role: not set
[16-Dec-2025 11:10:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:10:08 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:10:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:10:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:10:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:10:10 Europe/Berlin] Session role: not set
[16-Dec-2025 11:10:10 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:10:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:10:10 UTC] Fetching videos for teacher_id: 28
[16-Dec-2025 10:10:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:10:10 UTC] Found 0 videos for teacher 28
[16-Dec-2025 11:10:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:10:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:10:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:10:10 Europe/Berlin] Session role: not set
[16-Dec-2025 11:10:10 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:10:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:10:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:10:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:10:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:10:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:10:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:10:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:10:41 Europe/Berlin] Session role: not set
[16-Dec-2025 11:10:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:10:41 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:10:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:11:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:11:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:11 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:11:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:11:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:19 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 11:11:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:19 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 11:11:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:11:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:19 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:11:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:24 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 11:11:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:11:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:24 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:24 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:24 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:11:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:11:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:11:54 Europe/Berlin] Session role: not set
[16-Dec-2025 11:11:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:11:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:11:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:12:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:12:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:12:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:12:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:12:25 Europe/Berlin] Session role: not set
[16-Dec-2025 11:12:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:12:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:12:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:12:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:12:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:12:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:12:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:12:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:12:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:12:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:12:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:12:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:12:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:13:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:13:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:13:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:13:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:13:25 Europe/Berlin] Session role: not set
[16-Dec-2025 11:13:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:13:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:13:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:13:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:13:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:13:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:13:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:13:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:13:58 Europe/Berlin] Session role: not set
[16-Dec-2025 11:13:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:13:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:13:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:14:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:14:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:14:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:14:25 Europe/Berlin] Session role: not set
[16-Dec-2025 11:14:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:14:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:14:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:14:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:14:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:14:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:14:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:14:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:14:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:14:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:14:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:15:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:15:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:15:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:15:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:15:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:15:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:15:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:15:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:15:56 Europe/Berlin] Session role: not set
[16-Dec-2025 11:15:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:15:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:15:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:16:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:16:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:16:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:16:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:16:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:16:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:16:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:16:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:16:58 Europe/Berlin] Session role: not set
[16-Dec-2025 11:16:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:16:58 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:16:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:17:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:17:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:17:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:17:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:17:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:17:25 Europe/Berlin] Session role: not set
[16-Dec-2025 11:17:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:17:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:17:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:17:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:17:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:17:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:17:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:17:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:17:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:17:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:17:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:17:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:18:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:18:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:18:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:18:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:18:57 Europe/Berlin] Session role: not set
[16-Dec-2025 11:18:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:18:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:18:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:19:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:19:57 Europe/Berlin] Session role: not set
[16-Dec-2025 11:19:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:19:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:19:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:20:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:20:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:20:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:20:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:20:51 Europe/Berlin] Session role: not set
[16-Dec-2025 11:20:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:20:52 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:20:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:20:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:20:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:20:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:20:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:20:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:20:54 Europe/Berlin] Session role: not set
[16-Dec-2025 11:20:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:20:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:20:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:21:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:21:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:21:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:21:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:21:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:21:26 Europe/Berlin] Session role: not set
[16-Dec-2025 11:21:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:21:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:21:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:21:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:21:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:21:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:21:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:21:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:21:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:21:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:21:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:21:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:22:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:22:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:22:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:22:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:22:25 Europe/Berlin] Session role: not set
[16-Dec-2025 11:22:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:22:25 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:22:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:22:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:22:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:22:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:22:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:22:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:22:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:22:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:22:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:22:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:22:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:23:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:23:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:23:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:23:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:23:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:23:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:23:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:23:56 Europe/Berlin] Session role: not set
[16-Dec-2025 11:23:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:23:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:23:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:25:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:25:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:25:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:25:00 Europe/Berlin] Session role: not set
[16-Dec-2025 11:25:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:25:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:25:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:25:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:25:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:25:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:25:33 Europe/Berlin] Session role: not set
[16-Dec-2025 11:25:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:25:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:25:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:25:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:25:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:25:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765879781
    [last_regeneration] => 1765879781
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765879781
    [session_started_at] => 2025-12-16 11:09:42
    [login_redirect_count] => 0
)

[16-Dec-2025 11:25:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:25:55 Europe/Berlin] Session role: not set
[16-Dec-2025 11:25:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:25:55 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[16-Dec-2025 10:25:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:39:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:39:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
)

[16-Dec-2025 11:39:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
)

[16-Dec-2025 11:39:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
)

[16-Dec-2025 11:39:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:06 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:06 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 10:39:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:39:06 UTC] Found 0 videos for teacher 44
[16-Dec-2025 11:39:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:39:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:08 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:39:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:32 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 11:39:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:32 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:39:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:39:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:33 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:39:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:39:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:40 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:41 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 10:39:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:39:41 UTC] Found 0 videos for teacher 44
[16-Dec-2025 11:39:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:39:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:41 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:39:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:51 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 11:39:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:51 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:51 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 11:39:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:39:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:39:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:39:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:39:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:39:52 Europe/Berlin] Session role: not set
[16-Dec-2025 11:39:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:39:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:39:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:39:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:40:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:40:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:40:00 Europe/Berlin] Session role: not set
[16-Dec-2025 11:40:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:40:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:40:00 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 10:40:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:40:00 UTC] Found 0 videos for teacher 44
[16-Dec-2025 11:40:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:40:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:40:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:40:00 Europe/Berlin] Session role: not set
[16-Dec-2025 11:40:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:40:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:40:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:40:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:40:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:40:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:40:30 Europe/Berlin] Session role: not set
[16-Dec-2025 11:40:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:40:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:40:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:40:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:40:32 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 11:40:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:40:32 Europe/Berlin] Session role: not set
[16-Dec-2025 11:40:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:40:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:40:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:40:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:40:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:40:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:40:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:40:33 Europe/Berlin] Session role: not set
[16-Dec-2025 11:40:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:40:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:40:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:41:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:41:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:41:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:41:02 Europe/Berlin] Session role: not set
[16-Dec-2025 11:41:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:41:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:41:02 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 10:41:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:41:02 UTC] Found 0 videos for teacher 44
[16-Dec-2025 11:41:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:41:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:41:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:41:03 Europe/Berlin] Session role: not set
[16-Dec-2025 11:41:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:41:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:41:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:41:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:41:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:41:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:41:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:41:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:41:33 Europe/Berlin] Session role: not set
[16-Dec-2025 11:41:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:41:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:41:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:42:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:42:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:42:03 Europe/Berlin] Session role: not set
[16-Dec-2025 11:42:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:42:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:42:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:42:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:42:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:42:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:42:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:42:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:42:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:42:33 Europe/Berlin] Session role: not set
[16-Dec-2025 11:42:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:42:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:42:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:43:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:43:00 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 11:43:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:43:00 Europe/Berlin] Session role: not set
[16-Dec-2025 11:43:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:43:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:43:00 UTC] DB Connection Status: Connected
[16-Dec-2025 10:43:00 UTC] User with ID 44 found
[16-Dec-2025 10:43:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 11:43:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:43:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:43:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:43:00 Europe/Berlin] Session role: not set
[16-Dec-2025 11:43:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:43:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:43:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:43:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:43:04 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 11:43:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:43:04 Europe/Berlin] Session role: not set
[16-Dec-2025 11:43:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:43:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:43:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 11:43:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:43:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:43:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:43:04 Europe/Berlin] Session role: not set
[16-Dec-2025 11:43:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:43:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:43:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:43:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:43:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:43:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:43:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:43:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:43:34 Europe/Berlin] Session role: not set
[16-Dec-2025 11:43:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:43:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:43:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:44:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:44:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:44:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:44:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:44:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:44:05 Europe/Berlin] Session role: not set
[16-Dec-2025 11:44:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:44:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:44:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:44:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:44:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:44:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:44:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:44:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:44:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:44:35 Europe/Berlin] Session role: not set
[16-Dec-2025 11:44:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:44:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:44:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:45:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:45:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:45:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:45:05 Europe/Berlin] Session role: not set
[16-Dec-2025 11:45:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:45:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:45:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:45:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:45:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:45:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:45:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:45:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:45:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:45:35 Europe/Berlin] Session role: not set
[16-Dec-2025 11:45:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:45:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:45:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:46:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:46:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:46:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:46:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:46:06 Europe/Berlin] Session role: not set
[16-Dec-2025 11:46:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:46:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:46:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:46:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:46:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:46:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:46:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:46:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:46:39 Europe/Berlin] Session role: not set
[16-Dec-2025 11:46:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:46:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:46:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:47:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:47:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:47:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:47:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:47:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:47:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:47:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:47:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:47:36 Europe/Berlin] Session role: not set
[16-Dec-2025 11:47:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:47:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:47:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:48:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:48:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:48:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:48:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:48:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:48:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:48:44 Europe/Berlin] Session role: not set
[16-Dec-2025 11:48:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:48:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:48:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:49:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:49:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:49:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:49:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:49:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:49:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:49:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:49:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:49:41 Europe/Berlin] Session role: not set
[16-Dec-2025 11:49:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:49:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:49:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:50:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:50:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:50:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:50:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:50:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:50:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:50:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:50:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:50:39 Europe/Berlin] Session role: not set
[16-Dec-2025 11:50:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:50:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:50:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:51:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:51:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:51:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:51:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:51:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:51:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:51:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:51:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:51:40 Europe/Berlin] Session role: not set
[16-Dec-2025 11:51:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:51:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:51:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:52:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:52:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:52:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:52:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:52:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:52:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:52:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:52:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:52:41 Europe/Berlin] Session role: not set
[16-Dec-2025 11:52:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:52:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:52:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:53:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:53:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:53:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:53:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:53:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:53:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:53:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:53:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:53:42 Europe/Berlin] Session role: not set
[16-Dec-2025 11:53:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:53:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:53:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:54:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:54:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:54:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:54:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:54:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:54:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:54:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:54:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:54:43 Europe/Berlin] Session role: not set
[16-Dec-2025 11:54:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:54:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:54:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:55:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:55:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:55:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:55:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:55:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:55:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:55:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:55:44 Europe/Berlin] Session role: not set
[16-Dec-2025 11:55:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:55:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:55:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:56:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:56:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:56:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:56:45 Europe/Berlin] Session role: not set
[16-Dec-2025 11:56:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:56:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:56:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:57:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:57:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:57:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:57:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:57:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:57:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:57:46 Europe/Berlin] Session role: not set
[16-Dec-2025 11:57:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:57:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:57:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 11:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:58:34 Europe/Berlin] Session role: not set
[16-Dec-2025 11:58:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:58:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:58:34 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 10:58:34 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 10:58:34 UTC] Found 0 videos for teacher 44
[16-Dec-2025 11:58:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:58:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:58:42 Europe/Berlin] Session role: not set
[16-Dec-2025 11:58:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:58:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:58:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:58:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:58:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:58:47 Europe/Berlin] Session role: not set
[16-Dec-2025 11:58:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:58:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:58:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:58:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:51 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 11:58:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:58:51 Europe/Berlin] Session role: not set
[16-Dec-2025 11:58:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:58:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:58:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:58:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:58:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:58:51 Europe/Berlin] Session role: not set
[16-Dec-2025 11:58:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:58:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:58:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:59:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:59:22 Europe/Berlin] Session role: not set
[16-Dec-2025 11:59:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:59:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:59:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:59:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:59:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:59:48 Europe/Berlin] Session role: not set
[16-Dec-2025 11:59:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:59:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:59:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 11:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:59:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 11:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 11:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765881545
    [last_regeneration] => 1765881545
    [session_started_at] => 2025-12-16 11:28:24
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765881545
    [login_redirect_count] => 0
)

[16-Dec-2025 11:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 11:59:52 Europe/Berlin] Session role: not set
[16-Dec-2025 11:59:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 10:59:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 10:59:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:00:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:00:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:00:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
)

[16-Dec-2025 12:00:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:00:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
)

[16-Dec-2025 12:00:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:00:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
)

[16-Dec-2025 12:00:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:00:52 Europe/Berlin] Session role: not set
[16-Dec-2025 12:00:52 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:00:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:00:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:01:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:01:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:01:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:01:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:01:53 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:01:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:01:53 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:01:53 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:01:53 Europe/Berlin] Session role: not set
[16-Dec-2025 12:01:53 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:01:53 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:01:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:02:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:02:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:02:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:02:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:02:54 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:02:54 Europe/Berlin] Session role: not set
[16-Dec-2025 12:02:54 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:02:54 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:02:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:03:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:03:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:03:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:03:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:03:55 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:03:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:03:55 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:03:55 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:03:55 Europe/Berlin] Session role: not set
[16-Dec-2025 12:03:55 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:03:55 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:03:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:04:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:04:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:04:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:04:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:04:56 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:04:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:04:56 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:04:56 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:04:56 Europe/Berlin] Session role: not set
[16-Dec-2025 12:04:56 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:04:56 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:04:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:06:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:06:03 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:06:03 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:03 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:06:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:06:03 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:06:03 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:06:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:06:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:06:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:06:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:06:57 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:06:57 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765882811
    [created_at] => 1765882811
    [last_regeneration] => 1765882811
    [session_started_at] => 2025-12-16 12:00:11
    [login_redirect_count] => 0
)

[16-Dec-2025 12:06:57 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:06:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:06:57 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:06:57 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:06:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:08:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:08:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:08:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
)

[16-Dec-2025 12:08:01 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:08:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
)

[16-Dec-2025 12:08:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:08:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:08:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:08:57 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:08:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:10:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:10:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:10:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:10:00 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:10:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:10:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:10:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:10:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:10:57 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:10:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:11:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:11:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:11:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:11:57 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:11:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:12:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:12:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:12:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:12:57 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:13:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:13:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:13:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:13:13 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:13:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883217
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:13:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:13:18 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:13:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883594
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:13:18 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 12:13:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883217
    [last_regeneration] => 1765883594
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[16-Dec-2025 12:13:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:13:28 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:13:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:13:28 Europe/Berlin] Session role: not set
[16-Dec-2025 12:13:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:13:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:13:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:13:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:13:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:29 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:13:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:29 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:13:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:13:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:13:29 Europe/Berlin] Session role: not set
[16-Dec-2025 12:13:29 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:13:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:13:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:14:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:14:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:14:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:14:00 Europe/Berlin] Session role: not set
[16-Dec-2025 12:14:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:14:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:14:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:14:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:14:30 Europe/Berlin] Session role: not set
[16-Dec-2025 12:14:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:14:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:15:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:15:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:15:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:15:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:15:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:15:00 Europe/Berlin] Session role: not set
[16-Dec-2025 12:15:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:15:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:15:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:15:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:15:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:15:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:15:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:15:30 Europe/Berlin] Session role: not set
[16-Dec-2025 12:15:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:15:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:15:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:16:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:16:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:16:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:16:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:16:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:16:02 Europe/Berlin] Session role: not set
[16-Dec-2025 12:16:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:16:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:16:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:16:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:16:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:16:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:16:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:16:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:16:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:16:35 Europe/Berlin] Session role: not set
[16-Dec-2025 12:16:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:16:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:16:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:17:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:17:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:17:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:17:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:17:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:17:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:17:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:17:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:17:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:17:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:17:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:17:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:17:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:17:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:17:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:17:47 Europe/Berlin] Session role: not set
[16-Dec-2025 12:17:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:17:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:17:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:18:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:18:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:18:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:18:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:18:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:18:01 Europe/Berlin] Session role: not set
[16-Dec-2025 12:18:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:18:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:18:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:18:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:18:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:18:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:18:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:18:30 Europe/Berlin] Session role: not set
[16-Dec-2025 12:18:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:18:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:18:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:19:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:19:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:19:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:19:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:19:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:19:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:19:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:19:32 Europe/Berlin] Session role: not set
[16-Dec-2025 12:19:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:19:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:19:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:20:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:20:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:20:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:20:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:20:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:20:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:20:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:20:32 Europe/Berlin] Session role: not set
[16-Dec-2025 12:20:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:20:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:20:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:21:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:21:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:21:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:21:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:21:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:21:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:21:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:21:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:21:33 Europe/Berlin] Session role: not set
[16-Dec-2025 12:21:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:21:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:21:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:22:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:22:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:22:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:22:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:22:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:22:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:22:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:22:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:22:34 Europe/Berlin] Session role: not set
[16-Dec-2025 12:22:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:22:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:22:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:23:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:23:25 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:23:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:23:25 Europe/Berlin] Session role: not set
[16-Dec-2025 12:23:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:23:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:23:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:23:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:23:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:23:27 Europe/Berlin] Session role: not set
[16-Dec-2025 12:23:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:23:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:23:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:23:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:23:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:23:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:23:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765883607
    [last_regeneration] => 1765883607
    [session_started_at] => 2025-12-16 12:07:01
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765883607
)

[16-Dec-2025 12:23:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:23:35 Europe/Berlin] Session role: not set
[16-Dec-2025 12:23:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:23:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:23:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:24:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:24:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:24:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
)

[16-Dec-2025 12:24:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:24:36 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
)

[16-Dec-2025 12:24:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:24:36 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
)

[16-Dec-2025 12:24:36 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:24:36 Europe/Berlin] Session role: not set
[16-Dec-2025 12:24:36 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:24:36 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:24:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:25:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:25:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:25:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:25:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:25:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:25:37 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:25:37 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:25:37 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:25:37 Europe/Berlin] Session role: not set
[16-Dec-2025 12:25:37 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:25:37 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:25:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:26:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:26:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:26:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:26:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:26:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:26:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:26:42 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:26:42 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:26:42 Europe/Berlin] Session role: not set
[16-Dec-2025 12:26:42 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:26:42 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:26:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:27:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:27:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:27:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:27:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:27:43 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:27:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:27:43 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:27:43 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:27:43 Europe/Berlin] Session role: not set
[16-Dec-2025 12:27:43 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:27:43 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:27:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:28:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:28:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:28:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:28:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:28:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:28:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:28:44 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:28:44 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:28:44 Europe/Berlin] Session role: not set
[16-Dec-2025 12:28:44 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:28:44 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:28:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:29:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:29:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:29:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:29:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:29:45 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:29:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:29:45 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:29:45 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:29:45 Europe/Berlin] Session role: not set
[16-Dec-2025 12:29:45 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:29:45 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:29:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:30:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:30:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:30:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:30:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:30:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:30:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:30:46 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:30:46 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:30:46 Europe/Berlin] Session role: not set
[16-Dec-2025 12:30:46 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:30:46 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:30:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:31:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:31:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:31:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:31:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:31:47 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:31:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:31:47 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:31:47 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:31:47 Europe/Berlin] Session role: not set
[16-Dec-2025 12:31:47 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:31:47 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:31:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:32:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:32:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:32:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:32:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:32:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:32:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:32:48 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:32:48 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:32:48 Europe/Berlin] Session role: not set
[16-Dec-2025 12:32:48 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:32:48 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:32:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:33:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:33:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:33:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:33:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:33:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:33:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:33:49 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:33:49 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:33:49 Europe/Berlin] Session role: not set
[16-Dec-2025 12:33:49 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:33:49 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:33:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:34:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:34:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:34:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:34:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:34:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:34:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:34:51 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:34:51 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:34:51 Europe/Berlin] Session role: not set
[16-Dec-2025 12:34:51 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:34:51 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:34:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:35:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:35:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:35:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:35:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:35:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:35:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:35:52 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884237
    [created_at] => 1765884237
    [last_regeneration] => 1765884237
    [session_started_at] => 2025-12-16 12:23:57
    [login_redirect_count] => 0
)

[16-Dec-2025 12:35:52 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:35:52 Europe/Berlin] Session role: not set
[16-Dec-2025 12:35:52 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:35:52 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:35:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:36:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:36:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 12:36:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
)

[16-Dec-2025 12:36:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
)

[16-Dec-2025 12:36:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
)

[16-Dec-2025 12:36:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:36:13 Europe/Berlin] Session role: not set
[16-Dec-2025 12:36:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:36:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:36:13 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 11:36:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 11:36:13 UTC] Found 0 videos for teacher 44
[16-Dec-2025 12:36:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:36:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:36:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:36:15 Europe/Berlin] Session role: not set
[16-Dec-2025 12:36:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:36:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:36:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:36:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:36:40 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:36:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:36:40 Europe/Berlin] Session role: not set
[16-Dec-2025 12:36:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:36:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:36:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:36:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:36:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:36:41 Europe/Berlin] Session role: not set
[16-Dec-2025 12:36:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:36:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:36:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:36:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:36:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:36:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:36:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:36:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:36:53 Europe/Berlin] Session role: not set
[16-Dec-2025 12:36:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:36:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:36:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:37:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:37:02 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:37:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:37:02 Europe/Berlin] Session role: not set
[16-Dec-2025 12:37:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:37:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:37:02 UTC] PHP Fatal error:  Uncaught Error: Call to a member function bind_param() on bool in /home/twpurnyc/public_html/teacher/profile.php:188
Stack trace:
#0 {main}
  thrown in /home/twpurnyc/public_html/teacher/profile.php on line 188
[16-Dec-2025 12:37:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:37:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:37:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:37:02 Europe/Berlin] Session role: not set
[16-Dec-2025 12:37:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:37:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:37:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:37:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:37:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:37:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:37:36 Europe/Berlin] Session role: not set
[16-Dec-2025 12:37:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:37:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:37:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:37:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:37:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:37:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:37:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:37:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:37:54 Europe/Berlin] Session role: not set
[16-Dec-2025 12:37:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:37:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:37:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:38:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:38:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:38:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:38:05 Europe/Berlin] Session role: not set
[16-Dec-2025 12:38:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:38:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:38:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:38:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:38:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:38:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:38:34 Europe/Berlin] Session role: not set
[16-Dec-2025 12:38:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:38:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:38:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:38:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:38:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:38:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:38:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:38:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:38:58 Europe/Berlin] Session role: not set
[16-Dec-2025 12:38:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:38:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:38:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:39:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:39:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:39:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:39:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:39:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:39:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:39:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:39:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:39:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:39:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:39:33 Europe/Berlin] Session role: not set
[16-Dec-2025 12:39:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:39:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:39:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:39:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:39:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:39:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:39:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:39:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:39:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:40:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:40:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:40:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:40:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:40:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:40:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:40:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:40:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:40:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:40:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:40:33 Europe/Berlin] Session role: not set
[16-Dec-2025 12:40:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:40:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:40:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:40:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:40:47 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 12:40:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:40:47 Europe/Berlin] Session role: not set
[16-Dec-2025 12:40:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:40:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:40:48 Europe/Berlin] Session role: not set
[16-Dec-2025 12:40:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:40:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:40:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:40:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:40:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:40:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:40:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:40:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:40:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:40:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:40:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:41:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 12:41:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:00 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:00 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 11:41:00 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 11:41:00 UTC] Found 0 videos for teacher 44
[16-Dec-2025 12:41:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:41:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:01 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:41:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:03 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 12:41:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:04 UTC] DB Connection Status: Connected
[16-Dec-2025 11:41:04 UTC] User with ID 44 found
[16-Dec-2025 11:41:04 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 12:41:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:41:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:41:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:06 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 12:41:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:06 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 12:41:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:41:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:07 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:41:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:41:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:38 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:41:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:41:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:41:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:41:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:41:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:41:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:41:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:42:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:42:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:42:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:42:09 Europe/Berlin] Session role: not set
[16-Dec-2025 12:42:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:42:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:42:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:42:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:42:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:42:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:42:42 Europe/Berlin] Session role: not set
[16-Dec-2025 12:42:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:42:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:42:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:42:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:42:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:42:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:42:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:42:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:42:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:42:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:42:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:43:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:43:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:43:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:43:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:43:08 Europe/Berlin] Session role: not set
[16-Dec-2025 12:43:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:43:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:43:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:43:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:43:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:43:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:43:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:43:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:43:38 Europe/Berlin] Session role: not set
[16-Dec-2025 12:43:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:43:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:43:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:44:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:44:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:44:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:44:00 Europe/Berlin] Session role: not set
[16-Dec-2025 12:44:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:44:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:44:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:44:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:44:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:44:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:44:08 Europe/Berlin] Session role: not set
[16-Dec-2025 12:44:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:44:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:44:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:44:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:44:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:44:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:44:38 Europe/Berlin] Session role: not set
[16-Dec-2025 12:44:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:44:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:44:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:44:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:44:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:44:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:44:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:44:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:44:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:44:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:44:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:45:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:45:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:45:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:45:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:45:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765884972
    [last_regeneration] => 1765884972
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765884972
    [session_started_at] => 2025-12-16 12:36:13
    [login_redirect_count] => 0
)

[16-Dec-2025 12:45:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:45:14 Europe/Berlin] Session role: not set
[16-Dec-2025 12:45:14 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:45:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:45:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:45:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:45:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:45:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
)

[16-Dec-2025 12:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:45:57 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
)

[16-Dec-2025 12:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:45:57 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
)

[16-Dec-2025 12:45:57 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:45:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:45:57 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:45:57 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:45:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:46:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:46:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:46:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
    [login_redirect_count] => 0
)

[16-Dec-2025 12:46:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:46:58 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
    [login_redirect_count] => 0
)

[16-Dec-2025 12:46:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:46:58 Europe/Berlin] Session data: Array
(
    [user_id] => 999
    [username] => admin
    [first_name] => Admin
    [last_name] => User
    [user_role] => admin
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885529
    [created_at] => 1765885529
    [last_regeneration] => 1765885529
    [session_started_at] => 2025-12-16 12:45:30
    [login_redirect_count] => 0
)

[16-Dec-2025 12:46:58 Europe/Berlin] hasPermission check - Required: teacher, User: admin
[16-Dec-2025 12:46:58 Europe/Berlin] Session role: not set
[16-Dec-2025 12:46:58 Europe/Berlin] Session user_role: admin
[16-Dec-2025 11:46:58 UTC] 🔔 Navbar Debug - User ID: 999, Count: 0
[16-Dec-2025 11:46:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:47:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:47:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 12:47:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
)

[16-Dec-2025 12:47:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
)

[16-Dec-2025 12:47:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
)

[16-Dec-2025 12:47:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:47:50 Europe/Berlin] Session role: not set
[16-Dec-2025 12:47:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:47:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:47:50 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 11:47:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 11:47:50 UTC] Found 0 videos for teacher 44
[16-Dec-2025 12:47:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:47:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:47:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:47:53 Europe/Berlin] Session role: not set
[16-Dec-2025 12:47:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:47:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:47:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:47:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:47:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:47:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:47:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:47:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:47:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:47:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 12:47:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:47:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:47:59 Europe/Berlin] Session role: not set
[16-Dec-2025 12:47:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:47:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:47:59 UTC] DB Connection Status: Connected
[16-Dec-2025 11:47:59 UTC] User with ID 44 found
[16-Dec-2025 11:47:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 12:48:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:48:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:48:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:48:00 Europe/Berlin] Session role: not set
[16-Dec-2025 12:48:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:48:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:48:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:48:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:48:01 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 12:48:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:48:01 Europe/Berlin] Session role: not set
[16-Dec-2025 12:48:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:48:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:48:01 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 12:48:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:48:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:48:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:48:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:48:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:48:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:48:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:48:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:48:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:48:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:48:33 Europe/Berlin] Session role: not set
[16-Dec-2025 12:48:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:48:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:48:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:48:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:48:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:48:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:49:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:49:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:49:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:49:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:49:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:49:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:49:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:49:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:49:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:49:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:49:34 Europe/Berlin] Session role: not set
[16-Dec-2025 12:49:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:49:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:49:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:49:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:50:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:50:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:50:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:50:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:50:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:50:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:50:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:50:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:50:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:50:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:50:34 Europe/Berlin] Session role: not set
[16-Dec-2025 12:50:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:50:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:50:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:50:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:50:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:51:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:51:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:51:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:51:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:51:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:51:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:51:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:51:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:51:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:51:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:51:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:51:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:51:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:51:35 Europe/Berlin] Session role: not set
[16-Dec-2025 12:51:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:51:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:51:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:52:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:52:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:52:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:52:03 Europe/Berlin] Session role: not set
[16-Dec-2025 12:52:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:52:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:52:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:52:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:52:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:52:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:52:27 Europe/Berlin] Session role: not set
[16-Dec-2025 12:52:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:52:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:52:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:52:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:52:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:52:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:52:34 Europe/Berlin] Session role: not set
[16-Dec-2025 12:52:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:52:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:52:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:52:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:52:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:52:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:52:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:52:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:52:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:52:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:52:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:53:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:53:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:53:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:53:04 Europe/Berlin] Session role: not set
[16-Dec-2025 12:53:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:53:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:53:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:53:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:53:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:53:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:53:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:53:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:53:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:53:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:53:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:53:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:53:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:53:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:53:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:53:58 Europe/Berlin] Session role: not set
[16-Dec-2025 12:53:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:53:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:53:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:54:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:54:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:54:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:54:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:55:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:55:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:55:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:55:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:55:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:55:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:56:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:56:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:56:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:56:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:56:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:56:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:56:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:56:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:56:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:56:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:56:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:56:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:56:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:56:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:56:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:57:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:57:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:57:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:57:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:57:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:57:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:57:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:57:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 12:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:58:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:58:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 11:58:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:58:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 12:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 12:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 12:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 12:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 12:58:57 Europe/Berlin] Session role: not set
[16-Dec-2025 12:58:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 11:58:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 11:58:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:00:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:00:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:00:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:00:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:00:11 Europe/Berlin] Session role: not set
[16-Dec-2025 13:00:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:00:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:00:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:00:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:00:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:00:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:00:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:00:11 Europe/Berlin] Session role: not set
[16-Dec-2025 13:00:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:00:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:00:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:01:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:01:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:01:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:01:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:01:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:01:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:01:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:01:07 Europe/Berlin] Session role: not set
[16-Dec-2025 13:01:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:01:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:01:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:02:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:02:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:02:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:02:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:02:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:02:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:02:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:02:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:02:08 Europe/Berlin] Session role: not set
[16-Dec-2025 13:02:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:02:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:02:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:03:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:03:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:03:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:03:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:03:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:03:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:03:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:03:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:03:15 Europe/Berlin] Session role: not set
[16-Dec-2025 13:03:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:03:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:03:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:04:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:04:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:04:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:04:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:04:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:04:13 Europe/Berlin] Session role: not set
[16-Dec-2025 13:04:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:04:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:04:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:04:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:04:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:04:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:04:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:04:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:04:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:04:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:04:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:05:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:05:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:05:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:05:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:05:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:05:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:05:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:05:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:05:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:05:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:06:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:06:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:06:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:06:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:06:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:06:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:06:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:06:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:07:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:07:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:07:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:07:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:07:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:07:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:07:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:07:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:07:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:08:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:08:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:08:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:08:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:08:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:08:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:08:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:08:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:08:58 Europe/Berlin] Session role: not set
[16-Dec-2025 13:08:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:08:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:08:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:09:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:09:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:09:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:09:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:09:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:09:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:09:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:09:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:09:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:09:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:10:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:10:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:10:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:10:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:10:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:10:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:10:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:10:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:10:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:10:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:10:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:10:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:11:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:11:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:11:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:11:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:11:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:11:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:11:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:11:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:11:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:11:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:11:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:11:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:12:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:12:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:12:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:12:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:12:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:12:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:12:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:12:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:13:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:13:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:13:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:13:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:13:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:13:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:13:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:13:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:13:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:13:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:13:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:13:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:14:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:14:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:14:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:14:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:14:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:14:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:14:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:14:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:14:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:14:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:14:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:14:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:15:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:15:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:15:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:15:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:15:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:15:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:15:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:15:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:15:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:15:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:16:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:16:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:16:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:16:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:16:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:16:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:16:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:16:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:16:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:16:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:16:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:16:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:17:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:17:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:17:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:17:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:17:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:17:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:18:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:18:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:18:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:18:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:18:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:18:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:18:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:18:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:19:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:19:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:19:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:19:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:19:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:20:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:20:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:20:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:20:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:20:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:20:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:20:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:20:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:20:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:20:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:20:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:20:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:21:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:21:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:21:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:21:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:21:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:21:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:21:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:21:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:21:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:21:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:21:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:21:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:22:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:22:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:22:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:22:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:22:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:22:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:22:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:22:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:22:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:22:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:22:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:22:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:23:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:23:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:23:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:23:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:23:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:23:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:23:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:23:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:23:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:23:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:24:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:24:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:24:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:24:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:24:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:24:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:24:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:24:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:24:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:24:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:25:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:25:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:25:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:25:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:25:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:25:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:25:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:25:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:26:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:26:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:26:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:26:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:26:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:26:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:26:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:26:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:27:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:27:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:27:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:27:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:27:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:28:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:28:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:28:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:28:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:28:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:28:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:28:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:28:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:28:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:28:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:28:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:28:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:29:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:29:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:29:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:29:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:29:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:29:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:30:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:30:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:30:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:30:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:30:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:30:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:30:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:30:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:31:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:31:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:31:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:31:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:31:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:31:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:31:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:31:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:31:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:31:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:31:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:31:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:32:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:32:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:32:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:32:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:32:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:32:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:32:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:32:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:32:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:32:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:32:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:33:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:33:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:33:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:33:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:33:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:33:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:33:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:33:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:34:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:34:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:34:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:34:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:34:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:34:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:34:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:34:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:35:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:35:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:35:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:35:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:35:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:35:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:35:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:35:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:36:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:36:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:36:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:36:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:36:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:36:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:36:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:36:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:36:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:36:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:36:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:36:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:37:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:37:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:37:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:37:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:37:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:37:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:37:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:37:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:37:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:37:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:38:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:38:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:38:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:38:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:38:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:38:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:38:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:38:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:39:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:39:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:39:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:39:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:39:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:39:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:40:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:40:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:40:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:40:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:40:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:40:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:40:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:40:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:40:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:40:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:40:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:40:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:41:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:41:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:41:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:41:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:41:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:41:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:41:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:42:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:42:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:42:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:42:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:42:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:42:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:42:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:42:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:43:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:43:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:43:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:43:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:43:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:43:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:43:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:43:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:43:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:43:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:45:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:45:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:45:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:45:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:45:06 Europe/Berlin] Session role: not set
[16-Dec-2025 13:45:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:45:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:45:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:45:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:45:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:45:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:45:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:45:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:45:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:45:58 Europe/Berlin] Session role: not set
[16-Dec-2025 13:45:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:45:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:45:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:46:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:46:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:46:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:46:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:46:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:46:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:46:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:46:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:47:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:47:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:47:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:47:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:47:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:47:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:47:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:47:59 Europe/Berlin] Session role: not set
[16-Dec-2025 13:47:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:47:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:47:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:48:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:48:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:48:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:49:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:50:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:50:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:51:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:51:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:51:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:51:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:51:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:52:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:52:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:52:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:52:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:52:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:52:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:52:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:52:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:53:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:53:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:53:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:53:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:53:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:53:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:53:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:53:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:54:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:54:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 13:55:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:55:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:55:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:56:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:56:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:56:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:56:45 Europe/Berlin] Session role: not set
[16-Dec-2025 13:56:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:56:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:56:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:57:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:57:00 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 13:57:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:57:00 Europe/Berlin] Session role: not set
[16-Dec-2025 13:57:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:57:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:57:00 UTC] DB Connection Status: Connected
[16-Dec-2025 12:57:00 UTC] User with ID 44 found
[16-Dec-2025 12:57:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 13:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:57:03 Europe/Berlin] Session role: not set
[16-Dec-2025 13:57:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:57:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:57:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:57:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:57:05 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 13:57:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:57:05 Europe/Berlin] Session role: not set
[16-Dec-2025 13:57:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:57:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:57:05 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 13:57:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:57:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:57:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:57:06 Europe/Berlin] Session role: not set
[16-Dec-2025 13:57:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:57:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:57:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:57:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:57:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:57:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:57:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:57:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:57:36 Europe/Berlin] Session role: not set
[16-Dec-2025 13:57:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:57:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:57:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:58:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:58:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:58:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:58:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:58:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
)

[16-Dec-2025 13:58:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:58:06 Europe/Berlin] Session role: not set
[16-Dec-2025 13:58:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:58:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 0
[16-Dec-2025 12:58:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:58:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:58:18 Europe/Berlin] PDO connection created successfully for email service
[16-Dec-2025 13:58:19 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Accounting" - Awaiting Approval - failed
[16-Dec-2025 13:58:19 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Accounting" - Awaiting Approval - sent
[16-Dec-2025 13:58:19 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Accounting" - Awaiting Approval - sent
[16-Dec-2025 13:58:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:58:20 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 13:58:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:58:20 Europe/Berlin] Session role: not set
[16-Dec-2025 13:58:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:58:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 12:58:20 UTC] DB Connection Status: Connected
[16-Dec-2025 12:58:20 UTC] User with ID 44 found
[16-Dec-2025 12:58:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 13:58:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:58:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:58:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:58:20 Europe/Berlin] Session role: not set
[16-Dec-2025 13:58:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:58:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 12:58:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 13:58:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:58:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:58:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765885669
    [last_regeneration] => 1765885669
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765885669
    [session_started_at] => 2025-12-16 12:47:50
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[16-Dec-2025 13:58:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:58:25 Europe/Berlin] Session role: not set
[16-Dec-2025 13:58:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:58:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:59:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 13:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
)

[16-Dec-2025 13:59:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
)

[16-Dec-2025 13:59:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
)

[16-Dec-2025 13:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:59:20 Europe/Berlin] Session role: not set
[16-Dec-2025 13:59:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:59:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 12:59:20 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 12:59:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 12:59:20 UTC] Found 0 videos for teacher 44
[16-Dec-2025 13:59:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 13:59:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 13:59:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
    [login_redirect_count] => 0
)

[16-Dec-2025 13:59:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:59:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
    [login_redirect_count] => 0
)

[16-Dec-2025 13:59:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 13:59:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765889959
    [last_regeneration] => 1765889959
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765889959
    [session_started_at] => 2025-12-16 13:59:20
    [login_redirect_count] => 0
)

[16-Dec-2025 13:59:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 13:59:21 Europe/Berlin] Session role: not set
[16-Dec-2025 13:59:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 12:59:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 12:59:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:01:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:01:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:01:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
)

[16-Dec-2025 14:01:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
)

[16-Dec-2025 14:01:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
)

[16-Dec-2025 14:01:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:01:30 Europe/Berlin] Session role: not set
[16-Dec-2025 14:01:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:01:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:01:30 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:01:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:01:30 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:01:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:01:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:01:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:31 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:31 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:01:31 Europe/Berlin] Session role: not set
[16-Dec-2025 14:01:31 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:01:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:01:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:01:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:01:43 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:01:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:01:43 Europe/Berlin] Session role: not set
[16-Dec-2025 14:01:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:01:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:01:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:01:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:01:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:01:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:01:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:01:44 Europe/Berlin] Session role: not set
[16-Dec-2025 14:01:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:01:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:01:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:02:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:02:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:02:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:02:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:02:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:02:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:02:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890089
    [last_regeneration] => 1765890089
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890089
    [session_started_at] => 2025-12-16 14:01:30
    [login_redirect_count] => 0
)

[16-Dec-2025 14:02:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:02:15 Europe/Berlin] Session role: not set
[16-Dec-2025 14:02:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:02:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:02:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:05:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:05:27 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:05:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
)

[16-Dec-2025 14:05:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
)

[16-Dec-2025 14:05:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
)

[16-Dec-2025 14:05:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:05:27 Europe/Berlin] Session role: not set
[16-Dec-2025 14:05:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:05:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:05:27 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:05:27 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:05:27 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:05:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:05:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:05:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:05:28 Europe/Berlin] Session role: not set
[16-Dec-2025 14:05:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:05:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:05:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:05:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:05:33 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 14:05:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:05:33 Europe/Berlin] Session role: not set
[16-Dec-2025 14:05:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:05:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:05:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:05:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:05:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:05:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:05:34 Europe/Berlin] Session role: not set
[16-Dec-2025 14:05:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:05:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:05:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:06:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:06:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:06:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:06:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:06:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:06:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890326
    [last_regeneration] => 1765890326
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890326
    [session_started_at] => 2025-12-16 14:05:27
    [login_redirect_count] => 0
)

[16-Dec-2025 14:06:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:06:04 Europe/Berlin] Session role: not set
[16-Dec-2025 14:06:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:06:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:06:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:11:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:11:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
)

[16-Dec-2025 14:11:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
)

[16-Dec-2025 14:11:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
)

[16-Dec-2025 14:11:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:21 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:11:21 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:11:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:11:21 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:11:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:11:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:22 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:11:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:11:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:49 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[16-Dec-2025 14:11:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:49 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:11:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:11:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:50 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:11:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:11:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:53 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:11:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:53 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:11:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:11:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:11:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:11:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:11:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:11:54 Europe/Berlin] Session role: not set
[16-Dec-2025 14:11:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:11:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:11:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:12:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:12:11 Europe/Berlin] Session role: not set
[16-Dec-2025 14:12:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:12:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:12:11 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:12:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:12:11 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:12:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:12:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:12:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:12:11 Europe/Berlin] Session role: not set
[16-Dec-2025 14:12:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:12:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:12:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:12:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:12:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:12:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:12:42 Europe/Berlin] Session role: not set
[16-Dec-2025 14:12:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:12:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:12:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:12:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:12:57 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:12:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:12:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:12:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:12:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:12:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:12:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:12:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:12:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:12:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:12:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:12:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:12:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:12:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:13:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:13:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:13:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:13:28 Europe/Berlin] Session role: not set
[16-Dec-2025 14:13:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:13:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:13:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:13:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:13:47 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:13:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:13:47 Europe/Berlin] Session role: not set
[16-Dec-2025 14:13:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:13:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:13:47 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:13:47 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:13:47 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:13:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:13:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:13:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:13:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:13:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:13:47 Europe/Berlin] Session role: not set
[16-Dec-2025 14:13:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:13:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:13:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:14:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:14:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:14:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:14:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:14:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:14:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:14:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:14:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:14:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:14:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:14:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:14:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:14:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:14:50 Europe/Berlin] Session role: not set
[16-Dec-2025 14:14:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:14:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:14:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:15:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:15:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:15:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:15:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:15:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:15:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:15:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:15:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:15:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:15:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:15:48 Europe/Berlin] Session role: not set
[16-Dec-2025 14:15:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:15:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:15:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:16:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:16:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:16:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:16:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:16:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:16:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:16:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:16:48 Europe/Berlin] Session role: not set
[16-Dec-2025 14:16:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:16:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:17:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:17:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:17:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:17:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:17:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:17:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:17:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:17:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:17:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:17:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:17:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:17:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:17:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:17:48 Europe/Berlin] Session role: not set
[16-Dec-2025 14:17:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:17:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:17:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:18:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:18:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:18:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:18:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:18:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:18:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:18:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:18:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:18:38 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:18:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:18:38 Europe/Berlin] Session role: not set
[16-Dec-2025 14:18:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:18:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:18:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:18:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:18:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:18:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:18:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:18:38 Europe/Berlin] Session role: not set
[16-Dec-2025 14:18:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:18:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:18:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:19:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:19:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:19:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:19:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:19:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:19:09 Europe/Berlin] Session role: not set
[16-Dec-2025 14:19:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:19:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:19:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:19:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:19:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:19:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:19:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:19:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:19:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:19:39 Europe/Berlin] Session role: not set
[16-Dec-2025 14:19:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:19:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:19:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:20:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:20:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:20:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:20:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:20:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:20:11 Europe/Berlin] Session role: not set
[16-Dec-2025 14:20:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:20:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:20:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:20:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:20:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:20:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:20:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:20:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:20:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:20:40 Europe/Berlin] Session role: not set
[16-Dec-2025 14:20:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:20:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:20:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:21:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:21:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:21:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:21:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:21:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:21:09 Europe/Berlin] Session role: not set
[16-Dec-2025 14:21:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:21:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:21:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:21:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:21:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:21:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:21:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:21:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:21:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:21:39 Europe/Berlin] Session role: not set
[16-Dec-2025 14:21:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:21:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:21:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:22:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:22:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:22:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:22:09 Europe/Berlin] Session role: not set
[16-Dec-2025 14:22:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:22:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:22:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:22:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:22:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:22:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:22:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:22:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:22:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:22:39 Europe/Berlin] Session role: not set
[16-Dec-2025 14:22:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:22:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:22:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:23:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:23:00 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:23:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:23:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:23:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:23:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:23:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:23:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:23:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:23:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:23:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:23:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:23:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:23:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:23:18 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:23:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:23:18 Europe/Berlin] Session role: not set
[16-Dec-2025 14:23:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:23:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:23:18 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:23:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:23:18 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:23:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:23:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:23:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:23:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765890681
    [last_regeneration] => 1765890681
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765890681
    [session_started_at] => 2025-12-16 14:11:21
    [login_redirect_count] => 0
)

[16-Dec-2025 14:23:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:23:19 Europe/Berlin] Session role: not set
[16-Dec-2025 14:23:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:23:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:23:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:25:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:25:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
)

[16-Dec-2025 14:25:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
)

[16-Dec-2025 14:25:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
)

[16-Dec-2025 14:25:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:32 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:32 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:25:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:25:32 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:25:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:25:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:33 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:25:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:47 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[16-Dec-2025 14:25:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:47 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:25:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:25:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:48 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:25:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:25:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:51 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:51 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:25:51 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:25:51 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:25:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:25:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:51 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:25:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:55 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[16-Dec-2025 14:25:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:55 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:55 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 14:25:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:25:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:55 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:25:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:56 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 14:25:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:25:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:25:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:25:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:25:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:25:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:25:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:25:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:25:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:26:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:26:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 14:26:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:26:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:26:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:26:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:26:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:26:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:26:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:26:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:26:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:26:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:26:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:26:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:26:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:26:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:30 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:26:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:26:30 Europe/Berlin] Session role: not set
[16-Dec-2025 14:26:30 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:26:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:26:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:27:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:27:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:27:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:27:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:27:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:27:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:27:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 14:27:03 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 
    [video_type] => file
    [manual_duration] => 
    [title] => Account part 1
    [course_id] => 17
    [description] => welcome to accounting
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => 01.png
            [type] => image/png
            [tmp_name] => /tmp/phpQYn2Ul
            [error] => 0
            [size] => 87045
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpXyM3UA
            [error] => 0
            [size] => 5847406
        )

)

[16-Dec-2025 14:27:03 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:27:03 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:27:03 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:27:03 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:27:03 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:27:03 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:27:03 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:27:03 Europe/Berlin]   video_url: 
[16-Dec-2025 14:27:03 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:27:03 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:27:03 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:27:03 Europe/Berlin]   detected_duration: 
[16-Dec-2025 14:27:03 Europe/Berlin]   video_type: file
[16-Dec-2025 14:27:03 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:27:03 Europe/Berlin]   title: Account part 1
[16-Dec-2025 14:27:03 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:27:03 Europe/Berlin]   description: welcome to accounting
[16-Dec-2025 14:27:03 Europe/Berlin]   category_name: 
[16-Dec-2025 14:27:03 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:27:03 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:27:03 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:27:03 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:27:03 Europe/Berlin]   thumbnail: 01.png (87045 bytes, error: 0)
[16-Dec-2025 14:27:03 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 14:27:03 Europe/Berlin]   video_type: file
[16-Dec-2025 14:27:03 Europe/Berlin]   video_url: 
[16-Dec-2025 14:27:03 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:27:03 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:27:03 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 14:27:03 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:27:03 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:27:03 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:27:03 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:27:03 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:27:03 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:27:03 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:27:03 Europe/Berlin]   video_url: 
[16-Dec-2025 14:27:03 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:27:03 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:27:03 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:27:03 Europe/Berlin]   detected_duration: 
[16-Dec-2025 14:27:03 Europe/Berlin]   video_type: file
[16-Dec-2025 14:27:03 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:27:03 Europe/Berlin]   title: Account part 1
[16-Dec-2025 14:27:03 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:27:03 Europe/Berlin]   description: welcome to accounting
[16-Dec-2025 14:27:03 Europe/Berlin]   category_name: 
[16-Dec-2025 14:27:03 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:27:03 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:27:03 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:27:03 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:27:03 Europe/Berlin]   thumbnail: 01.png (87045 bytes, error: 0)
[16-Dec-2025 14:27:03 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 14:27:03 Europe/Berlin]   video exists: YES
[16-Dec-2025 14:27:03 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 14:27:03 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   video size: 5847406
[16-Dec-2025 14:27:03 Europe/Berlin]   video error: 0
[16-Dec-2025 14:27:03 Europe/Berlin]   video tmp_name: /tmp/phpXyM3UA
[16-Dec-2025 14:27:03 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 14:27:03 Europe/Berlin]   video_type: file
[16-Dec-2025 14:27:03 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 14:27:03 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 14:27:03 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 14:27:03 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   type: video/mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   size: 5847406
[16-Dec-2025 14:27:03 Europe/Berlin]   error: 0
[16-Dec-2025 14:27:03 Europe/Berlin]   tmp_name: /tmp/phpXyM3UA
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 14:27:03 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 14:27:03 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 14:27:03 Europe/Berlin] 📁 File paths:
[16-Dec-2025 14:27:03 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 14:27:03 Europe/Berlin]   Video filename: video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 14:27:03 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 14:27:03 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69415e274c90c_1765891623.png
[16-Dec-2025 14:27:03 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69415e274c90c_1765891623.png
[16-Dec-2025 14:27:03 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 14:27:03 Europe/Berlin]   From: /tmp/phpXyM3UA
[16-Dec-2025 14:27:03 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 14:27:03 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 14:27:03 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 14:27:03 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 14:27:03 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 14:27:03 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:27:03 Europe/Berlin]   title: Account part 1
[16-Dec-2025 14:27:03 Europe/Berlin]   description: welcome to accounting
[16-Dec-2025 14:27:03 Europe/Berlin]   video_type: file
[16-Dec-2025 14:27:03 Europe/Berlin]   videoPathForDB: uploads/videos/video_69415e274c90c_1765891623.mp4
[16-Dec-2025 14:27:03 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69415e274c90c_1765891623.png
[16-Dec-2025 14:27:03 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:27:03 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 14:27:03 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 14:27:03 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 14:27:03 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 14:27:03 Europe/Berlin]   Generated video_id: 32
[16-Dec-2025 14:27:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:27:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 14:27:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:27:10 Europe/Berlin] Session role: not set
[16-Dec-2025 14:27:10 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:27:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:27:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:27:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:27:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:27:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891531
    [last_regeneration] => 1765891531
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891531
    [session_started_at] => 2025-12-16 14:25:32
    [login_redirect_count] => 0
)

[16-Dec-2025 14:27:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:27:11 Europe/Berlin] Session role: not set
[16-Dec-2025 14:27:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:27:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:27:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
)

[16-Dec-2025 14:28:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
)

[16-Dec-2025 14:28:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
)

[16-Dec-2025 14:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:28:49 Europe/Berlin] Session role: not set
[16-Dec-2025 14:28:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:28:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:28:49 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:28:49 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:28:49 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:28:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:28:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:28:49 Europe/Berlin] Session role: not set
[16-Dec-2025 14:28:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:28:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:28:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:28:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:28:54 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 14:28:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:28:54 Europe/Berlin] Session role: not set
[16-Dec-2025 14:28:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:28:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:28:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:28:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:28:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:28:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:28:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:28:55 Europe/Berlin] Session role: not set
[16-Dec-2025 14:28:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:28:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:28:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:29:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:29:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:29:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:29:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:29:26 Europe/Berlin] Session role: not set
[16-Dec-2025 14:29:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:29:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:29:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:29:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:29:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:29:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:29:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:29:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:29:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:29:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:29:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:29:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:29:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:30:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:30:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:30:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:30:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:30:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:30:26 Europe/Berlin] Session role: not set
[16-Dec-2025 14:30:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:30:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:30:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:30:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:30:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:30:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:30:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:30:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:30:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:30:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:30:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:30:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:30:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:31:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:31:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:31:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:31:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:31:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:31:27 Europe/Berlin] Session role: not set
[16-Dec-2025 14:31:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:31:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:31:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:31:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:31:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:31:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:31:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:31:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:31:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:31:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:31:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:31:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:31:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:32:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:32:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:32:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:32:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:32:26 Europe/Berlin] Session role: not set
[16-Dec-2025 14:32:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:32:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:32:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:32:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:32:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:32:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:32:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:32:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:32:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:32:58 Europe/Berlin] Session role: not set
[16-Dec-2025 14:32:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:32:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:32:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:34:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:34:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:34:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:34:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:34:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:34:00 Europe/Berlin] Session role: not set
[16-Dec-2025 14:34:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:34:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:34:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:34:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:34:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:34:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:34:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:34:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:34:58 Europe/Berlin] Session role: not set
[16-Dec-2025 14:34:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:34:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:34:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:35:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:35:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:35:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:35:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:35:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:35:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:35:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:35:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:36:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:36:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:36:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:36:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:36:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:36:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:36:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:36:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:36:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:36:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:36:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:36:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:37:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:37:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:37:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:37:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:37:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:37:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:37:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:37:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:37:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:37:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:37:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:37:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:38:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:38:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:38:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:38:26 Europe/Berlin] Session role: not set
[16-Dec-2025 14:38:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:38:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:38:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:38:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:38:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:38:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:38:55 Europe/Berlin] Session role: not set
[16-Dec-2025 14:38:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:38:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:38:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:38:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:38:56 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 14:38:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:38:56 Europe/Berlin] Session role: not set
[16-Dec-2025 14:38:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:38:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:38:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:38:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:38:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:38:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:38:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:38:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:38:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:39:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:39:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:39:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:39:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:39:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:39:28 Europe/Berlin] Session role: not set
[16-Dec-2025 14:39:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:39:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:39:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:39:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:39:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:39:57 Europe/Berlin] Session role: not set
[16-Dec-2025 14:39:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:39:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:39:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 14:40:10 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:52
    [video_type] => file
    [manual_duration] => 
    [title] => accounting part 2
    [course_id] => 17
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => laptop-3087585.jpg
            [type] => image/jpeg
            [tmp_name] => /tmp/phplYhVcN
            [error] => 0
            [size] => 2702381
        )

    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpd4cun3
            [error] => 0
            [size] => 9748423
        )

)

[16-Dec-2025 14:40:10 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:40:10 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:40:10 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:40:10 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:40:10 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:40:10 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:40:10 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:40:10 Europe/Berlin]   video_url: 
[16-Dec-2025 14:40:10 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:40:10 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:40:10 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:40:10 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 14:40:10 Europe/Berlin]   video_type: file
[16-Dec-2025 14:40:10 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:40:10 Europe/Berlin]   title: accounting part 2
[16-Dec-2025 14:40:10 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:40:10 Europe/Berlin]   description: welcome
[16-Dec-2025 14:40:10 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 14:40:10 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:40:10 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:40:10 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:40:10 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:40:10 Europe/Berlin]   thumbnail: laptop-3087585.jpg (2702381 bytes, error: 0)
[16-Dec-2025 14:40:10 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 14:40:10 Europe/Berlin]   video_type: file
[16-Dec-2025 14:40:10 Europe/Berlin]   video_url: 
[16-Dec-2025 14:40:10 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:40:10 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:40:10 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 14:40:10 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:40:10 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:40:10 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:40:10 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:40:10 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:40:10 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:40:10 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:40:10 Europe/Berlin]   video_url: 
[16-Dec-2025 14:40:10 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:40:10 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:40:10 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:40:10 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 14:40:10 Europe/Berlin]   video_type: file
[16-Dec-2025 14:40:10 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:40:10 Europe/Berlin]   title: accounting part 2
[16-Dec-2025 14:40:10 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:40:10 Europe/Berlin]   description: welcome
[16-Dec-2025 14:40:10 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 14:40:10 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:40:10 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:40:10 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:40:10 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:40:10 Europe/Berlin]   thumbnail: laptop-3087585.jpg (2702381 bytes, error: 0)
[16-Dec-2025 14:40:10 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 14:40:10 Europe/Berlin]   video exists: YES
[16-Dec-2025 14:40:10 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 14:40:10 Europe/Berlin]   video name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   video size: 9748423
[16-Dec-2025 14:40:10 Europe/Berlin]   video error: 0
[16-Dec-2025 14:40:10 Europe/Berlin]   video tmp_name: /tmp/phpd4cun3
[16-Dec-2025 14:40:10 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 14:40:10 Europe/Berlin]   video_type: file
[16-Dec-2025 14:40:10 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 14:40:10 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 14:40:10 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 14:40:10 Europe/Berlin]   name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   type: video/mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   size: 9748423
[16-Dec-2025 14:40:10 Europe/Berlin]   error: 0
[16-Dec-2025 14:40:10 Europe/Berlin]   tmp_name: /tmp/phpd4cun3
[16-Dec-2025 14:40:10 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 14:40:10 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 14:40:10 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 14:40:10 Europe/Berlin] 📁 File paths:
[16-Dec-2025 14:40:10 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 14:40:10 Europe/Berlin]   Video filename: video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 14:40:10 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 14:40:10 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_6941613a8cced_1765892410.jpg
[16-Dec-2025 14:40:10 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_6941613a8cced_1765892410.jpg
[16-Dec-2025 14:40:10 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 14:40:10 Europe/Berlin]   From: /tmp/phpd4cun3
[16-Dec-2025 14:40:10 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:10 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 14:40:11 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:11 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:11 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 14:40:11 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 14:40:11 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 14:40:11 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 14:40:11 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:40:11 Europe/Berlin]   title: accounting part 2
[16-Dec-2025 14:40:11 Europe/Berlin]   description: welcome
[16-Dec-2025 14:40:11 Europe/Berlin]   video_type: file
[16-Dec-2025 14:40:11 Europe/Berlin]   videoPathForDB: uploads/videos/video_6941613a8cced_1765892410.mp4
[16-Dec-2025 14:40:11 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_6941613a8cced_1765892410.jpg
[16-Dec-2025 14:40:11 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:40:11 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 14:40:11 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 14:40:11 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 14:40:11 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 14:40:11 Europe/Berlin]   Generated video_id: 33
[16-Dec-2025 14:40:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 14:40:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:40:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:40:20 Europe/Berlin] Session role: not set
[16-Dec-2025 14:40:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:40:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:40:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:40:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:40:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765891728
    [last_regeneration] => 1765891728
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765891728
    [session_started_at] => 2025-12-16 14:28:49
    [login_redirect_count] => 0
)

[16-Dec-2025 14:40:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:40:21 Europe/Berlin] Session role: not set
[16-Dec-2025 14:40:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:40:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:40:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:55:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:55:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 14:55:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
)

[16-Dec-2025 14:55:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
)

[16-Dec-2025 14:55:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
)

[16-Dec-2025 14:55:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:55:53 Europe/Berlin] Session role: not set
[16-Dec-2025 14:55:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:55:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:55:53 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 13:55:53 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 13:55:53 UTC] Found 0 videos for teacher 44
[16-Dec-2025 14:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:55:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:55:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:55:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:55:55 Europe/Berlin] Session role: not set
[16-Dec-2025 14:55:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:55:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:55:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:56:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:56:02 Europe/Berlin] Teacher Auth Check - Script: courses.php
[16-Dec-2025 14:56:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:56:02 Europe/Berlin] Session role: not set
[16-Dec-2025 14:56:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:56:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:56:02 UTC] DB Connection Status: Connected
[16-Dec-2025 13:56:02 UTC] User with ID 44 found
[16-Dec-2025 13:56:02 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[16-Dec-2025 14:56:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:56:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:56:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:56:03 Europe/Berlin] Session role: not set
[16-Dec-2025 14:56:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:56:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:56:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:56:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:56:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 14:56:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:56:05 Europe/Berlin] Session role: not set
[16-Dec-2025 14:56:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:56:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:56:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:56:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:56:06 Europe/Berlin] Session role: not set
[16-Dec-2025 14:56:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:56:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:56:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:56:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:56:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:56:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:56:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:56:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:56:36 Europe/Berlin] Session role: not set
[16-Dec-2025 14:56:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:56:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:56:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:57:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:57:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:57:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:57:08 Europe/Berlin] Session role: not set
[16-Dec-2025 14:57:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:57:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:57:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 14:57:18 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:52
    [video_type] => file
    [manual_duration] => 
    [title] => Accounting Part 3
    [course_id] => 17
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => website development pricing.jpg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpO92oHi
            [error] => 0
            [size] => 146146
        )

    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpkKYsCb
            [error] => 0
            [size] => 9748423
        )

)

[16-Dec-2025 14:57:18 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:57:18 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:57:18 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:57:18 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:57:18 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:57:18 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:57:18 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:57:18 Europe/Berlin]   video_url: 
[16-Dec-2025 14:57:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:57:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:57:18 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:57:18 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 14:57:18 Europe/Berlin]   video_type: file
[16-Dec-2025 14:57:18 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:57:18 Europe/Berlin]   title: Accounting Part 3
[16-Dec-2025 14:57:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:57:18 Europe/Berlin]   description: welcome
[16-Dec-2025 14:57:18 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 14:57:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:57:18 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:57:18 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:57:18 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:57:18 Europe/Berlin]   thumbnail: website development pricing.jpg (146146 bytes, error: 0)
[16-Dec-2025 14:57:18 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 14:57:18 Europe/Berlin]   video_type: file
[16-Dec-2025 14:57:18 Europe/Berlin]   video_url: 
[16-Dec-2025 14:57:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:57:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:57:18 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 14:57:18 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 14:57:18 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 14:57:18 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 14:57:18 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 14:57:18 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 14:57:18 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 14:57:18 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 14:57:18 Europe/Berlin]   video_url: 
[16-Dec-2025 14:57:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 14:57:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 14:57:18 Europe/Berlin]   embed_code: 
[16-Dec-2025 14:57:18 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 14:57:18 Europe/Berlin]   video_type: file
[16-Dec-2025 14:57:18 Europe/Berlin]   manual_duration: 
[16-Dec-2025 14:57:18 Europe/Berlin]   title: Accounting Part 3
[16-Dec-2025 14:57:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:57:18 Europe/Berlin]   description: welcome
[16-Dec-2025 14:57:18 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 14:57:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:57:18 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 14:57:18 Europe/Berlin]   ajax: 1
[16-Dec-2025 14:57:18 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 14:57:18 Europe/Berlin]   thumbnail: website development pricing.jpg (146146 bytes, error: 0)
[16-Dec-2025 14:57:18 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 14:57:18 Europe/Berlin]   video exists: YES
[16-Dec-2025 14:57:18 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 14:57:18 Europe/Berlin]   video name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   video size: 9748423
[16-Dec-2025 14:57:18 Europe/Berlin]   video error: 0
[16-Dec-2025 14:57:18 Europe/Berlin]   video tmp_name: /tmp/phpkKYsCb
[16-Dec-2025 14:57:18 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 14:57:18 Europe/Berlin]   video_type: file
[16-Dec-2025 14:57:18 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 14:57:18 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 14:57:18 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 14:57:18 Europe/Berlin]   name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   type: video/mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   size: 9748423
[16-Dec-2025 14:57:18 Europe/Berlin]   error: 0
[16-Dec-2025 14:57:18 Europe/Berlin]   tmp_name: /tmp/phpkKYsCb
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 14:57:18 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 14:57:18 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 14:57:18 Europe/Berlin] 📁 File paths:
[16-Dec-2025 14:57:18 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 14:57:18 Europe/Berlin]   Video filename: video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 14:57:18 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 14:57:18 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_6941653ea5cf2_1765893438.jpg
[16-Dec-2025 14:57:18 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_6941653ea5cf2_1765893438.jpg
[16-Dec-2025 14:57:18 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 14:57:18 Europe/Berlin]   From: /tmp/phpkKYsCb
[16-Dec-2025 14:57:18 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 14:57:18 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 14:57:18 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 14:57:18 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 14:57:18 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 14:57:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 14:57:18 Europe/Berlin]   title: Accounting Part 3
[16-Dec-2025 14:57:18 Europe/Berlin]   description: welcome
[16-Dec-2025 14:57:18 Europe/Berlin]   video_type: file
[16-Dec-2025 14:57:18 Europe/Berlin]   videoPathForDB: uploads/videos/video_6941653ea5cf2_1765893438.mp4
[16-Dec-2025 14:57:18 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_6941653ea5cf2_1765893438.jpg
[16-Dec-2025 14:57:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 14:57:18 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 14:57:18 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 14:57:18 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 14:57:18 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 14:57:18 Europe/Berlin]   Generated video_id: 34
[16-Dec-2025 14:57:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:57:22 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 14:57:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:57:22 Europe/Berlin] Session role: not set
[16-Dec-2025 14:57:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:57:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:57:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:57:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:57:22 Europe/Berlin] Session role: not set
[16-Dec-2025 14:57:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:57:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:57:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:57:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:57:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:57:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:57:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:57:53 Europe/Berlin] Session role: not set
[16-Dec-2025 14:57:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:57:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:57:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:58:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:58:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:58:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:58:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:58:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:58:23 Europe/Berlin] Session role: not set
[16-Dec-2025 14:58:23 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:58:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:58:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:58:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:58:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:58:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:58:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:58:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:58:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:58:53 Europe/Berlin] Session role: not set
[16-Dec-2025 14:58:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:58:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:58:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:59:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:59:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:59:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:59:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:59:23 Europe/Berlin] Session role: not set
[16-Dec-2025 14:59:23 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:59:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:59:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 14:59:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:59:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 14:59:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:59:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 14:59:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 14:59:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 14:59:53 Europe/Berlin] Session role: not set
[16-Dec-2025 14:59:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 13:59:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 13:59:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:00:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:00:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:00:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:00:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:00:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:00:23 Europe/Berlin] Session role: not set
[16-Dec-2025 15:00:23 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:00:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:00:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:00:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:00:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:00:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:00:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:00:53 Europe/Berlin] Session role: not set
[16-Dec-2025 15:00:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:00:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:00:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:01:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:01:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:01:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:01:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:01:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:01:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:01:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:01:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:01:54 Europe/Berlin] Session role: not set
[16-Dec-2025 15:01:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:01:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:01:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:02:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:02:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:02:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:02:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:02:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:02:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:02:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:02:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:02:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:02:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:02:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:04:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:04:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:04:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:04:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:04:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:04:02 Europe/Berlin] Session role: not set
[16-Dec-2025 15:04:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:04:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:04:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:04:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:04:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:04:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:04:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:04:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:04:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:04:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:04:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:04:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:05:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:05:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:05:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:05:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:05:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:05:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:05:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:05:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:05:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:05:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:05:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:06:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:06:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:06:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:06:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:06:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:06:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:06:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:06:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:06:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:07:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:07:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:07:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:07:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:07:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:07:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:07:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:07:58 Europe/Berlin] Session role: not set
[16-Dec-2025 15:07:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:07:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:07:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:08:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:08:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:08:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:08:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:08:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:08:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:08:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:08:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:08:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:08:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:08:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:08:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:09:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:09:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:09:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:09:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:09:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:09:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:09:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:09:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:09:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:09:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:10:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:10:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:10:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:10:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:10:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:10:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:10:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:10:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:10:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:10:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:10:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:10:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:11:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:11:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:11:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:11:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:11:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:11:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:11:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:11:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:11:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:11:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:11:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:11:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:11:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:11:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:11:53 Europe/Berlin] Session role: not set
[16-Dec-2025 15:11:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:11:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:11:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:12:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:12:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:12:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:12:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:12:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:12:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:12:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:12:54 Europe/Berlin] Session role: not set
[16-Dec-2025 15:12:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:12:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:12:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:13:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:13:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:13:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:13:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:13:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:13:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:13:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:13:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:13:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:13:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:13:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:14:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:14:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:14:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:14:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:14:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:14:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:14:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:14:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:14:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:14:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:14:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:14:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:15:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:15:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:15:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:15:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:15:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:15:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:15:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:15:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:15:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:15:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:17:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:17:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:17:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:17:00 Europe/Berlin] Session role: not set
[16-Dec-2025 15:17:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:17:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:17:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:17:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:17:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:17:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:17:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:17:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:17:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:18:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:18:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:18:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:18:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:18:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:18:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:18:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:18:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:19:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:19:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:19:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:19:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:19:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:20:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:20:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:20:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:20:22 Europe/Berlin] Session role: not set
[16-Dec-2025 15:20:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:20:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:20:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:20:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:20:23 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:20:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:23 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:20:23 Europe/Berlin] Session role: not set
[16-Dec-2025 15:20:23 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:20:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:20:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:20:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:20:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:25 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:20:25 Europe/Berlin] Session role: not set
[16-Dec-2025 15:20:25 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:20:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:20:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:20:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:20:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:20:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:20:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:20:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:20:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:20:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:20:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:20:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:21:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:21:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:21:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:21:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:21:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:21:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:21:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:21:32 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:52
    [video_type] => file
    [manual_duration] => 
    [title] => welcome
    [course_id] => 17
    [description] => yes
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => laptop-3087585.jpg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpVqOkGw
            [error] => 0
            [size] => 2702381
        )

    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpqQaByZ
            [error] => 0
            [size] => 9748423
        )

)

[16-Dec-2025 15:21:32 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:21:32 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:21:32 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:21:32 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:21:32 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:21:32 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:21:32 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:21:32 Europe/Berlin]   video_url: 
[16-Dec-2025 15:21:32 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:21:32 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:21:32 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:21:32 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 15:21:32 Europe/Berlin]   video_type: file
[16-Dec-2025 15:21:32 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:21:32 Europe/Berlin]   title: welcome
[16-Dec-2025 15:21:32 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:21:32 Europe/Berlin]   description: yes
[16-Dec-2025 15:21:32 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:21:32 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:21:32 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:21:32 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:21:32 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:21:32 Europe/Berlin]   thumbnail: laptop-3087585.jpg (2702381 bytes, error: 0)
[16-Dec-2025 15:21:32 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 15:21:32 Europe/Berlin]   video_type: file
[16-Dec-2025 15:21:32 Europe/Berlin]   video_url: 
[16-Dec-2025 15:21:32 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:21:32 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:21:32 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 15:21:32 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:21:32 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:21:32 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:21:32 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:21:32 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:21:32 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:21:32 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:21:32 Europe/Berlin]   video_url: 
[16-Dec-2025 15:21:32 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:21:32 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:21:32 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:21:32 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 15:21:32 Europe/Berlin]   video_type: file
[16-Dec-2025 15:21:32 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:21:32 Europe/Berlin]   title: welcome
[16-Dec-2025 15:21:32 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:21:32 Europe/Berlin]   description: yes
[16-Dec-2025 15:21:32 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:21:32 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:21:32 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:21:32 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:21:32 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:21:32 Europe/Berlin]   thumbnail: laptop-3087585.jpg (2702381 bytes, error: 0)
[16-Dec-2025 15:21:32 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 15:21:32 Europe/Berlin]   video exists: YES
[16-Dec-2025 15:21:32 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 15:21:32 Europe/Berlin]   video name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   video size: 9748423
[16-Dec-2025 15:21:32 Europe/Berlin]   video error: 0
[16-Dec-2025 15:21:32 Europe/Berlin]   video tmp_name: /tmp/phpqQaByZ
[16-Dec-2025 15:21:32 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 15:21:32 Europe/Berlin]   video_type: file
[16-Dec-2025 15:21:32 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 15:21:32 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 15:21:32 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 15:21:32 Europe/Berlin]   name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   type: video/mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   size: 9748423
[16-Dec-2025 15:21:32 Europe/Berlin]   error: 0
[16-Dec-2025 15:21:32 Europe/Berlin]   tmp_name: /tmp/phpqQaByZ
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 15:21:32 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 15:21:32 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 15:21:32 Europe/Berlin] 📁 File paths:
[16-Dec-2025 15:21:32 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 15:21:32 Europe/Berlin]   Video filename: video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 15:21:32 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 15:21:32 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69416aec2f7e5_1765894892.jpg
[16-Dec-2025 15:21:32 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69416aec2f7e5_1765894892.jpg
[16-Dec-2025 15:21:32 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 15:21:32 Europe/Berlin]   From: /tmp/phpqQaByZ
[16-Dec-2025 15:21:32 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 15:21:32 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 15:21:32 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 15:21:32 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 15:21:32 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 15:21:32 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:21:32 Europe/Berlin]   title: welcome
[16-Dec-2025 15:21:32 Europe/Berlin]   description: yes
[16-Dec-2025 15:21:32 Europe/Berlin]   video_type: file
[16-Dec-2025 15:21:32 Europe/Berlin]   videoPathForDB: uploads/videos/video_69416aec2f7e5_1765894892.mp4
[16-Dec-2025 15:21:32 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69416aec2f7e5_1765894892.jpg
[16-Dec-2025 15:21:32 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:21:32 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 15:21:32 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 15:21:32 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 15:21:32 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 15:21:32 Europe/Berlin]   Generated video_id: 35
[16-Dec-2025 15:21:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:21:35 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 15:21:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:21:35 Europe/Berlin] Session role: not set
[16-Dec-2025 15:21:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:21:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:21:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:21:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:21:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:21:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:21:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:21:38 Europe/Berlin] Session role: not set
[16-Dec-2025 15:21:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:21:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:21:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:22:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:22:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:22:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:22:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:22:09 Europe/Berlin] Session role: not set
[16-Dec-2025 15:22:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:22:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:22:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:22:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:22:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:22:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:22:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:22:42 Europe/Berlin] Session role: not set
[16-Dec-2025 15:22:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:22:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:22:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:23:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:23:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:23:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:23:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:23:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:23:09 Europe/Berlin] Session role: not set
[16-Dec-2025 15:23:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:23:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:23:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:23:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:23:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:23:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:23:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:23:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:23:41 Europe/Berlin] Session role: not set
[16-Dec-2025 15:23:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:23:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:23:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:24:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:24:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:24:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:24:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:24:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:24:09 Europe/Berlin] Session role: not set
[16-Dec-2025 15:24:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:24:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:24:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:24:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:24:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:24:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:24:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:24:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:24:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:24:40 Europe/Berlin] Session role: not set
[16-Dec-2025 15:24:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:24:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:24:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:25:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:25:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:25:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:25:11 Europe/Berlin] Session role: not set
[16-Dec-2025 15:25:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:25:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:25:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:25:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:25:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:25:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:25:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:25:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:25:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:25:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:25:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:25:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:26:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:26:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:26:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:26:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:26:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:26:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:26:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:26:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:27:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:27:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:27:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:27:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:27:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:28:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:28:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:28:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:28:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:28:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:28:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:28:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:28:58 Europe/Berlin] Session role: not set
[16-Dec-2025 15:28:58 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:28:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:28:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:29:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:29:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 15:29:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:29:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:29:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:29:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:29:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:29:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:29:56 UTC] Fetching videos for teacher_id: 44
[16-Dec-2025 14:29:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[16-Dec-2025 14:29:56 UTC] Found 0 videos for teacher 44
[16-Dec-2025 15:29:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:29:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:29:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:29:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:29:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:29:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:30:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:02 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 15:30:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:02 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:30:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:30:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:04 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:30:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:30:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:30:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:12 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:12 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:30:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:30:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:30:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:34 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:30:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:30:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:35 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:30:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:35 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:30:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:30:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:30:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:30:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:30:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:30:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:30:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:30:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:30:49 Europe/Berlin] Session role: not set
[16-Dec-2025 15:30:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:30:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:30:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:31:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:31:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:31:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:31:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:31:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:31:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:31:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:31:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:31:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:31:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:31:19 Europe/Berlin] Session role: not set
[16-Dec-2025 15:31:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:31:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:31:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:31:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:31:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:31:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:31:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:31:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:31:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:31:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:31:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:31:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:31:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:31:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:31:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:31:49 Europe/Berlin] Session role: not set
[16-Dec-2025 15:31:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:31:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:31:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:32:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:32:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:32:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:32:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:32:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:32:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:32:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:32:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:32:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:32:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:32:19 Europe/Berlin] Session role: not set
[16-Dec-2025 15:32:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:32:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:32:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:32:30 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:52
    [video_type] => file
    [manual_duration] => 
    [title] => computer
    [course_id] => 17
    [description] => welcoe
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => african-bank.png
            [type] => image/png
            [tmp_name] => /tmp/phpFGfPTc
            [error] => 0
            [size] => 7296
        )

    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/php8biRJL
            [error] => 0
            [size] => 9748423
        )

)

[16-Dec-2025 15:32:30 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:32:30 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:32:30 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:32:30 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:32:30 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:32:30 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:32:30 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:32:30 Europe/Berlin]   video_url: 
[16-Dec-2025 15:32:30 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:32:30 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:32:30 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:32:30 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 15:32:30 Europe/Berlin]   video_type: file
[16-Dec-2025 15:32:30 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:32:30 Europe/Berlin]   title: computer
[16-Dec-2025 15:32:30 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:32:30 Europe/Berlin]   description: welcoe
[16-Dec-2025 15:32:30 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:32:30 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:32:30 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:32:30 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:32:30 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:32:30 Europe/Berlin]   thumbnail: african-bank.png (7296 bytes, error: 0)
[16-Dec-2025 15:32:30 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 15:32:30 Europe/Berlin]   video_type: file
[16-Dec-2025 15:32:30 Europe/Berlin]   video_url: 
[16-Dec-2025 15:32:30 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:32:30 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:32:30 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 15:32:30 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:32:30 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:32:30 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:32:30 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:32:30 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:32:30 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:32:30 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:32:30 Europe/Berlin]   video_url: 
[16-Dec-2025 15:32:30 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:32:30 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:32:30 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:32:30 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 15:32:30 Europe/Berlin]   video_type: file
[16-Dec-2025 15:32:30 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:32:30 Europe/Berlin]   title: computer
[16-Dec-2025 15:32:30 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:32:30 Europe/Berlin]   description: welcoe
[16-Dec-2025 15:32:30 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:32:30 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:32:30 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:32:30 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:32:30 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:32:30 Europe/Berlin]   thumbnail: african-bank.png (7296 bytes, error: 0)
[16-Dec-2025 15:32:30 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 15:32:30 Europe/Berlin]   video exists: YES
[16-Dec-2025 15:32:30 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 15:32:30 Europe/Berlin]   video name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   video size: 9748423
[16-Dec-2025 15:32:30 Europe/Berlin]   video error: 0
[16-Dec-2025 15:32:30 Europe/Berlin]   video tmp_name: /tmp/php8biRJL
[16-Dec-2025 15:32:30 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 15:32:30 Europe/Berlin]   video_type: file
[16-Dec-2025 15:32:30 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 15:32:30 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 15:32:30 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 15:32:30 Europe/Berlin]   name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   type: video/mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   size: 9748423
[16-Dec-2025 15:32:30 Europe/Berlin]   error: 0
[16-Dec-2025 15:32:30 Europe/Berlin]   tmp_name: /tmp/php8biRJL
[16-Dec-2025 15:32:30 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 15:32:30 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 15:32:30 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 15:32:30 Europe/Berlin] 📁 File paths:
[16-Dec-2025 15:32:30 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 15:32:30 Europe/Berlin]   Video filename: video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 15:32:30 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 15:32:30 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69416d7ec7d3c_1765895550.png
[16-Dec-2025 15:32:30 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69416d7ec7d3c_1765895550.png
[16-Dec-2025 15:32:30 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 15:32:30 Europe/Berlin]   From: /tmp/php8biRJL
[16-Dec-2025 15:32:30 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:30 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 15:32:31 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:31 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:31 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 15:32:31 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 15:32:31 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 15:32:31 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 15:32:31 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:32:31 Europe/Berlin]   title: computer
[16-Dec-2025 15:32:31 Europe/Berlin]   description: welcoe
[16-Dec-2025 15:32:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:32:31 Europe/Berlin]   videoPathForDB: uploads/videos/video_69416d7ec7d3c_1765895550.mp4
[16-Dec-2025 15:32:31 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69416d7ec7d3c_1765895550.png
[16-Dec-2025 15:32:31 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:32:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 15:32:31 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 15:32:31 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 15:32:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 15:32:31 Europe/Berlin]   Generated video_id: 36
[16-Dec-2025 15:32:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:32:34 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 15:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:34 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:32:34 Europe/Berlin] Session role: not set
[16-Dec-2025 15:32:34 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:32:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:32:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:32:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:32:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:35 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:32:35 Europe/Berlin] Session role: not set
[16-Dec-2025 15:32:35 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:32:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:32:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:32:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:32:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:32:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:32:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:32:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:32:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:32:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:32:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:32:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:33:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:33:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:33:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:33:06 Europe/Berlin] Session role: not set
[16-Dec-2025 15:33:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:33:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:33:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:33:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:33:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:33:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:33:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:33:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:33:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:33:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:33:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:33:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:33:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:33:36 Europe/Berlin] Session role: not set
[16-Dec-2025 15:33:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:33:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:33:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:33:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:33:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:33:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:33:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:33:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:33:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:33:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:33:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:34:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:34:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:34:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:34:06 Europe/Berlin] Session role: not set
[16-Dec-2025 15:34:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:34:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:34:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:34:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:34:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:34:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:34:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:34:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:34:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:34:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:34:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:34:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:34:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:34:36 Europe/Berlin] Session role: not set
[16-Dec-2025 15:34:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:34:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:34:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:34:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:34:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:34:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:34:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:34:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:34:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:34:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:34:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:34:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:35:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:35:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:07 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:07 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:35:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:35:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:35:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:32 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:35:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:35:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:33 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:35:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:35:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:41 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:35:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:41 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:35:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:35:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:42 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:35:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:35:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:35:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:35:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:35:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:35:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:35:44 Europe/Berlin] Session role: not set
[16-Dec-2025 15:35:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:35:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:35:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:36:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:36:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:36:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:36:12 Europe/Berlin] Session role: not set
[16-Dec-2025 15:36:12 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:36:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:36:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:36:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => free
    [course_id] => 17
    [description] => welcome
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => absa.png
            [type] => image/png
            [tmp_name] => /tmp/phpgx7qPF
            [error] => 0
            [size] => 10989
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/php1EpOS5
            [error] => 0
            [size] => 5847406
        )

)

[16-Dec-2025 15:36:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:36:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:36:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:36:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:36:31 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:36:31 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:36:31 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:36:31 Europe/Berlin]   video_url: 
[16-Dec-2025 15:36:31 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:36:31 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:36:31 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:36:31 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 15:36:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:36:31 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:36:31 Europe/Berlin]   title: free
[16-Dec-2025 15:36:31 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:36:31 Europe/Berlin]   description: welcome
[16-Dec-2025 15:36:31 Europe/Berlin]   category_name: 
[16-Dec-2025 15:36:31 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:36:31 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:36:31 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:36:31 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:36:31 Europe/Berlin]   thumbnail: absa.png (10989 bytes, error: 0)
[16-Dec-2025 15:36:31 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 15:36:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:36:31 Europe/Berlin]   video_url: 
[16-Dec-2025 15:36:31 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:36:31 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:36:31 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 15:36:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:36:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:36:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 15:36:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:36:31 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:36:31 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:36:31 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:36:31 Europe/Berlin]   video_url: 
[16-Dec-2025 15:36:31 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:36:31 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:36:31 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:36:31 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 15:36:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:36:31 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:36:31 Europe/Berlin]   title: free
[16-Dec-2025 15:36:31 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:36:31 Europe/Berlin]   description: welcome
[16-Dec-2025 15:36:31 Europe/Berlin]   category_name: 
[16-Dec-2025 15:36:31 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:36:31 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:36:31 Europe/Berlin]   ajax: 1
[16-Dec-2025 15:36:31 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:36:31 Europe/Berlin]   thumbnail: absa.png (10989 bytes, error: 0)
[16-Dec-2025 15:36:31 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 15:36:31 Europe/Berlin]   video exists: YES
[16-Dec-2025 15:36:31 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 15:36:31 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   video size: 5847406
[16-Dec-2025 15:36:31 Europe/Berlin]   video error: 0
[16-Dec-2025 15:36:31 Europe/Berlin]   video tmp_name: /tmp/php1EpOS5
[16-Dec-2025 15:36:31 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 15:36:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:36:31 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 15:36:31 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 15:36:31 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 15:36:31 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   type: video/mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   size: 5847406
[16-Dec-2025 15:36:31 Europe/Berlin]   error: 0
[16-Dec-2025 15:36:31 Europe/Berlin]   tmp_name: /tmp/php1EpOS5
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 15:36:31 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 15:36:31 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 15:36:31 Europe/Berlin] 📁 File paths:
[16-Dec-2025 15:36:31 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 15:36:31 Europe/Berlin]   Video filename: video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 15:36:31 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 15:36:31 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69416e6f973e3_1765895791.png
[16-Dec-2025 15:36:31 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69416e6f973e3_1765895791.png
[16-Dec-2025 15:36:31 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 15:36:31 Europe/Berlin]   From: /tmp/php1EpOS5
[16-Dec-2025 15:36:31 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 15:36:31 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 15:36:31 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 15:36:31 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 15:36:31 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 15:36:31 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:36:31 Europe/Berlin]   title: free
[16-Dec-2025 15:36:31 Europe/Berlin]   description: welcome
[16-Dec-2025 15:36:31 Europe/Berlin]   video_type: file
[16-Dec-2025 15:36:31 Europe/Berlin]   videoPathForDB: uploads/videos/video_69416e6f973e3_1765895791.mp4
[16-Dec-2025 15:36:31 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69416e6f973e3_1765895791.png
[16-Dec-2025 15:36:31 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:36:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 15:36:31 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 15:36:31 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 15:36:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 15:36:31 Europe/Berlin]   Generated video_id: 37
[16-Dec-2025 15:36:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:36:38 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 15:36:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:36:38 Europe/Berlin] Session role: not set
[16-Dec-2025 15:36:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:36:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:36:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:36:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:36:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:40 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:36:40 Europe/Berlin] Session role: not set
[16-Dec-2025 15:36:40 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:36:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:36:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:36:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:36:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:36:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:36:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:36:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:36:45 Europe/Berlin] Session role: not set
[16-Dec-2025 15:36:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:36:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:36:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:37:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:37:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:37:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:11 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:37:11 Europe/Berlin] Session role: not set
[16-Dec-2025 15:37:11 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:37:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:37:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:37:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:37:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:37:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:37:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:37:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:37:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:37:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:37:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:37:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:37:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:37:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:37:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:37:46 Europe/Berlin] Session role: not set
[16-Dec-2025 15:37:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:37:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:37:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:38:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:38:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:12 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:12 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:12 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:38:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:38:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:41 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:38:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:38:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:47 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:38:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:47 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:38:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:47 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:38:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:38:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:48 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:38:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:50 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:38:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:50 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:38:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:38:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:38:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:38:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:38:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:38:51 Europe/Berlin] Session role: not set
[16-Dec-2025 15:38:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:38:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:38:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:39:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:39:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:39:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:39:21 Europe/Berlin] Session role: not set
[16-Dec-2025 15:39:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:39:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:39:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:39:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:39:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:39:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:39:48 Europe/Berlin] Session role: not set
[16-Dec-2025 15:39:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:39:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:39:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:39:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:39:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:39:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:39:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:39:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:39:51 Europe/Berlin] Session role: not set
[16-Dec-2025 15:39:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:39:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:39:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:40:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:40:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:40:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:40:21 Europe/Berlin] Session role: not set
[16-Dec-2025 15:40:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:40:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:40:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:40:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:40:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:40:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:40:49 Europe/Berlin] Session role: not set
[16-Dec-2025 15:40:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:40:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:40:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:40:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:40:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:40:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:40:51 Europe/Berlin] Session role: not set
[16-Dec-2025 15:40:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:40:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:40:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:40:55 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => wefr
    [course_id] => 17
    [description] => we
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

)

[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpCGoszM
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => tymebank.png
            [type] => image/png
            [tmp_name] => /tmp/phpQXdum7
            [error] => 0
            [size] => 10023
        )

)

[16-Dec-2025 15:40:55 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:40:55 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:40:55 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[16-Dec-2025 15:40:55 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:40:55 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:40:55 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:40:55 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:40:55 Europe/Berlin]   video_url: 
[16-Dec-2025 15:40:55 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:40:55 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:40:55 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:40:55 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 15:40:55 Europe/Berlin]   video_type: file
[16-Dec-2025 15:40:55 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:40:55 Europe/Berlin]   title: wefr
[16-Dec-2025 15:40:55 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:40:55 Europe/Berlin]   description: we
[16-Dec-2025 15:40:55 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:40:55 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:40:55 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:40:55 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:40:55 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 15:40:55 Europe/Berlin]   thumbnail: tymebank.png (10023 bytes, error: 0)
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 15:40:55 Europe/Berlin]   video_type: file
[16-Dec-2025 15:40:55 Europe/Berlin]   video_url: 
[16-Dec-2025 15:40:55 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:40:55 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:40:55 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 15:40:55 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:40:55 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:40:55 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[16-Dec-2025 15:40:55 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 15:40:55 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:40:55 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:40:55 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 15:40:55 Europe/Berlin]   video_url: 
[16-Dec-2025 15:40:55 Europe/Berlin]   detected_platform: 
[16-Dec-2025 15:40:55 Europe/Berlin]   video_id_external: 
[16-Dec-2025 15:40:55 Europe/Berlin]   embed_code: 
[16-Dec-2025 15:40:55 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 15:40:55 Europe/Berlin]   video_type: file
[16-Dec-2025 15:40:55 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:40:55 Europe/Berlin]   title: wefr
[16-Dec-2025 15:40:55 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:40:55 Europe/Berlin]   description: we
[16-Dec-2025 15:40:55 Europe/Berlin]   category_name: Data Science
[16-Dec-2025 15:40:55 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:40:55 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 15:40:55 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:40:55 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 15:40:55 Europe/Berlin]   thumbnail: tymebank.png (10023 bytes, error: 0)
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 15:40:55 Europe/Berlin]   video exists: YES
[16-Dec-2025 15:40:55 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 15:40:55 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   video size: 5847406
[16-Dec-2025 15:40:55 Europe/Berlin]   video error: 0
[16-Dec-2025 15:40:55 Europe/Berlin]   video tmp_name: /tmp/phpCGoszM
[16-Dec-2025 15:40:55 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 15:40:55 Europe/Berlin]   video_type: file
[16-Dec-2025 15:40:55 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 15:40:55 Europe/Berlin]   $_FILES keys: video, thumbnail
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 15:40:55 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 15:40:55 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   type: video/mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   size: 5847406
[16-Dec-2025 15:40:55 Europe/Berlin]   error: 0
[16-Dec-2025 15:40:55 Europe/Berlin]   tmp_name: /tmp/phpCGoszM
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 15:40:55 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 15:40:55 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 15:40:55 Europe/Berlin] 📁 File paths:
[16-Dec-2025 15:40:55 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 15:40:55 Europe/Berlin]   Video filename: video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 15:40:55 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 15:40:55 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69416f770c5ba_1765896055.png
[16-Dec-2025 15:40:55 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69416f770c5ba_1765896055.png
[16-Dec-2025 15:40:55 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 15:40:55 Europe/Berlin]   From: /tmp/phpCGoszM
[16-Dec-2025 15:40:55 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 15:40:55 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin] ⚠️ Duration detection: Using basic fallback method
[16-Dec-2025 15:40:55 Europe/Berlin]   📊 Detected duration: NULL
[16-Dec-2025 15:40:55 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 15:40:55 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 15:40:55 Europe/Berlin]   course_id: 17
[16-Dec-2025 15:40:55 Europe/Berlin]   title: wefr
[16-Dec-2025 15:40:55 Europe/Berlin]   description: we
[16-Dec-2025 15:40:55 Europe/Berlin]   video_type: file
[16-Dec-2025 15:40:55 Europe/Berlin]   videoPathForDB: uploads/videos/video_69416f770c5ba_1765896055.mp4
[16-Dec-2025 15:40:55 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69416f770c5ba_1765896055.png
[16-Dec-2025 15:40:55 Europe/Berlin]   is_published: 1
[16-Dec-2025 15:40:55 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 15:40:55 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 15:40:55 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 15:40:55 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 15:40:55 Europe/Berlin]   Generated video_id: 38
[16-Dec-2025 15:40:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:40:55 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 15:40:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:40:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:40:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:40:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:40:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:40:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:40:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:40:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:40:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:40:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:40:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:40:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:40:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:41:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:41:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:41:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:41:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:41:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:41:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:41:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:41:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:41:50 Europe/Berlin] Session role: not set
[16-Dec-2025 15:41:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:41:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:41:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:41:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:41:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:41:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:41:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:41:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:41:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:41:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:41:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:41:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:42:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:42:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:42:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:42:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:42:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:42:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:42:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:42:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:42:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:42:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:42:51 Europe/Berlin] Session role: not set
[16-Dec-2025 15:42:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:42:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:42:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:42:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:42:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:42:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:42:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:42:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:42:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:42:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:42:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:42:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:43:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:43:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:43:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:28 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:43:28 Europe/Berlin] Session role: not set
[16-Dec-2025 15:43:28 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:43:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:43:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:43:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:43:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:43:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:43:54 Europe/Berlin] Session role: not set
[16-Dec-2025 15:43:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:43:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:43:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:43:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:43:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:43:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:43:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:43:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:43:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:43:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:43:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:43:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:44:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:44:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:44:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:44:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:44:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:44:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:44:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:44:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:44:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:44:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:44:54 Europe/Berlin] Session role: not set
[16-Dec-2025 15:44:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:44:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:44:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:44:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:44:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:44:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:44:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:44:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:44:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:44:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:44:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:45:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:45:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:45:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:45:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:45:55 Europe/Berlin] Session role: not set
[16-Dec-2025 15:45:55 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:45:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:45:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:45:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:45:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:45:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:45:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:45:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:45:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:45:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:45:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:45:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:45:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:46:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:46:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:46:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:46:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:46:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:46:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:46:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:46:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:46:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:46:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:46:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:46:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:46:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:46:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:46:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:46:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:47:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:47:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:47:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:47:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:47:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:47:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:47:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:47:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:47:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:47:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:48:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:48:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:48:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:48:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:48:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:48:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:49:00 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:49:00 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:49:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:00 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:49:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:00 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:00 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:49:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:49:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:02 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:49:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:49:56 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:49:56 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:49:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:56 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:49:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:49:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:50:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:50:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:50:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:50:27 Europe/Berlin] Session role: not set
[16-Dec-2025 15:50:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:50:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:50:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:50:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:50:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:50:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:50:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:50:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:50:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:50:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:51:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:51:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:51:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:51:27 Europe/Berlin] Session role: not set
[16-Dec-2025 15:51:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:51:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:51:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:51:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:51:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:51:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:51:52 Europe/Berlin] Session role: not set
[16-Dec-2025 15:51:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:51:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:51:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:51:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:51:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:51:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:51:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:51:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:51:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:51:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:51:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:51:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:51:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:51:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:51:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:51:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:51:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:51:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:51:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:51:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 15:52:13 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [test_mode] => 1
    [title] => DURATION TEST VIDEO
    [course_id] => 3
    [description] => This is a test video to debug duration insertion issues.
    [category_name] => Test Category
    [detected_duration] => 2:30
    [manual_duration] => 
    [video_type] => file
    [video_url] => uploads/videos/test_duration_video.mp4
)

[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
)

[16-Dec-2025 15:52:13 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:52:13 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:52:13 Europe/Berlin] 📥 POST DATA SIZE: 10 fields
[16-Dec-2025 15:52:13 Europe/Berlin] 📂 FILES DATA SIZE: 0 files
[16-Dec-2025 15:52:13 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:52:13 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:52:13 Europe/Berlin]   test_mode: 1
[16-Dec-2025 15:52:13 Europe/Berlin]   title: DURATION TEST VIDEO
[16-Dec-2025 15:52:13 Europe/Berlin]   course_id: 3
[16-Dec-2025 15:52:13 Europe/Berlin]   description: This is a test video to debug duration insertion issues.
[16-Dec-2025 15:52:13 Europe/Berlin]   category_name: Test Category
[16-Dec-2025 15:52:13 Europe/Berlin]   detected_duration: 2:30
[16-Dec-2025 15:52:13 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:52:13 Europe/Berlin]   video_type: file
[16-Dec-2025 15:52:13 Europe/Berlin]   video_url: uploads/videos/test_duration_video.mp4
[16-Dec-2025 15:52:13 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 15:52:13 Europe/Berlin]   video_type: file
[16-Dec-2025 15:52:13 Europe/Berlin]   video_url: uploads/videos/test_duration_video.mp4
[16-Dec-2025 15:52:13 Europe/Berlin]   detected_platform: NULL
[16-Dec-2025 15:52:13 Europe/Berlin]   video_id_external: NULL
[16-Dec-2025 15:52:13 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 15:52:13 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 15:52:13 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 15:52:13 Europe/Berlin] 📥 POST DATA SIZE: 10 fields
[16-Dec-2025 15:52:13 Europe/Berlin] 📂 FILES DATA SIZE: 0 files
[16-Dec-2025 15:52:13 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 15:52:13 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 15:52:13 Europe/Berlin]   test_mode: 1
[16-Dec-2025 15:52:13 Europe/Berlin]   title: DURATION TEST VIDEO
[16-Dec-2025 15:52:13 Europe/Berlin]   course_id: 3
[16-Dec-2025 15:52:13 Europe/Berlin]   description: This is a test video to debug duration insertion issues.
[16-Dec-2025 15:52:13 Europe/Berlin]   category_name: Test Category
[16-Dec-2025 15:52:13 Europe/Berlin]   detected_duration: 2:30
[16-Dec-2025 15:52:13 Europe/Berlin]   manual_duration: 
[16-Dec-2025 15:52:13 Europe/Berlin]   video_type: file
[16-Dec-2025 15:52:13 Europe/Berlin]   video_url: uploads/videos/test_duration_video.mp4
[16-Dec-2025 15:52:13 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 15:52:13 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 15:52:13 Europe/Berlin]   video exists: NO
[16-Dec-2025 15:52:13 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 15:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:52:14 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:52:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:52:14 Europe/Berlin] Session role: not set
[16-Dec-2025 15:52:14 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:52:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:52:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:52:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:52:14 Europe/Berlin] Session role: not set
[16-Dec-2025 15:52:14 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:52:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:52:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:52:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:52:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:52:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:52:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:52:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:52:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:52:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:52:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:52:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:52:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:52:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:52:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:52:47 Europe/Berlin] Session role: not set
[16-Dec-2025 15:52:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:52:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:52:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:01 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:01 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:15 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:47 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:59 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:53:59 Europe/Berlin] Session role: not set
[16-Dec-2025 15:53:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:53:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:54:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:54:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:54:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:14 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:54:14 Europe/Berlin] Session role: not set
[16-Dec-2025 15:54:14 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:54:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:54:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:54:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:54:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:54:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:54:45 Europe/Berlin] Session role: not set
[16-Dec-2025 15:54:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:54:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:54:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:54:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:54:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:54:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:54:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:54:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:55:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:55:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:55:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:55:15 Europe/Berlin] Session role: not set
[16-Dec-2025 15:55:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:55:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:55:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:55:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:55:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:55:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:55:45 Europe/Berlin] Session role: not set
[16-Dec-2025 15:55:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:55:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:55:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:55:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:55:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:55:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:55:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:55:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:55:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:22 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:26 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:26 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:26 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:27 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:45 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:56:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:56:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:56:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:56:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:56:56 Europe/Berlin] Session role: not set
[16-Dec-2025 15:56:56 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:56:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:56:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:57:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:57:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:57:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:16 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:16 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:16 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:16 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:57:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:57:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:27 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:57:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:57:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:44 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:44 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:44 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:57:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 14:57:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:57:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:57:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:57:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:57:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:58:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:58:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:58:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:18 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:58:18 Europe/Berlin] Session role: not set
[16-Dec-2025 15:58:18 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:58:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:58:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:58:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:58:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:58:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:58:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:58:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:58:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:58:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:58:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:58:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:58:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:58:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:58:57 Europe/Berlin] Session role: not set
[16-Dec-2025 15:58:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:58:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:58:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:13 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:59:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:13 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:59:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:15 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:15 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:22 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 15:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:22 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:22 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:22 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:43 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:46 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 15:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 15:59:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 15:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 15:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 15:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 15:59:52 Europe/Berlin] Session role: not set
[16-Dec-2025 15:59:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 14:59:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 14:59:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:00:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:00:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:13 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:00:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 16:00:18 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => thes
    [course_id] => 17
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

)

[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpNvaroC
            [error] => 0
            [size] => 5847406
        )

    [thumbnail] => Array
        (
            [name] => website development pricing (7).png
            [type] => image/png
            [tmp_name] => /tmp/phpI0RAKD
            [error] => 0
            [size] => 447223
        )

)

[16-Dec-2025 16:00:18 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:00:18 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:00:18 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[16-Dec-2025 16:00:18 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:00:18 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:00:18 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:00:18 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:00:18 Europe/Berlin]   video_url: 
[16-Dec-2025 16:00:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:00:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:00:18 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:00:18 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 16:00:18 Europe/Berlin]   video_type: file
[16-Dec-2025 16:00:18 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:00:18 Europe/Berlin]   title: thes
[16-Dec-2025 16:00:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:00:18 Europe/Berlin]   description: welcome
[16-Dec-2025 16:00:18 Europe/Berlin]   category_name: Learning and Development
[16-Dec-2025 16:00:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:00:18 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:00:18 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:00:18 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 16:00:18 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 16:00:18 Europe/Berlin]   video_type: file
[16-Dec-2025 16:00:18 Europe/Berlin]   video_url: 
[16-Dec-2025 16:00:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:00:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:00:18 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 16:00:18 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:00:18 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:00:18 Europe/Berlin] 📥 POST DATA SIZE: 15 fields
[16-Dec-2025 16:00:18 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:00:18 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:00:18 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:00:18 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:00:18 Europe/Berlin]   video_url: 
[16-Dec-2025 16:00:18 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:00:18 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:00:18 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:00:18 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 16:00:18 Europe/Berlin]   video_type: file
[16-Dec-2025 16:00:18 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:00:18 Europe/Berlin]   title: thes
[16-Dec-2025 16:00:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:00:18 Europe/Berlin]   description: welcome
[16-Dec-2025 16:00:18 Europe/Berlin]   category_name: Learning and Development
[16-Dec-2025 16:00:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:00:18 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:00:18 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:00:18 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 16:00:18 Europe/Berlin]   thumbnail: website development pricing (7).png (447223 bytes, error: 0)
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 16:00:18 Europe/Berlin]   video exists: YES
[16-Dec-2025 16:00:18 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 16:00:18 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   video size: 5847406
[16-Dec-2025 16:00:18 Europe/Berlin]   video error: 0
[16-Dec-2025 16:00:18 Europe/Berlin]   video tmp_name: /tmp/phpNvaroC
[16-Dec-2025 16:00:18 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 16:00:18 Europe/Berlin]   video_type: file
[16-Dec-2025 16:00:18 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 16:00:18 Europe/Berlin]   $_FILES keys: video, thumbnail
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 16:00:18 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 16:00:18 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   type: video/mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   size: 5847406
[16-Dec-2025 16:00:18 Europe/Berlin]   error: 0
[16-Dec-2025 16:00:18 Europe/Berlin]   tmp_name: /tmp/phpNvaroC
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 16:00:18 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 16:00:18 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 16:00:18 Europe/Berlin] 📁 File paths:
[16-Dec-2025 16:00:18 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 16:00:18 Europe/Berlin]   Video filename: video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 16:00:18 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 16:00:18 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_69417402f058f_1765897218.png
[16-Dec-2025 16:00:18 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_69417402f058f_1765897218.png
[16-Dec-2025 16:00:18 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 16:00:18 Europe/Berlin]   From: /tmp/phpNvaroC
[16-Dec-2025 16:00:18 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 16:00:18 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   ✅ Using frontend-detected duration: 0:55
[16-Dec-2025 16:00:18 Europe/Berlin]   🎯 Final duration for file upload: 0:55
[16-Dec-2025 16:00:18 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 16:00:18 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 16:00:18 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:00:18 Europe/Berlin]   title: thes
[16-Dec-2025 16:00:18 Europe/Berlin]   description: welcome
[16-Dec-2025 16:00:18 Europe/Berlin]   video_type: file
[16-Dec-2025 16:00:18 Europe/Berlin]   videoPathForDB: uploads/videos/video_69417402f058f_1765897218.mp4
[16-Dec-2025 16:00:18 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_69417402f058f_1765897218.png
[16-Dec-2025 16:00:18 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:00:18 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 16:00:18 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 16:00:18 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 16:00:19 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 16:00:19 Europe/Berlin]   Generated video_id: 40
[16-Dec-2025 16:00:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:19 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 16:00:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:19 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:19 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:19 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:20 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:00:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:00:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:00:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:43 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:00:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:00:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:00:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:46 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:00:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:00:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:00:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:00:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:00:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:00:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:00:51 Europe/Berlin] Session role: not set
[16-Dec-2025 16:00:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:00:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:00:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:01:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:01:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:01:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:13 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:01:13 Europe/Berlin] Session role: not set
[16-Dec-2025 16:01:13 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:01:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:01:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:01:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:01:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:01:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:01:21 Europe/Berlin] Session role: not set
[16-Dec-2025 16:01:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:01:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:01:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:01:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:01:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:01:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:01:48 Europe/Berlin] Session role: not set
[16-Dec-2025 16:01:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:01:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:01:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:01:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:01:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:01:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:01:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:01:59 Europe/Berlin] Session role: not set
[16-Dec-2025 16:01:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:01:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:01:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:01:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:01:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:01:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:01:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:01:59 Europe/Berlin] Session role: not set
[16-Dec-2025 16:01:59 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:01:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:01:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:02:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:02:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:02:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:21 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:02:21 Europe/Berlin] Session role: not set
[16-Dec-2025 16:02:21 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:02:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:02:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:02:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:02:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:02:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:02:49 Europe/Berlin] Session role: not set
[16-Dec-2025 16:02:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:02:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:02:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:02:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:02:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:02:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:02:51 Europe/Berlin] Session role: not set
[16-Dec-2025 16:02:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:02:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:02:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:02:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:02:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:02:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:02:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:02:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:02:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:02:57 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:02:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:02:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:03:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:03:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:03:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:27 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:03:27 Europe/Berlin] Session role: not set
[16-Dec-2025 16:03:27 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:03:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:03:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:03:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:03:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:03:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:03:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:03:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:03:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:03:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:03:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:03:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:03:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:03:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:03:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:03:51 Europe/Berlin] Session role: not set
[16-Dec-2025 16:03:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:03:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:03:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:04:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:04:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:04:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:42 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:04:42 Europe/Berlin] Session role: not set
[16-Dec-2025 16:04:42 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:04:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:04:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:04:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:04:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:04:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:43 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:04:43 Europe/Berlin] Session role: not set
[16-Dec-2025 16:04:43 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:04:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:04:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:04:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:04:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:04:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:04:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:04:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:04:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:04:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:04:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:04:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:05:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:05:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:05:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:15 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:05:15 Europe/Berlin] Session role: not set
[16-Dec-2025 16:05:15 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:05:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:05:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:05:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:05:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:05:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:05:20 Europe/Berlin] Session role: not set
[16-Dec-2025 16:05:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:05:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:05:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:05:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:05:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:05:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:45 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:05:45 Europe/Berlin] Session role: not set
[16-Dec-2025 16:05:45 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:05:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:05:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:05:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:05:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:05:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:05:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:05:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:05:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:05:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:06:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:06:20 Europe/Berlin] Session role: not set
[16-Dec-2025 16:06:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:06:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:06:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:06:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 16:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:06:38 Europe/Berlin] Session role: not set
[16-Dec-2025 16:06:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:06:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:06:38 Europe/Berlin] Session role: not set
[16-Dec-2025 16:06:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:06:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:06:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:06:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:46 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:06:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:06:46 Europe/Berlin] Session role: not set
[16-Dec-2025 16:06:46 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:06:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:06:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:07:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:07:08 Europe/Berlin] Session role: not set
[16-Dec-2025 16:07:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:07:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:07:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:07:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:07:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:38 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:07:38 Europe/Berlin] Session role: not set
[16-Dec-2025 16:07:38 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:07:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:07:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:07:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:07:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:07:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:47 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:07:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:07:47 Europe/Berlin] Session role: not set
[16-Dec-2025 16:07:47 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:07:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:07:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:08:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:08:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:08:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:08 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:08:08 Europe/Berlin] Session role: not set
[16-Dec-2025 16:08:08 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:08:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:08:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:08:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:08:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:08:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:08:39 Europe/Berlin] Session role: not set
[16-Dec-2025 16:08:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:08:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:08:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:08:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:08:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:08:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:48 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:08:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:08:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:08:48 Europe/Berlin] Session role: not set
[16-Dec-2025 16:08:48 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:08:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:08:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:09:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:09:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:09:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:10 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:09:10 Europe/Berlin] Session role: not set
[16-Dec-2025 16:09:10 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:09:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:09:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:09:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:09:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:09:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:09:39 Europe/Berlin] Session role: not set
[16-Dec-2025 16:09:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:09:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:09:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:09:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:09:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:09:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:49 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:09:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:09:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:09:49 Europe/Berlin] Session role: not set
[16-Dec-2025 16:09:49 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:09:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:09:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:10:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:10:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:10:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:09 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:10:09 Europe/Berlin] Session role: not set
[16-Dec-2025 16:10:09 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:10:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:10:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:10:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:10:31 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 16:10:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:31 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:31 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:10:31 Europe/Berlin] Session role: not set
[16-Dec-2025 16:10:31 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:10:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:10:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:10:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:10:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:32 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:10:32 Europe/Berlin] Session role: not set
[16-Dec-2025 16:10:32 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:10:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:10:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:10:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:10:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:10:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:10:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:10:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:10:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:10:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:10:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:10:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:11:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:11:02 Europe/Berlin] Session role: not set
[16-Dec-2025 16:11:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:11:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:11:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:11:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:11:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:11:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:11:33 Europe/Berlin] Session role: not set
[16-Dec-2025 16:11:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:11:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:11:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:11:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:11:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:11:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:51 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:11:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:11:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:11:51 Europe/Berlin] Session role: not set
[16-Dec-2025 16:11:51 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:11:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:11:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:12:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:12:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:12:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:12:04 Europe/Berlin] Session role: not set
[16-Dec-2025 16:12:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:12:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:12:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:12:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:12:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:12:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:33 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:12:33 Europe/Berlin] Session role: not set
[16-Dec-2025 16:12:33 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:12:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:12:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:12:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:12:50 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 16:12:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:12:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:12:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:12:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:12:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:12:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:12:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:12:50 Europe/Berlin] Session role: not set
[16-Dec-2025 16:12:50 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:12:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:12:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:12:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:12:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:12:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:52 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:12:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:12:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:12:52 Europe/Berlin] Session role: not set
[16-Dec-2025 16:12:52 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:12:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:12:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:13:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:13:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:20 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:13:20 Europe/Berlin] Session role: not set
[16-Dec-2025 16:13:20 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:13:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:13:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 16:13:34 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:52
    [video_type] => file
    [manual_duration] => 
    [title] => welcome
    [course_id] => 17
    [description] => wed
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => african-bank.png
            [type] => image/png
            [tmp_name] => /tmp/php4ES4xS
            [error] => 0
            [size] => 7296
        )

    [video] => Array
        (
            [name] => music.connect31_7373129052460256529.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/php0wwiUK
            [error] => 0
            [size] => 9748423
        )

)

[16-Dec-2025 16:13:34 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:13:34 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:13:34 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 16:13:34 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:13:34 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:13:34 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:13:34 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:13:34 Europe/Berlin]   video_url: 
[16-Dec-2025 16:13:34 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:13:34 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:13:34 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:13:34 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 16:13:34 Europe/Berlin]   video_type: file
[16-Dec-2025 16:13:34 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:13:34 Europe/Berlin]   title: welcome
[16-Dec-2025 16:13:34 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:13:34 Europe/Berlin]   description: wed
[16-Dec-2025 16:13:34 Europe/Berlin]   category_name: 
[16-Dec-2025 16:13:34 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:13:34 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:13:34 Europe/Berlin]   ajax: 1
[16-Dec-2025 16:13:34 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:13:34 Europe/Berlin]   thumbnail: african-bank.png (7296 bytes, error: 0)
[16-Dec-2025 16:13:34 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 16:13:34 Europe/Berlin]   video_type: file
[16-Dec-2025 16:13:34 Europe/Berlin]   video_url: 
[16-Dec-2025 16:13:34 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:13:34 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:13:34 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 16:13:34 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:13:34 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:13:34 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 16:13:34 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:13:34 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:13:34 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:13:34 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:13:34 Europe/Berlin]   video_url: 
[16-Dec-2025 16:13:34 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:13:34 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:13:34 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:13:34 Europe/Berlin]   detected_duration: 0:52
[16-Dec-2025 16:13:34 Europe/Berlin]   video_type: file
[16-Dec-2025 16:13:34 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:13:34 Europe/Berlin]   title: welcome
[16-Dec-2025 16:13:34 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:13:34 Europe/Berlin]   description: wed
[16-Dec-2025 16:13:34 Europe/Berlin]   category_name: 
[16-Dec-2025 16:13:34 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:13:34 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:13:34 Europe/Berlin]   ajax: 1
[16-Dec-2025 16:13:34 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:13:34 Europe/Berlin]   thumbnail: african-bank.png (7296 bytes, error: 0)
[16-Dec-2025 16:13:34 Europe/Berlin]   video: music.connect31_7373129052460256529.mp4 (9748423 bytes, error: 0)
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 16:13:34 Europe/Berlin]   video exists: YES
[16-Dec-2025 16:13:34 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 16:13:34 Europe/Berlin]   video name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   video size: 9748423
[16-Dec-2025 16:13:34 Europe/Berlin]   video error: 0
[16-Dec-2025 16:13:34 Europe/Berlin]   video tmp_name: /tmp/php0wwiUK
[16-Dec-2025 16:13:34 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 16:13:34 Europe/Berlin]   video_type: file
[16-Dec-2025 16:13:34 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 16:13:34 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 16:13:34 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 16:13:34 Europe/Berlin]   name: music.connect31_7373129052460256529.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   type: video/mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   size: 9748423
[16-Dec-2025 16:13:34 Europe/Berlin]   error: 0
[16-Dec-2025 16:13:34 Europe/Berlin]   tmp_name: /tmp/php0wwiUK
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 16:13:34 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 16:13:34 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 16:13:34 Europe/Berlin] 📁 File paths:
[16-Dec-2025 16:13:34 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 16:13:34 Europe/Berlin]   Video filename: video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 16:13:34 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 16:13:34 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_6941771ecab1d_1765898014.png
[16-Dec-2025 16:13:34 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_6941771ecab1d_1765898014.png
[16-Dec-2025 16:13:34 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 16:13:34 Europe/Berlin]   From: /tmp/php0wwiUK
[16-Dec-2025 16:13:34 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 16:13:34 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   ✅ Using frontend-detected duration: 0:52
[16-Dec-2025 16:13:34 Europe/Berlin]   🎯 Final duration for file upload: 0:52
[16-Dec-2025 16:13:34 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 16:13:34 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 16:13:34 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:13:34 Europe/Berlin]   title: welcome
[16-Dec-2025 16:13:34 Europe/Berlin]   description: wed
[16-Dec-2025 16:13:34 Europe/Berlin]   video_type: file
[16-Dec-2025 16:13:34 Europe/Berlin]   videoPathForDB: uploads/videos/video_6941771ecab1d_1765898014.mp4
[16-Dec-2025 16:13:34 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_6941771ecab1d_1765898014.png
[16-Dec-2025 16:13:34 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:13:34 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 16:13:34 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 16:13:34 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 16:13:34 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 16:13:34 Europe/Berlin]   Generated video_id: 41
[16-Dec-2025 16:13:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:13:39 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 16:13:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:39 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:13:39 Europe/Berlin] Session role: not set
[16-Dec-2025 16:13:39 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:13:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:13:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:13:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:13:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:41 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:13:41 Europe/Berlin] Session role: not set
[16-Dec-2025 16:13:41 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:13:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:13:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:13:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:13:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:13:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:53 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:13:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:13:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:13:53 Europe/Berlin] Session role: not set
[16-Dec-2025 16:13:53 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:13:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:13:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:14:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:01 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 16:14:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:01 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:01 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:14:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:14:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:04 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:04 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:04 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:14:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:14:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 16:14:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:05 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:05 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:05 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:14:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:14:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:06 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:06 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:06 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:14:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:14:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:14:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:36 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:36 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:14:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:14:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:14:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:14:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:54 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:14:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:14:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:14:54 Europe/Berlin] Session role: not set
[16-Dec-2025 16:14:54 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:14:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:14:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 USER ID: NOT SET
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 USER ROLE: NOT SET
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 SESSION STATUS: 1
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 SESSION ID: 
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[16-Dec-2025 16:14:59 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => bullet
    [course_id] => 17
    [description] => nice
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => standard_bank.png
            [type] => image/png
            [tmp_name] => /tmp/phpdrE31B
            [error] => 0
            [size] => 9390
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpn5hUeN
            [error] => 0
            [size] => 5847406
        )

)

[16-Dec-2025 16:14:59 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:14:59 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:14:59 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 16:14:59 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:14:59 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:14:59 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:14:59 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:14:59 Europe/Berlin]   video_url: 
[16-Dec-2025 16:14:59 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:14:59 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:14:59 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:14:59 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 16:14:59 Europe/Berlin]   video_type: file
[16-Dec-2025 16:14:59 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:14:59 Europe/Berlin]   title: bullet
[16-Dec-2025 16:14:59 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:14:59 Europe/Berlin]   description: nice
[16-Dec-2025 16:14:59 Europe/Berlin]   category_name: Learning and Development
[16-Dec-2025 16:14:59 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:14:59 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:14:59 Europe/Berlin]   ajax: 1
[16-Dec-2025 16:14:59 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:14:59 Europe/Berlin]   thumbnail: standard_bank.png (9390 bytes, error: 0)
[16-Dec-2025 16:14:59 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[16-Dec-2025 16:14:59 Europe/Berlin]   video_type: file
[16-Dec-2025 16:14:59 Europe/Berlin]   video_url: 
[16-Dec-2025 16:14:59 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:14:59 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:14:59 Europe/Berlin]   embed_code: EMPTY
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[16-Dec-2025 16:14:59 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[16-Dec-2025 16:14:59 Europe/Berlin] 📥 REQUEST METHOD: POST
[16-Dec-2025 16:14:59 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[16-Dec-2025 16:14:59 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[16-Dec-2025 16:14:59 Europe/Berlin] 📋 ALL POST DATA:
[16-Dec-2025 16:14:59 Europe/Berlin]   form_type: video_upload
[16-Dec-2025 16:14:59 Europe/Berlin]   teacher_id: 44
[16-Dec-2025 16:14:59 Europe/Berlin]   video_url: 
[16-Dec-2025 16:14:59 Europe/Berlin]   detected_platform: 
[16-Dec-2025 16:14:59 Europe/Berlin]   video_id_external: 
[16-Dec-2025 16:14:59 Europe/Berlin]   embed_code: 
[16-Dec-2025 16:14:59 Europe/Berlin]   detected_duration: 0:55
[16-Dec-2025 16:14:59 Europe/Berlin]   video_type: file
[16-Dec-2025 16:14:59 Europe/Berlin]   manual_duration: 
[16-Dec-2025 16:14:59 Europe/Berlin]   title: bullet
[16-Dec-2025 16:14:59 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:14:59 Europe/Berlin]   description: nice
[16-Dec-2025 16:14:59 Europe/Berlin]   category_name: Learning and Development
[16-Dec-2025 16:14:59 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:14:59 Europe/Berlin]   content_types: [quiz]
[16-Dec-2025 16:14:59 Europe/Berlin]   ajax: 1
[16-Dec-2025 16:14:59 Europe/Berlin] 📂 ALL FILES DATA:
[16-Dec-2025 16:14:59 Europe/Berlin]   thumbnail: standard_bank.png (9390 bytes, error: 0)
[16-Dec-2025 16:14:59 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[16-Dec-2025 16:14:59 Europe/Berlin]   video exists: YES
[16-Dec-2025 16:14:59 Europe/Berlin]   videoFile exists (old): NO
[16-Dec-2025 16:14:59 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   video size: 5847406
[16-Dec-2025 16:14:59 Europe/Berlin]   video error: 0
[16-Dec-2025 16:14:59 Europe/Berlin]   video tmp_name: /tmp/phpn5hUeN
[16-Dec-2025 16:14:59 Europe/Berlin]   Error meaning: No error
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[16-Dec-2025 16:14:59 Europe/Berlin]   video_type: file
[16-Dec-2025 16:14:59 Europe/Berlin]   $_FILES available: YES
[16-Dec-2025 16:14:59 Europe/Berlin]   $_FILES keys: thumbnail, video
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[16-Dec-2025 16:14:59 Europe/Berlin] 📂 Video file details:
[16-Dec-2025 16:14:59 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   type: video/mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   size: 5847406
[16-Dec-2025 16:14:59 Europe/Berlin]   error: 0
[16-Dec-2025 16:14:59 Europe/Berlin]   tmp_name: /tmp/phpn5hUeN
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 File type validation:
[16-Dec-2025 16:14:59 Europe/Berlin]   Detected type: video/mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[16-Dec-2025 16:14:59 Europe/Berlin] ✅ File type validation passed
[16-Dec-2025 16:14:59 Europe/Berlin] 📁 File paths:
[16-Dec-2025 16:14:59 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[16-Dec-2025 16:14:59 Europe/Berlin]   Video filename: video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   Directory writable: YES
[16-Dec-2025 16:14:59 Europe/Berlin] 📸 Processing thumbnail upload
[16-Dec-2025 16:14:59 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_694177737690f_1765898099.png
[16-Dec-2025 16:14:59 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_694177737690f_1765898099.png
[16-Dec-2025 16:14:59 Europe/Berlin] 🎬 Moving video file from temp to final location
[16-Dec-2025 16:14:59 Europe/Berlin]   From: /tmp/phpn5hUeN
[16-Dec-2025 16:14:59 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   Temp file exists: YES
[16-Dec-2025 16:14:59 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   ✅ Using frontend-detected duration: 0:55
[16-Dec-2025 16:14:59 Europe/Berlin]   🎯 Final duration for file upload: 0:55
[16-Dec-2025 16:14:59 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[16-Dec-2025 16:14:59 Europe/Berlin]   teacher_id: 14
[16-Dec-2025 16:14:59 Europe/Berlin]   course_id: 17
[16-Dec-2025 16:14:59 Europe/Berlin]   title: bullet
[16-Dec-2025 16:14:59 Europe/Berlin]   description: nice
[16-Dec-2025 16:14:59 Europe/Berlin]   video_type: file
[16-Dec-2025 16:14:59 Europe/Berlin]   videoPathForDB: uploads/videos/video_694177737690f_1765898099.mp4
[16-Dec-2025 16:14:59 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_694177737690f_1765898099.png
[16-Dec-2025 16:14:59 Europe/Berlin]   is_published: 1
[16-Dec-2025 16:14:59 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[16-Dec-2025 16:14:59 Europe/Berlin]   SQL prepared successfully
[16-Dec-2025 16:14:59 Europe/Berlin]   About to execute with bound parameters
[16-Dec-2025 16:14:59 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[16-Dec-2025 16:14:59 Europe/Berlin]   Generated video_id: 42
[16-Dec-2025 16:15:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:15:02 Europe/Berlin] Teacher Auth Check - Script: videos.php
[16-Dec-2025 16:15:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:02 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:15:02 Europe/Berlin] Session role: not set
[16-Dec-2025 16:15:02 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:15:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 16:15:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:15:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:15:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765893352
    [last_regeneration] => 1765893352
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765893352
    [session_started_at] => 2025-12-16 14:55:53
    [login_redirect_count] => 0
)

[16-Dec-2025 16:15:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[16-Dec-2025 16:15:03 Europe/Berlin] Session role: not set
[16-Dec-2025 16:15:03 Europe/Berlin] Session user_role: teacher
[16-Dec-2025 15:15:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[16-Dec-2025 15:15:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[16-Dec-2025 16:15:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:15:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:15:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:15:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:15:55 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:15:55 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:15:55 Europe/Berlin] Session role: not set
[16-Dec-2025 16:15:55 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:15:55 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:16:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:16:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:16:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:16:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:16:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:16:56 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:16:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:16:56 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:16:56 Europe/Berlin] Session role: not set
[16-Dec-2025 16:16:56 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:16:56 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:17:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:17:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:17:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:17:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:17:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:17:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:17:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:17:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:17:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:18:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:18:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:18:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:18:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:18:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:18:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:18:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:18:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:18:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:19:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:19:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:19:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:19:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:19:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:19:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:19:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:19:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:19:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:20:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:20:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:20:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:20:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:20:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:20:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:20:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:20:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:20:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:20:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:20:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:21:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:21:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:21:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:21:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:21:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:21:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:21:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:21:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:21:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:21:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:21:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:22:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:22:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:22:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:22:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:22:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:22:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:22:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:22:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:22:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:22:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:22:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:23:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:23:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:23:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:23:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:23:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:23:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:23:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:23:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:23:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:23:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:24:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:24:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:24:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:24:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:24:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:24:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:24:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:24:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:24:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:24:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:25:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:25:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:25:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:25:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:25:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:25:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:25:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:25:58 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:25:58 Europe/Berlin] Session role: not set
[16-Dec-2025 16:25:58 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:25:58 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:26:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:26:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:26:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:26:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:26:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:26:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:26:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:26:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:26:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:27:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:27:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:27:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:27:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:27:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:27:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:27:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:28:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:28:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:28:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:28:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:28:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:28:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:28:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:28:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:28:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:28:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:28:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:29:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:29:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:29:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:29:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:29:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:29:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:29:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:29:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:29:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:30:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:30:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:30:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:30:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:30:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:30:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:30:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:30:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:30:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:31:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:31:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:31:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:31:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:31:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:31:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:31:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:31:58 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:31:58 Europe/Berlin] Session role: not set
[16-Dec-2025 16:31:58 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:31:58 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:33:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:33:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:33:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:33:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:00 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:33:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:00 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:33:00 Europe/Berlin] Session role: not set
[16-Dec-2025 16:33:00 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:33:00 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:33:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:33:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:33:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:33:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:33:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:33:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:33:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:33:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:34:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:34:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:34:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:34:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:34:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:34:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:34:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:34:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:34:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:35:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:35:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:35:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:35:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:35:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:35:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:35:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:35:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:35:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:36:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:36:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:36:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:36:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:36:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:36:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:36:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:36:58 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:36:58 Europe/Berlin] Session role: not set
[16-Dec-2025 16:36:58 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:36:58 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:37:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:37:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:37:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:37:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:37:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:37:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:37:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:37:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:37:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:37:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:38:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:38:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:38:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:38:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:38:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:38:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:38:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:38:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:38:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:39:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:39:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:39:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:39:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:39:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:39:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:39:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:39:59 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:39:59 Europe/Berlin] Session role: not set
[16-Dec-2025 16:39:59 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:39:59 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:41:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:41:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:41:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:03 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:03 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:41:03 Europe/Berlin] Session role: not set
[16-Dec-2025 16:41:03 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:41:03 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:41:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:41:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:41:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:41:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:41:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:41:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:41:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:42:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:42:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:42:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:42:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:42:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:42:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:42:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:42:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:42:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:43:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:43:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:43:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:43:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:43:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:43:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:43:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:43:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:43:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:43:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:44:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:44:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:44:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:44:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:44:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:44:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:44:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:44:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:46:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:46:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:46:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:01 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:46:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:01 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:46:01 Europe/Berlin] Session role: not set
[16-Dec-2025 16:46:01 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:46:01 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:46:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:46:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:46:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:46:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:59 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:46:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:46:59 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:46:59 Europe/Berlin] Session role: not set
[16-Dec-2025 16:46:59 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:46:59 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:47:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:47:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:47:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:47:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:47:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:47:58 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:47:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:47:58 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:47:58 Europe/Berlin] Session role: not set
[16-Dec-2025 16:47:58 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:47:58 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:48:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:48:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:48:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:48:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:49:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:49:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:49:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:49:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:50:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:50:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:50:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:50:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:50:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:50:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:50:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:50:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:51:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:51:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:51:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:51:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:51:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:51:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:51:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:51:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:51:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:52:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:52:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:52:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:52:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:52:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:52:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:52:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:52:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:52:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:53:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:53:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:53:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:53:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:53:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:53:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:53:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:53:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:54:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:54:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:54:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:54:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:54:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:54:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:54:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:54:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:54:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:55:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:55:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:55:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:55:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:55:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:55:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:55:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:55:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:55:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:56:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:56:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:56:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:56:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:56:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:56:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:56:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:56:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:56:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:57:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:57:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:57:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:57:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:57:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:57:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:57:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:57:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:57:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:58:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:58:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:58:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:58:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 16:59:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 16:59:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 16:59:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:59:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:59:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:59:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 16:59:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 16:59:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 16:59:57 Europe/Berlin] Session role: not set
[16-Dec-2025 16:59:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 16:59:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:00:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:00:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 17:00:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:00:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:00:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:00:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:00:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:00:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:00:57 Europe/Berlin] Session role: not set
[16-Dec-2025 17:00:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:00:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:01:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:01:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 17:01:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:01:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:01:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:01:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:01:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:01:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:01:57 Europe/Berlin] Session role: not set
[16-Dec-2025 17:01:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:01:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:03:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:03:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 17:03:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:03:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:07 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:03:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:07 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:03:07 Europe/Berlin] Session role: not set
[16-Dec-2025 17:03:07 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:03:07 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:03:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:03:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[16-Dec-2025 17:03:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:57 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:03:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765898132
    [last_regeneration] => 1765898132
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765898132
    [session_started_at] => 2025-12-16 16:15:33
    [cart] => Array
        (
        )

)

[16-Dec-2025 17:03:57 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:03:57 Europe/Berlin] Session role: not set
[16-Dec-2025 17:03:57 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:03:57 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:28:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:28:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 17:28:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-16 17:28:53
)

[16-Dec-2025 17:28:53 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 17:28:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
)

[16-Dec-2025 17:29:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:29:05 Europe/Berlin] Teacher Auth Check - Script: profile.php
[16-Dec-2025 17:29:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
    [created_at] => 1765902534
    [last_regeneration] => 1765902534
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
)

[16-Dec-2025 17:29:05 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 17:29:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 1
    [last_page] => /teacher/dashboard.php
    [created_at] => 1765902534
    [last_regeneration] => 1765902534
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
)

[16-Dec-2025 17:29:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:29:08 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[16-Dec-2025 17:29:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [created_at] => 1765902534
    [last_regeneration] => 1765902534
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
)

[16-Dec-2025 17:29:08 Europe/Berlin] isLoggedIn check result: false
[16-Dec-2025 17:29:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 2
    [last_page] => /teacher/profile.php
    [created_at] => 1765902534
    [last_regeneration] => 1765902534
    [stored_redirect] => /teacher/profile.php
    [redirect_to_cart] => 
)

[16-Dec-2025 17:29:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:29:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 17:29:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:29:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:29:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:29:36 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:29:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:29:36 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:29:36 Europe/Berlin] Session role: not set
[16-Dec-2025 17:29:36 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:29:36 Europe/Berlin] Teacher Auth - Access denied for user role: student
[16-Dec-2025 17:31:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Dec-2025 17:31:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Dec-2025 17:31:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:31:17 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:31:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:31:17 Europe/Berlin] isLoggedIn check result: true
[16-Dec-2025 17:31:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-16 17:28:53
    [login_redirect_count] => 0
    [last_page] => /teacher/profile.php
    [created_at] => 1765902575
    [last_regeneration] => 1765902575
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765902575
)

[16-Dec-2025 17:31:17 Europe/Berlin] hasPermission check - Required: teacher, User: student
[16-Dec-2025 17:31:17 Europe/Berlin] Session role: not set
[16-Dec-2025 17:31:17 Europe/Berlin] Session user_role: student
[16-Dec-2025 17:31:17 Europe/Berlin] Teacher Auth - Access denied for user role: student
[17-Dec-2025 09:53:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:41 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[17-Dec-2025 09:53:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
)

[17-Dec-2025 09:53:41 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
)

[17-Dec-2025 09:53:41 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
)

[17-Dec-2025 09:53:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:41 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:41 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:53:42 UTC] Fetching videos for teacher_id: 44
[17-Dec-2025 08:53:42 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[17-Dec-2025 08:53:42 UTC] Found 0 videos for teacher 44
[17-Dec-2025 09:53:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:53:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:43 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:43 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:43 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:43 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:53:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:50 Europe/Berlin] Teacher Auth Check - Script: courses.php
[17-Dec-2025 09:53:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:50 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:50 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:53:50 UTC] DB Connection Status: Connected
[17-Dec-2025 08:53:50 UTC] User with ID 44 found
[17-Dec-2025 08:53:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[17-Dec-2025 09:53:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:53:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:50 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:50 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:53:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:53:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:57 Europe/Berlin] Teacher Auth Check - Script: videos.php
[17-Dec-2025 09:53:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:57 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:57 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:57 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:57 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 09:53:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:53:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:53:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:59 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:59 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:53:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:53:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:53:59 Europe/Berlin] Session role: not set
[17-Dec-2025 09:53:59 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:53:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:53:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:54:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:54:11 Europe/Berlin] Teacher Auth Check - Script: courses.php
[17-Dec-2025 09:54:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:11 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:11 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:54:11 Europe/Berlin] Session role: not set
[17-Dec-2025 09:54:11 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:54:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:54:11 UTC] DB Connection Status: Connected
[17-Dec-2025 08:54:11 UTC] User with ID 44 found
[17-Dec-2025 08:54:11 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[17-Dec-2025 09:54:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:54:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:54:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:12 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:12 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:54:12 Europe/Berlin] Session role: not set
[17-Dec-2025 09:54:12 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:54:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:54:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:54:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:54:13 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[17-Dec-2025 09:54:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:13 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:13 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:54:13 Europe/Berlin] Session role: not set
[17-Dec-2025 09:54:13 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:54:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:54:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[17-Dec-2025 09:54:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:54:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:54:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:14 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:14 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:54:14 Europe/Berlin] Session role: not set
[17-Dec-2025 09:54:14 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:54:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:54:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:54:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:54:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:54:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:44 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:44 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:54:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
)

[17-Dec-2025 09:54:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:54:44 Europe/Berlin] Session role: not set
[17-Dec-2025 09:54:44 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:54:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 1
[17-Dec-2025 08:54:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:55:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:11 Europe/Berlin] PDO connection created successfully for email service
[17-Dec-2025 09:55:11 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Math11" - Awaiting Approval - failed
[17-Dec-2025 09:55:12 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Math11" - Awaiting Approval - sent
[17-Dec-2025 09:55:12 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Math11" - Awaiting Approval - sent
[17-Dec-2025 09:55:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:12 Europe/Berlin] Teacher Auth Check - Script: courses.php
[17-Dec-2025 09:55:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:12 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:12 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:55:12 Europe/Berlin] Session role: not set
[17-Dec-2025 09:55:12 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:55:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:55:12 UTC] DB Connection Status: Connected
[17-Dec-2025 08:55:12 UTC] User with ID 44 found
[17-Dec-2025 08:55:12 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[17-Dec-2025 09:55:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:55:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:13 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:13 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:55:13 Europe/Berlin] Session role: not set
[17-Dec-2025 09:55:13 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:55:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:55:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:55:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:55:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:42 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:42 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:55:42 Europe/Berlin] Session role: not set
[17-Dec-2025 09:55:42 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:55:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:55:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:55:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[17-Dec-2025 09:55:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:52 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:52 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:55:52 Europe/Berlin] Session role: not set
[17-Dec-2025 09:55:52 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:55:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 09:55:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:55:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:55:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:53 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:53 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:55:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:55:53 Europe/Berlin] Session role: not set
[17-Dec-2025 09:55:53 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:55:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:55:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:56:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:56:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:56:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:23 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:56:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:23 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:56:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:56:23 Europe/Berlin] Session role: not set
[17-Dec-2025 09:56:23 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:56:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:56:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:56:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:56:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:56:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:54 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:54 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:56:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:56:54 Europe/Berlin] Session role: not set
[17-Dec-2025 09:56:54 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:56:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:56:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 USER ID: NOT SET
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 USER ROLE: NOT SET
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 SESSION STATUS: 1
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 SESSION ID: 
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[17-Dec-2025 09:57:13 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => File video
    [course_id] => 18
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => download (5).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpIkdewi
            [error] => 0
            [size] => 4568
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpoJ60vW
            [error] => 0
            [size] => 5847406
        )

)

[17-Dec-2025 09:57:13 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[17-Dec-2025 09:57:13 Europe/Berlin] 📥 REQUEST METHOD: POST
[17-Dec-2025 09:57:13 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[17-Dec-2025 09:57:13 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[17-Dec-2025 09:57:13 Europe/Berlin] 📋 ALL POST DATA:
[17-Dec-2025 09:57:13 Europe/Berlin]   form_type: video_upload
[17-Dec-2025 09:57:13 Europe/Berlin]   teacher_id: 44
[17-Dec-2025 09:57:13 Europe/Berlin]   video_url: 
[17-Dec-2025 09:57:13 Europe/Berlin]   detected_platform: 
[17-Dec-2025 09:57:13 Europe/Berlin]   video_id_external: 
[17-Dec-2025 09:57:13 Europe/Berlin]   embed_code: 
[17-Dec-2025 09:57:13 Europe/Berlin]   detected_duration: 0:55
[17-Dec-2025 09:57:13 Europe/Berlin]   video_type: file
[17-Dec-2025 09:57:13 Europe/Berlin]   manual_duration: 
[17-Dec-2025 09:57:13 Europe/Berlin]   title: File video
[17-Dec-2025 09:57:13 Europe/Berlin]   course_id: 18
[17-Dec-2025 09:57:13 Europe/Berlin]   description: welcome
[17-Dec-2025 09:57:13 Europe/Berlin]   category_name: Data Science
[17-Dec-2025 09:57:13 Europe/Berlin]   is_published: 1
[17-Dec-2025 09:57:13 Europe/Berlin]   content_types: [quiz]
[17-Dec-2025 09:57:13 Europe/Berlin]   ajax: 1
[17-Dec-2025 09:57:13 Europe/Berlin] 📂 ALL FILES DATA:
[17-Dec-2025 09:57:13 Europe/Berlin]   thumbnail: download (5).jpeg (4568 bytes, error: 0)
[17-Dec-2025 09:57:13 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[17-Dec-2025 09:57:13 Europe/Berlin]   video_type: file
[17-Dec-2025 09:57:13 Europe/Berlin]   video_url: 
[17-Dec-2025 09:57:13 Europe/Berlin]   detected_platform: 
[17-Dec-2025 09:57:13 Europe/Berlin]   video_id_external: 
[17-Dec-2025 09:57:13 Europe/Berlin]   embed_code: EMPTY
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[17-Dec-2025 09:57:13 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[17-Dec-2025 09:57:13 Europe/Berlin] 📥 REQUEST METHOD: POST
[17-Dec-2025 09:57:13 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[17-Dec-2025 09:57:13 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[17-Dec-2025 09:57:13 Europe/Berlin] 📋 ALL POST DATA:
[17-Dec-2025 09:57:13 Europe/Berlin]   form_type: video_upload
[17-Dec-2025 09:57:13 Europe/Berlin]   teacher_id: 44
[17-Dec-2025 09:57:13 Europe/Berlin]   video_url: 
[17-Dec-2025 09:57:13 Europe/Berlin]   detected_platform: 
[17-Dec-2025 09:57:13 Europe/Berlin]   video_id_external: 
[17-Dec-2025 09:57:13 Europe/Berlin]   embed_code: 
[17-Dec-2025 09:57:13 Europe/Berlin]   detected_duration: 0:55
[17-Dec-2025 09:57:13 Europe/Berlin]   video_type: file
[17-Dec-2025 09:57:13 Europe/Berlin]   manual_duration: 
[17-Dec-2025 09:57:13 Europe/Berlin]   title: File video
[17-Dec-2025 09:57:13 Europe/Berlin]   course_id: 18
[17-Dec-2025 09:57:13 Europe/Berlin]   description: welcome
[17-Dec-2025 09:57:13 Europe/Berlin]   category_name: Data Science
[17-Dec-2025 09:57:13 Europe/Berlin]   is_published: 1
[17-Dec-2025 09:57:13 Europe/Berlin]   content_types: [quiz]
[17-Dec-2025 09:57:13 Europe/Berlin]   ajax: 1
[17-Dec-2025 09:57:13 Europe/Berlin] 📂 ALL FILES DATA:
[17-Dec-2025 09:57:13 Europe/Berlin]   thumbnail: download (5).jpeg (4568 bytes, error: 0)
[17-Dec-2025 09:57:13 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[17-Dec-2025 09:57:13 Europe/Berlin]   video exists: YES
[17-Dec-2025 09:57:13 Europe/Berlin]   videoFile exists (old): NO
[17-Dec-2025 09:57:13 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   video size: 5847406
[17-Dec-2025 09:57:13 Europe/Berlin]   video error: 0
[17-Dec-2025 09:57:13 Europe/Berlin]   video tmp_name: /tmp/phpoJ60vW
[17-Dec-2025 09:57:13 Europe/Berlin]   Error meaning: No error
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[17-Dec-2025 09:57:13 Europe/Berlin]   video_type: file
[17-Dec-2025 09:57:13 Europe/Berlin]   $_FILES available: YES
[17-Dec-2025 09:57:13 Europe/Berlin]   $_FILES keys: thumbnail, video
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[17-Dec-2025 09:57:13 Europe/Berlin] 📂 Video file details:
[17-Dec-2025 09:57:13 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   type: video/mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   size: 5847406
[17-Dec-2025 09:57:13 Europe/Berlin]   error: 0
[17-Dec-2025 09:57:13 Europe/Berlin]   tmp_name: /tmp/phpoJ60vW
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 File type validation:
[17-Dec-2025 09:57:13 Europe/Berlin]   Detected type: video/mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[17-Dec-2025 09:57:13 Europe/Berlin] ✅ File type validation passed
[17-Dec-2025 09:57:13 Europe/Berlin] 📁 File paths:
[17-Dec-2025 09:57:13 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[17-Dec-2025 09:57:13 Europe/Berlin]   Video filename: video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   Directory writable: YES
[17-Dec-2025 09:57:13 Europe/Berlin] 📸 Processing thumbnail upload
[17-Dec-2025 09:57:13 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_694270691a8be_1765961833.jpeg
[17-Dec-2025 09:57:13 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_694270691a8be_1765961833.jpeg
[17-Dec-2025 09:57:13 Europe/Berlin] 🎬 Moving video file from temp to final location
[17-Dec-2025 09:57:13 Europe/Berlin]   From: /tmp/phpoJ60vW
[17-Dec-2025 09:57:13 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   Temp file exists: YES
[17-Dec-2025 09:57:13 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   ✅ Using frontend-detected duration: 0:55
[17-Dec-2025 09:57:13 Europe/Berlin]   🎯 Final duration for file upload: 0:55
[17-Dec-2025 09:57:13 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[17-Dec-2025 09:57:13 Europe/Berlin]   teacher_id: 14
[17-Dec-2025 09:57:13 Europe/Berlin]   course_id: 18
[17-Dec-2025 09:57:13 Europe/Berlin]   title: File video
[17-Dec-2025 09:57:13 Europe/Berlin]   description: welcome
[17-Dec-2025 09:57:13 Europe/Berlin]   video_type: file
[17-Dec-2025 09:57:13 Europe/Berlin]   videoPathForDB: uploads/videos/video_694270691a8be_1765961833.mp4
[17-Dec-2025 09:57:13 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_694270691a8be_1765961833.jpeg
[17-Dec-2025 09:57:13 Europe/Berlin]   is_published: 1
[17-Dec-2025 09:57:13 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[17-Dec-2025 09:57:13 Europe/Berlin]   SQL prepared successfully
[17-Dec-2025 09:57:13 Europe/Berlin]   About to execute with bound parameters
[17-Dec-2025 09:57:13 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[17-Dec-2025 09:57:13 Europe/Berlin]   Generated video_id: 43
[17-Dec-2025 09:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Script: videos.php
[17-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:16 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:16 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 09:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:16 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:16 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:57:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:57:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:19 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[17-Dec-2025 09:57:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:19 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:19 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:19 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:19 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:57:19 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[17-Dec-2025 09:57:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:57:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:20 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:20 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:20 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:20 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:57:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:57:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:21 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[17-Dec-2025 09:57:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:21 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:21 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:21 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:21 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 09:57:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:57:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:22 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:22 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:22 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:22 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:57:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:57:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:57:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:57:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:53 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:53 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:57:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:57:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:57:53 Europe/Berlin] Session role: not set
[17-Dec-2025 09:57:53 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:57:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:57:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:58:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:58:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:58:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:23 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:23 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:58:23 Europe/Berlin] Session role: not set
[17-Dec-2025 09:58:23 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:58:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:58:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:58:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:58:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:58:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:52 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:52 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:58:52 Europe/Berlin] Session role: not set
[17-Dec-2025 09:58:52 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:58:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:58:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 USER ID: NOT SET
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 USER ROLE: NOT SET
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 SESSION STATUS: 1
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 SESSION ID: 
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[17-Dec-2025 09:58:53 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/tMXbl-BNqCU?si=zQTi1DoRhHq55WTY
    [detected_platform] => youtube
    [video_id_external] => tMXbl-BNqCU
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/tMXbl-BNqCU?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 1:09
    [video_type] => url
    [manual_duration] => 
    [title] => Computer Science One Minute Major
    [course_id] => 18
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[17-Dec-2025 09:58:53 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[17-Dec-2025 09:58:53 Europe/Berlin] 📥 REQUEST METHOD: POST
[17-Dec-2025 09:58:53 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[17-Dec-2025 09:58:53 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[17-Dec-2025 09:58:53 Europe/Berlin] 📋 ALL POST DATA:
[17-Dec-2025 09:58:53 Europe/Berlin]   form_type: video_upload
[17-Dec-2025 09:58:53 Europe/Berlin]   teacher_id: 44
[17-Dec-2025 09:58:53 Europe/Berlin]   video_url: https://youtu.be/tMXbl-BNqCU?si=zQTi1DoRhHq55WTY
[17-Dec-2025 09:58:53 Europe/Berlin]   detected_platform: youtube
[17-Dec-2025 09:58:53 Europe/Berlin]   video_id_external: tMXbl-BNqCU
[17-Dec-2025 09:58:53 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/tMXbl-BNqCU?rel=0&showinfo=0&mo...
[17-Dec-2025 09:58:53 Europe/Berlin]   detected_duration: 1:09
[17-Dec-2025 09:58:53 Europe/Berlin]   video_type: url
[17-Dec-2025 09:58:53 Europe/Berlin]   manual_duration: 
[17-Dec-2025 09:58:53 Europe/Berlin]   title: Computer Science One Minute Major
[17-Dec-2025 09:58:53 Europe/Berlin]   course_id: 18
[17-Dec-2025 09:58:53 Europe/Berlin]   description: welcome
[17-Dec-2025 09:58:53 Europe/Berlin]   category_name: Data Science
[17-Dec-2025 09:58:53 Europe/Berlin]   is_published: 1
[17-Dec-2025 09:58:53 Europe/Berlin]   content_types: [quiz]
[17-Dec-2025 09:58:53 Europe/Berlin]   ajax: 1
[17-Dec-2025 09:58:53 Europe/Berlin] 📂 ALL FILES DATA:
[17-Dec-2025 09:58:53 Europe/Berlin]   video:  (0 bytes, error: 4)
[17-Dec-2025 09:58:53 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[17-Dec-2025 09:58:53 Europe/Berlin]   video_type: url
[17-Dec-2025 09:58:53 Europe/Berlin]   video_url: https://youtu.be/tMXbl-BNqCU?si=zQTi1DoRhHq55WTY
[17-Dec-2025 09:58:53 Europe/Berlin]   detected_platform: youtube
[17-Dec-2025 09:58:53 Europe/Berlin]   video_id_external: tMXbl-BNqCU
[17-Dec-2025 09:58:53 Europe/Berlin]   embed_code: HAS_VALUE
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[17-Dec-2025 09:58:53 Europe/Berlin]   video_type: url
[17-Dec-2025 09:58:53 Europe/Berlin]   $_FILES available: YES
[17-Dec-2025 09:58:53 Europe/Berlin]   $_FILES keys: video, thumbnail
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[17-Dec-2025 09:58:53 Europe/Berlin]   platform: youtube
[17-Dec-2025 09:58:53 Europe/Berlin]   video_id_ext: tMXbl-BNqCU
[17-Dec-2025 09:58:53 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/tMXbl-BNqCU/maxresdefault.jpg
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[17-Dec-2025 09:58:53 Europe/Berlin]   detected_duration: 1:09
[17-Dec-2025 09:58:53 Europe/Berlin]   manual_duration: 
[17-Dec-2025 09:58:53 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[17-Dec-2025 09:58:53 Europe/Berlin] 🎯 FOUND detected_duration field: 1:09
[17-Dec-2025 09:58:53 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 1:09
[17-Dec-2025 09:58:53 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[17-Dec-2025 09:58:53 Europe/Berlin]   teacher_id: 14
[17-Dec-2025 09:58:53 Europe/Berlin]   course_id: 18
[17-Dec-2025 09:58:53 Europe/Berlin]   title: Computer Science One Minute Major
[17-Dec-2025 09:58:53 Europe/Berlin]   description: welcome
[17-Dec-2025 09:58:53 Europe/Berlin]   video_type: url
[17-Dec-2025 09:58:53 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/tMXbl-BNqCU/maxresdefault.jpg
[17-Dec-2025 09:58:53 Europe/Berlin]   external_url: https://youtu.be/tMXbl-BNqCU?si=zQTi1DoRhHq55WTY
[17-Dec-2025 09:58:53 Europe/Berlin]   platform: youtube
[17-Dec-2025 09:58:53 Europe/Berlin]   video_id_ext: tMXbl-BNqCU
[17-Dec-2025 09:58:53 Europe/Berlin]   duration: 1:09
[17-Dec-2025 09:58:53 Europe/Berlin]   is_published: 1
[17-Dec-2025 09:58:53 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[17-Dec-2025 09:58:53 Europe/Berlin]   SQL prepared successfully
[17-Dec-2025 09:58:53 Europe/Berlin]   About to execute with bound parameters
[17-Dec-2025 09:58:53 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[17-Dec-2025 09:58:53 Europe/Berlin]   Generated video_id: 44
[17-Dec-2025 09:58:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:58:56 Europe/Berlin] Teacher Auth Check - Script: videos.php
[17-Dec-2025 09:58:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:56 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:56 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:58:56 Europe/Berlin] Session role: not set
[17-Dec-2025 09:58:56 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:58:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 09:58:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Dec-2025 09:58:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[17-Dec-2025 09:58:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:57 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:57 Europe/Berlin] isLoggedIn check result: true
[17-Dec-2025 09:58:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1765961620
    [last_regeneration] => 1765961620
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1765961620
    [session_started_at] => 2025-12-17 09:53:41
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[17-Dec-2025 09:58:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[17-Dec-2025 09:58:57 Europe/Berlin] Session role: not set
[17-Dec-2025 09:58:57 Europe/Berlin] Session user_role: teacher
[17-Dec-2025 08:58:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[17-Dec-2025 08:58:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 01:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 01:01:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 01:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-18 01:01:37
)

[18-Dec-2025 01:01:37 Europe/Berlin] isLoggedIn check result: false
[18-Dec-2025 01:01:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-18 01:01:37
)

[18-Dec-2025 02:31:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 02:31:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 02:31:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-18 02:31:17
)

[18-Dec-2025 02:31:17 Europe/Berlin] isLoggedIn check result: false
[18-Dec-2025 02:31:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-18 02:31:17
)

[18-Dec-2025 09:59:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 09:59:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
)

[18-Dec-2025 09:59:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
)

[18-Dec-2025 09:59:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
)

[18-Dec-2025 09:59:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:06 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:07 UTC] Fetching videos for teacher_id: 44
[18-Dec-2025 08:59:07 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[18-Dec-2025 08:59:07 UTC] Found 0 videos for teacher 44
[18-Dec-2025 09:59:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 09:59:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:08 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 09:59:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:14 Europe/Berlin] Teacher Auth Check - Script: profile.php
[18-Dec-2025 09:59:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:14 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:59:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 09:59:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:14 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 09:59:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:18 Europe/Berlin] Teacher Auth Check - Script: courses.php
[18-Dec-2025 09:59:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:18 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:18 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:18 UTC] DB Connection Status: Connected
[18-Dec-2025 08:59:18 UTC] User with ID 44 found
[18-Dec-2025 08:59:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[18-Dec-2025 09:59:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 09:59:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:19 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:19 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 09:59:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:34 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[18-Dec-2025 09:59:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:34 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:34 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:34 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:34 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[18-Dec-2025 09:59:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 09:59:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 09:59:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 09:59:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 09:59:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 09:59:35 Europe/Berlin] Session role: not set
[18-Dec-2025 09:59:35 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 08:59:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 08:59:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:00:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:00:05 Europe/Berlin] Session role: not set
[18-Dec-2025 10:00:05 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:00:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:00:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:00:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:00:35 Europe/Berlin] Session role: not set
[18-Dec-2025 10:00:35 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:00:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:00:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:01:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:01:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:01:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:01:05 Europe/Berlin] Session role: not set
[18-Dec-2025 10:01:05 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:01:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:01:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:01:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:01:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:01:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:35 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:01:35 Europe/Berlin] Session role: not set
[18-Dec-2025 10:01:35 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:01:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:01:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:02:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:02:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:02:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:02:05 Europe/Berlin] Session role: not set
[18-Dec-2025 10:02:05 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:02:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:02:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:02:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:02:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 10:02:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:02:13 Europe/Berlin] Session role: not set
[18-Dec-2025 10:02:13 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:02:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:02:13 UTC] Fetching videos for teacher_id: 44
[18-Dec-2025 09:02:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[18-Dec-2025 09:02:13 UTC] Found 0 videos for teacher 44
[18-Dec-2025 10:02:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:02:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:02:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:02:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766048344
    [last_regeneration] => 1766048344
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766048344
    [session_started_at] => 2025-12-18 09:59:06
    [login_redirect_count] => 0
)

[18-Dec-2025 10:02:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:02:13 Europe/Berlin] Session role: not set
[18-Dec-2025 10:02:13 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:02:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:02:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:43:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:43:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 10:43:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
)

[18-Dec-2025 10:43:58 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:43:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
)

[18-Dec-2025 10:43:58 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:43:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
)

[18-Dec-2025 10:43:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:43:58 Europe/Berlin] Session role: not set
[18-Dec-2025 10:43:58 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:43:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:43:58 UTC] Fetching videos for teacher_id: 44
[18-Dec-2025 09:43:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[18-Dec-2025 09:43:58 UTC] Found 0 videos for teacher 44
[18-Dec-2025 10:43:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:43:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:43:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:43:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:43:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:43:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:43:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:43:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:43:59 Europe/Berlin] Session role: not set
[18-Dec-2025 10:43:59 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:43:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:43:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:44:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:44:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[18-Dec-2025 10:44:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:12 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:12 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:44:12 Europe/Berlin] Session role: not set
[18-Dec-2025 10:44:12 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:44:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:44:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:44:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:44:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:44:14 Europe/Berlin] Session role: not set
[18-Dec-2025 10:44:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:44:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:44:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:44:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:44:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:44:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:44:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:44:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:44:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:44:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:44:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:45:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:45:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:45:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:45:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:45:14 Europe/Berlin] Session role: not set
[18-Dec-2025 10:45:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:45:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:45:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:45:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:45:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:45:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:45:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:45:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:45:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:45:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:45:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:45:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:45:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:46:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:46:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:46:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:46:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:46:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:46:14 Europe/Berlin] Session role: not set
[18-Dec-2025 10:46:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:46:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:46:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:46:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:46:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:46:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:46:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:46:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:47:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:47:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:47:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:47:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:47:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:47:14 Europe/Berlin] Session role: not set
[18-Dec-2025 10:47:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:47:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:47:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:47:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:47:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:47:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:47:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:47:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:47:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:47:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:47:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:47:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:47:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:48:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:48:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:48:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:48:16 Europe/Berlin] Session role: not set
[18-Dec-2025 10:48:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:48:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:48:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:48:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:48:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:48:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:48:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:48:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:48:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:48:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:48:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:48:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:49:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:49:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:14 Europe/Berlin] Session role: not set
[18-Dec-2025 10:49:14 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:49:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:49:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:49:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:26 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[18-Dec-2025 10:49:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:26 Europe/Berlin] Session role: not set
[18-Dec-2025 10:49:26 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:49:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:49:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:49:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:26 Europe/Berlin] Session role: not set
[18-Dec-2025 10:49:26 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:49:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:49:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:49:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:49:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:56 Europe/Berlin] Session role: not set
[18-Dec-2025 10:49:56 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:49:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:49:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:57 Europe/Berlin] Teacher Auth Check - Script: videos.php
[18-Dec-2025 10:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:57 Europe/Berlin] Session role: not set
[18-Dec-2025 10:49:57 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:50:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:50:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:50:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:50:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:50:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:50:00 Europe/Berlin] Session role: not set
[18-Dec-2025 10:50:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:50:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:50:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:50:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:50:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:50:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:50:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:50:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:50:31 Europe/Berlin] Session role: not set
[18-Dec-2025 10:50:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:50:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:50:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:51:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:51:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:51:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:51:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:51:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:51:00 Europe/Berlin] Session role: not set
[18-Dec-2025 10:51:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:51:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:51:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:51:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:51:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:51:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:51:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:51:30 Europe/Berlin] Session role: not set
[18-Dec-2025 10:51:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:51:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:51:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:52:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:52:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:52:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:52:00 Europe/Berlin] Session role: not set
[18-Dec-2025 10:52:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:52:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:52:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:52:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:52:07 Europe/Berlin] Teacher Auth Check - Script: courses.php
[18-Dec-2025 10:52:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:52:07 Europe/Berlin] Session role: not set
[18-Dec-2025 10:52:07 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:52:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:52:07 UTC] DB Connection Status: Connected
[18-Dec-2025 09:52:07 UTC] User with ID 44 found
[18-Dec-2025 09:52:07 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[18-Dec-2025 10:52:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:52:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:52:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:52:07 Europe/Berlin] Session role: not set
[18-Dec-2025 10:52:07 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:52:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:52:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:52:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:52:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:52:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:52:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:52:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:52:38 Europe/Berlin] Session role: not set
[18-Dec-2025 10:52:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:52:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:52:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:53:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:53:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:53:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:53:08 Europe/Berlin] Session role: not set
[18-Dec-2025 10:53:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:53:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:53:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:53:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:53:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:53:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:53:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:53:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:53:44 Europe/Berlin] Session role: not set
[18-Dec-2025 10:53:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:53:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:53:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:54:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:54:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:54:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:54:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:54:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:54:09 Europe/Berlin] Session role: not set
[18-Dec-2025 10:54:09 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:54:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:54:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:54:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:54:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:54:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:54:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:54:38 Europe/Berlin] Session role: not set
[18-Dec-2025 10:54:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:54:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:54:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:55:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:55:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:55:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:55:08 Europe/Berlin] Session role: not set
[18-Dec-2025 10:55:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:55:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:55:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:55:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:55:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:55:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:55:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:55:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:55:45 Europe/Berlin] Session role: not set
[18-Dec-2025 10:55:45 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:55:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:55:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:56:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:56:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:56:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:56:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:56:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:56:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:56:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:56:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:56:30 Europe/Berlin] Session role: not set
[18-Dec-2025 10:56:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:56:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:56:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:57:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:57:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:57:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:28 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:57:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:28 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:57:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:57:28 Europe/Berlin] Session role: not set
[18-Dec-2025 10:57:28 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:57:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:57:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:57:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:57:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:57:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:57:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:57:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:57:38 Europe/Berlin] Session role: not set
[18-Dec-2025 10:57:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:57:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:57:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:58:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:58:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:08 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:58:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:58:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:16 Europe/Berlin] Teacher Auth Check - Script: videos.php
[18-Dec-2025 10:58:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:16 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:58:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:58:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:17 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:17 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:58:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:58:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:45 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[18-Dec-2025 10:58:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:45 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:45 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:58:45 UTC] No teacher found with ID: 44
[18-Dec-2025 10:58:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:58:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:46 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:46 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:58:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:58:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:51 Europe/Berlin] Teacher Auth Check - Script: videos.php
[18-Dec-2025 10:58:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:51 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:51 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:58:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:58:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:58:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:52 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:52 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:58:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:58:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:58:52 Europe/Berlin] Session role: not set
[18-Dec-2025 10:58:52 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:58:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:58:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:59:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:22 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:22 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:59:22 Europe/Berlin] Session role: not set
[18-Dec-2025 10:59:22 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:59:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:59:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 10:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:59:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 10:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:52 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:52 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 10:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:59:52 Europe/Berlin] Session role: not set
[18-Dec-2025 10:59:52 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 09:59:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 09:59:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:00:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:00:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:00:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:00:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:00:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:00:26 Europe/Berlin] Session role: not set
[18-Dec-2025 11:00:26 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:00:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:00:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:00:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:00:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:00:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:00:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:00:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:00:57 Europe/Berlin] Session role: not set
[18-Dec-2025 11:00:57 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:00:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:00:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:01:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:01:20 Europe/Berlin] Teacher Auth Check - Script: videos.php
[18-Dec-2025 11:01:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:01:20 Europe/Berlin] Session role: not set
[18-Dec-2025 11:01:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:01:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:01:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:01:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:21 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:21 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:01:21 Europe/Berlin] Session role: not set
[18-Dec-2025 11:01:21 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:01:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:01:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:01:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:01:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:01:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:01:51 Europe/Berlin] Session role: not set
[18-Dec-2025 11:01:51 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:01:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:01:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:01:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:01:55 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 10:01:55 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:55 UTC] isLoggedIn check result: true
[18-Dec-2025 10:01:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:55 UTC] isLoggedIn check result: true
[18-Dec-2025 10:01:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:01:55 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:01:55 UTC] Session role: not set
[18-Dec-2025 10:01:55 UTC] Session user_role: teacher
[18-Dec-2025 10:01:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:01:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:01:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:01:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:01:56 Europe/Berlin] Session role: not set
[18-Dec-2025 11:01:56 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:01:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:01:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:02:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:02:04 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 11:02:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:02:04 Europe/Berlin] Session role: not set
[18-Dec-2025 11:02:04 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:02:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:02:04 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 10:02:04 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 10:02:04 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 10:02:04 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 10:02:05 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 10:02:05 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 11:02:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:02:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:02:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:02:06 Europe/Berlin] Session role: not set
[18-Dec-2025 11:02:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:02:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:02:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:02:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:02:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:02:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:02:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:02:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:02:36 Europe/Berlin] Session role: not set
[18-Dec-2025 11:02:36 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:02:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:02:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:03:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:03:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:03:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:03:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:03:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:03:06 Europe/Berlin] Session role: not set
[18-Dec-2025 11:03:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:03:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:03:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:03:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:03:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:03:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:03:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:03:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:03:38 Europe/Berlin] Session role: not set
[18-Dec-2025 11:03:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:03:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:03:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:04:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:04:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:04:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:04:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:04:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:04:06 Europe/Berlin] Session role: not set
[18-Dec-2025 11:04:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:04:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:04:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:04:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:04:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:04:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:04:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:04:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:04:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:04:38 Europe/Berlin] Session role: not set
[18-Dec-2025 11:04:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:04:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:04:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:05:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:05:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:05:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:07 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:05:07 Europe/Berlin] Session role: not set
[18-Dec-2025 11:05:07 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:05:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:05:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:05:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:05:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:05:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:05:36 Europe/Berlin] Session role: not set
[18-Dec-2025 11:05:36 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:05:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:05:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:05:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:05:46 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 11:05:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:05:46 Europe/Berlin] Session role: not set
[18-Dec-2025 11:05:46 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:05:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:05:46 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 10:05:46 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 10:05:46 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 10:05:46 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 10:05:46 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 10:05:46 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 11:05:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:05:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:05:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:05:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:05:46 Europe/Berlin] Session role: not set
[18-Dec-2025 11:05:46 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:05:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:05:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:06:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:06:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:06:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:06:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:17 Europe/Berlin] Session role: not set
[18-Dec-2025 11:06:17 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:06:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:06:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:06:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:06:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:06:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:06:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:47 Europe/Berlin] Session role: not set
[18-Dec-2025 11:06:47 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:06:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:06:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:07:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:07:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:07:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:07:17 Europe/Berlin] Session role: not set
[18-Dec-2025 11:07:17 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:07:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:07:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:07:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:07:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:07:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:07:47 Europe/Berlin] Session role: not set
[18-Dec-2025 11:07:47 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:07:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:07:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:07:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:07:53 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 11:07:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:53 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:53 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:07:53 Europe/Berlin] Session role: not set
[18-Dec-2025 11:07:53 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:07:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:07:53 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 10:07:53 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 10:07:53 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 10:07:53 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 10:07:53 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 10:07:53 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 11:07:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:07:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:07:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:07:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:07:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:07:54 Europe/Berlin] Session role: not set
[18-Dec-2025 11:07:54 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:07:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:07:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:08:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:08:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:08:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:24 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:24 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:08:24 Europe/Berlin] Session role: not set
[18-Dec-2025 11:08:24 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:08:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:08:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:08:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:08:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:08:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:08:54 Europe/Berlin] Session role: not set
[18-Dec-2025 11:08:54 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:08:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:08:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:08:59 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[18-Dec-2025 11:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:08:59 Europe/Berlin] Session role: not set
[18-Dec-2025 11:08:59 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:08:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:08:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:08:59 Europe/Berlin] Session role: not set
[18-Dec-2025 11:08:59 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:08:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:08:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:09:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:09:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:09:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:09:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:09:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:09:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:09:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:09:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:09:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:09:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:09:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:59 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:09:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:09:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:09:59 Europe/Berlin] Session role: not set
[18-Dec-2025 11:09:59 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:09:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:09:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:10:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:10:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:10:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:10:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:10:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:10:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:10:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:10:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:10:29 Europe/Berlin] Session role: not set
[18-Dec-2025 11:10:29 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:10:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:10:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:11:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:11:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:11:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:11:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:11:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:11:00 Europe/Berlin] Session role: not set
[18-Dec-2025 11:11:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:11:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:11:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:11:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:11:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:11:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:11:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:11:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:11:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:11:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:11:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:11:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:11:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:12:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:12:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:12:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:12:00 Europe/Berlin] Session role: not set
[18-Dec-2025 11:12:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:12:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:12:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:12:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:12:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 11:12:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:28 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:28 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:12:28 Europe/Berlin] Session role: not set
[18-Dec-2025 11:12:28 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:12:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:12:28 UTC] Fetching videos for teacher_id: 44
[18-Dec-2025 10:12:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[18-Dec-2025 10:12:28 UTC] Found 0 videos for teacher 44
[18-Dec-2025 11:12:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:12:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:12:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:12:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:12:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:12:29 Europe/Berlin] Session role: not set
[18-Dec-2025 11:12:29 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:12:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:12:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:13:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:13:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:13:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:13:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:13:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:13:01 Europe/Berlin] Session role: not set
[18-Dec-2025 11:13:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:13:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:13:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:13:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:13:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:13:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:13:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:13:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:13:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:13:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:13:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:14:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:14:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:14:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:14:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:14:00 Europe/Berlin] Session role: not set
[18-Dec-2025 11:14:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:14:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:14:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:14:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:14:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:14:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:14:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:14:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:14:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:14:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:14:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:15:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:15:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:15:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:15:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:15:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:15:01 Europe/Berlin] Session role: not set
[18-Dec-2025 11:15:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:15:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:15:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:15:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:15:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:15:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:15:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:15:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:15:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:15:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:15:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:16:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:16:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:16:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:16:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:16:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:16:01 Europe/Berlin] Session role: not set
[18-Dec-2025 11:16:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:16:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:16:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:16:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:16:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:16:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:16:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:16:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:16:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:16:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:16:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:16:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:16:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:17:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:17:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:17:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:17:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:17:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:17:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:17:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:17:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:17:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:17:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:17:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:17:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:18:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:18:00 Europe/Berlin] Session role: not set
[18-Dec-2025 11:18:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:18:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:18:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:18:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:18:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:18:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:18:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:18:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:18:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:18:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:18:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:18:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:19:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:19:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:19:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:19:08 Europe/Berlin] Session role: not set
[18-Dec-2025 11:19:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:19:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:19:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:19:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:19:11 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 11:19:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:19:11 Europe/Berlin] Session role: not set
[18-Dec-2025 11:19:11 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:19:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:19:12 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 10:19:12 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 10:19:12 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 10:19:12 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 10:19:12 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 10:19:12 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 11:19:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:19:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:19:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:19:13 Europe/Berlin] Session role: not set
[18-Dec-2025 11:19:13 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:19:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:19:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:19:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:19:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:19:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:19:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:19:43 Europe/Berlin] Session role: not set
[18-Dec-2025 11:19:43 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:19:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:19:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:20:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:20:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:20:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:13 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:20:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:20:13 Europe/Berlin] Session role: not set
[18-Dec-2025 11:20:13 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:20:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:20:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:20:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:20:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:20:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:20:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:20:43 Europe/Berlin] Session role: not set
[18-Dec-2025 11:20:43 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:20:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:20:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:21:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:21:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:21:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:21:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:21:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:21:16 Europe/Berlin] Session role: not set
[18-Dec-2025 11:21:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:21:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:21:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:21:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:21:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:21:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:21:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:21:48 Europe/Berlin] Session role: not set
[18-Dec-2025 11:21:48 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:21:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:21:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:22:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:22:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:22:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:22:16 Europe/Berlin] Session role: not set
[18-Dec-2025 11:22:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:22:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:22:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:22:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:22:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:22:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:22:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:22:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:22:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:22:43 Europe/Berlin] Session role: not set
[18-Dec-2025 11:22:43 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:22:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:22:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:23:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:23:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:23:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:23:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:23:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:23:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:23:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:23:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:23:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:23:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:23:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:23:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:24:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:24:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:24:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:24:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:24:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:24:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:24:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:24:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:24:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:24:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:25:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:25:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:25:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:25:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:25:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:25:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:25:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:25:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:25:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:25:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:25:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:26:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:26:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:26:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:26:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:26:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:26:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:26:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:26:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:26:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:26:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:26:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:27:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:27:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:27:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:27:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:27:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:27:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:27:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:27:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:27:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:27:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:27:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:27:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:28:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:28:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:28:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:28:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:28:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:28:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:28:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:28:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:28:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:28:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:28:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:28:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:29:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:29:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:29:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:29:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:29:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:29:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:29:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:29:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:29:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:29:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:29:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:30:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:30:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:30:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:30:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:30:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:30:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:30:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:30:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:30:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:30:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:30:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:30:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:31:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:31:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:31:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:31:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:31:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:31:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:31:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:31:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:31:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:31:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:31:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:32:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:32:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:32:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:32:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:32:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:32:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:32:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:32:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:32:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:32:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:32:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:32:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:33:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:33:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:33:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:33:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:33:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:33:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:33:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:33:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:33:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:33:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:34:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:34:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:34:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:34:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:34:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:34:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:34:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:34:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:34:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:34:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:35:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:35:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:35:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:35:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:35:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:35:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:35:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:35:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:35:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:35:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:36:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:36:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:36:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:36:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:36:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:36:36 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:36:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:36:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:36:36 Europe/Berlin] Session role: not set
[18-Dec-2025 11:36:36 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:36:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:36:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:37:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:37:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:37:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:37:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:37:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:37:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:37:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:37:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:37:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:37:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:37:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:37:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:38:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:38:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:38:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:38:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:38:20 Europe/Berlin] Session role: not set
[18-Dec-2025 11:38:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:38:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:38:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:38:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:38:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:38:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:43 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:38:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:38:43 Europe/Berlin] Session role: not set
[18-Dec-2025 11:38:43 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:38:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:38:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:39:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:39:00 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 11:39:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:39:00 Europe/Berlin] Session role: not set
[18-Dec-2025 11:39:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:39:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:39:00 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 10:39:00 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 10:39:00 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 10:39:00 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 10:39:00 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 10:39:00 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 11:39:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:39:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:39:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:39:01 Europe/Berlin] Session role: not set
[18-Dec-2025 11:39:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:39:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:39:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:39:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:39:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:39:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:39:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:39:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:39:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:39:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:39:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:39:57 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[18-Dec-2025 11:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:39:57 Europe/Berlin] Session role: not set
[18-Dec-2025 11:39:57 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:39:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:39:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:39:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:39:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:39:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:39:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:39:57 Europe/Berlin] Session role: not set
[18-Dec-2025 11:39:57 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:39:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:39:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:40:03 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 10:40:03 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:03 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:03 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:03 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:03 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:03 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:40:03 UTC] Session role: not set
[18-Dec-2025 10:40:03 UTC] Session user_role: teacher
[18-Dec-2025 10:40:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:40:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:04 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:04 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:06 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[18-Dec-2025 11:40:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:06 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:40:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:08 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:16 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[18-Dec-2025 11:40:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:16 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:16 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:16 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:17 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:17 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:25 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[18-Dec-2025 11:40:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:25 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:25 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:25 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:25 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:25 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:25 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[18-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:48 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:48 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:40:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:48 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:48 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:50 Europe/Berlin] Teacher Auth Check - Script: videos.php
[18-Dec-2025 11:40:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:50 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:40:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:51 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:51 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:51 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:40:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:40:55 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 10:40:55 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:55 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:55 UTC] isLoggedIn check result: true
[18-Dec-2025 10:40:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:40:55 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:40:55 UTC] Session role: not set
[18-Dec-2025 10:40:55 UTC] Session user_role: teacher
[18-Dec-2025 10:40:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:40:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:40:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:40:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:56 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:40:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:40:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:40:56 Europe/Berlin] Session role: not set
[18-Dec-2025 11:40:56 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:40:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:40:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:41:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:41:05 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:41:05 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:05 UTC] isLoggedIn check result: true
[18-Dec-2025 10:41:05 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:05 UTC] isLoggedIn check result: true
[18-Dec-2025 10:41:05 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:05 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:41:05 UTC] Session role: not set
[18-Dec-2025 10:41:05 UTC] Session user_role: teacher
[18-Dec-2025 10:41:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:41:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:41:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:41:06 Europe/Berlin] Session role: not set
[18-Dec-2025 11:41:06 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:41:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:41:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:41:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:41:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:41:08 Europe/Berlin] Session role: not set
[18-Dec-2025 11:41:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:41:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:41:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:41:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:41:10 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:41:10 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:10 UTC] isLoggedIn check result: true
[18-Dec-2025 10:41:10 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:10 UTC] isLoggedIn check result: true
[18-Dec-2025 10:41:10 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:41:10 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:41:10 UTC] Session role: not set
[18-Dec-2025 10:41:10 UTC] Session user_role: teacher
[18-Dec-2025 10:41:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:41:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:41:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:41:11 Europe/Berlin] Session role: not set
[18-Dec-2025 11:41:11 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:41:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:41:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:41:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:41:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:41:18 Europe/Berlin] Session role: not set
[18-Dec-2025 11:41:18 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:41:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:41:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:41:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:41:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:41:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:41:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:41:48 Europe/Berlin] Session role: not set
[18-Dec-2025 11:41:48 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:41:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:41:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:42:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:42:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:42:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:42:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:42:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:42:19 Europe/Berlin] Session role: not set
[18-Dec-2025 11:42:19 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:42:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:42:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:42:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:42:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:42:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:42:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:42:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:42:50 Europe/Berlin] Session role: not set
[18-Dec-2025 11:42:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:42:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:42:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:43:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:43:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:43:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:43:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:43:26 Europe/Berlin] Session role: not set
[18-Dec-2025 11:43:26 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:43:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:43:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:43:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:43:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:43:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:43:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:43:49 Europe/Berlin] Session role: not set
[18-Dec-2025 11:43:49 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:43:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:43:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:44:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:44:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:44:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:44:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:44:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:44:23 Europe/Berlin] Session role: not set
[18-Dec-2025 11:44:23 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:44:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:44:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:44:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:44:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:44:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:44:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:44:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:44:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:44:49 Europe/Berlin] Session role: not set
[18-Dec-2025 11:44:49 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:44:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:44:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:45:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:45:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:45:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:45:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:45:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:45:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:45:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:45:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:45:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:45:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:45:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:46:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:46:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:46:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:46:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:46:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:46:30 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:46:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:46:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:46:30 Europe/Berlin] Session role: not set
[18-Dec-2025 11:46:30 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:46:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:46:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:47:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:47:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:47:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:47:05 Europe/Berlin] Session role: not set
[18-Dec-2025 11:47:05 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:47:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:47:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:47:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:47:06 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:47:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:47:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:47:08 Europe/Berlin] Session role: not set
[18-Dec-2025 11:47:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:47:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:47:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:47:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:47:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:47:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:47:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:47:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:47:38 Europe/Berlin] Session role: not set
[18-Dec-2025 11:47:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:47:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:47:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:48:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:48:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:48:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:08 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:48:08 Europe/Berlin] Session role: not set
[18-Dec-2025 11:48:08 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:48:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:48:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:48:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:48:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:48:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[18-Dec-2025 11:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:48:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:18 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:48:18 Europe/Berlin] Session role: not set
[18-Dec-2025 11:48:18 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:48:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:48:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:48:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:48 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:48:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:48:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:48:48 Europe/Berlin] Session role: not set
[18-Dec-2025 11:48:48 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:48:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:48:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:49:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:49:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:49:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:49:19 Europe/Berlin] Session role: not set
[18-Dec-2025 11:49:19 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:49:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:49:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:49 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:49:49 Europe/Berlin] Session role: not set
[18-Dec-2025 11:49:49 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:49:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:49:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:49:54 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:49:54 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:54 UTC] isLoggedIn check result: true
[18-Dec-2025 10:49:54 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:54 UTC] isLoggedIn check result: true
[18-Dec-2025 10:49:54 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:49:54 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:49:54 UTC] Session role: not set
[18-Dec-2025 10:49:54 UTC] Session user_role: teacher
[18-Dec-2025 10:49:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:49:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:49:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:49:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:49:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:49:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:49:54 Europe/Berlin] Session role: not set
[18-Dec-2025 11:49:54 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:49:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:49:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:50:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:50:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:50:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:25 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:50:25 Europe/Berlin] Session role: not set
[18-Dec-2025 11:50:25 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:50:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:50:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:50:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:50:38 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:50:38 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:38 UTC] isLoggedIn check result: true
[18-Dec-2025 10:50:38 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:38 UTC] isLoggedIn check result: true
[18-Dec-2025 10:50:38 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:38 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:50:38 UTC] Session role: not set
[18-Dec-2025 10:50:38 UTC] Session user_role: teacher
[18-Dec-2025 10:50:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:50:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:50:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:50:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:38 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:50:38 Europe/Berlin] Session role: not set
[18-Dec-2025 11:50:38 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:50:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:50:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:50:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:50:45 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:50:45 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:45 UTC] isLoggedIn check result: true
[18-Dec-2025 10:50:45 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:45 UTC] isLoggedIn check result: true
[18-Dec-2025 10:50:45 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:50:45 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:50:45 UTC] Session role: not set
[18-Dec-2025 10:50:45 UTC] Session user_role: teacher
[18-Dec-2025 10:50:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:50:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:50:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:50:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:45 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:50:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:50:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:50:45 Europe/Berlin] Session role: not set
[18-Dec-2025 11:50:45 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:50:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:50:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:51:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:51:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:51:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:51:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:51:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:51:16 Europe/Berlin] Session role: not set
[18-Dec-2025 11:51:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:51:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:51:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:51:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:51:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:51:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:51:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:51:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:51:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:51:46 Europe/Berlin] Session role: not set
[18-Dec-2025 11:51:46 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:51:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:51:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:52:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:52:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:52:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:52:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:16 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:52:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:52:16 Europe/Berlin] Session role: not set
[18-Dec-2025 11:52:16 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:52:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:52:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:52:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:52:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:52:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:46 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:52:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:52:46 Europe/Berlin] Session role: not set
[18-Dec-2025 11:52:46 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:52:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:52:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:53:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:53:09 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:53:09 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:09 UTC] isLoggedIn check result: true
[18-Dec-2025 10:53:09 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:09 UTC] isLoggedIn check result: true
[18-Dec-2025 10:53:09 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:09 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:53:09 UTC] Session role: not set
[18-Dec-2025 10:53:09 UTC] Session user_role: teacher
[18-Dec-2025 10:53:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:53:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:53:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:53:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:10 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:10 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:53:10 Europe/Berlin] Session role: not set
[18-Dec-2025 11:53:10 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:53:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:53:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:53:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:53:14 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:53:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:53:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:15 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:15 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:53:15 Europe/Berlin] Session role: not set
[18-Dec-2025 11:53:15 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:53:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:53:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:53:23 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:53:23 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:23 UTC] isLoggedIn check result: true
[18-Dec-2025 10:53:23 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:23 UTC] isLoggedIn check result: true
[18-Dec-2025 10:53:23 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:53:23 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:53:23 UTC] Session role: not set
[18-Dec-2025 10:53:23 UTC] Session user_role: teacher
[18-Dec-2025 10:53:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:53:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:53:23 Europe/Berlin] Session role: not set
[18-Dec-2025 11:53:23 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:53:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:53:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:53:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:53:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:53:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:54 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:53:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:53:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:53:54 Europe/Berlin] Session role: not set
[18-Dec-2025 11:53:54 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:53:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:53:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:54:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:54:46 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:54:46 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:46 UTC] isLoggedIn check result: true
[18-Dec-2025 10:54:46 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:46 UTC] isLoggedIn check result: true
[18-Dec-2025 10:54:46 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:54:46 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:54:46 UTC] Session role: not set
[18-Dec-2025 10:54:46 UTC] Session user_role: teacher
[18-Dec-2025 10:54:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:54:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:54:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:54:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:54:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:54:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:54:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:54:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:54:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:54:47 Europe/Berlin] Session role: not set
[18-Dec-2025 11:54:47 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:54:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:54:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:55:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:55:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:55:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:17 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:55:17 Europe/Berlin] Session role: not set
[18-Dec-2025 11:55:17 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:55:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:55:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:55:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:55:30 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 10:55:30 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:30 UTC] isLoggedIn check result: true
[18-Dec-2025 10:55:30 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:30 UTC] isLoggedIn check result: true
[18-Dec-2025 10:55:30 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:55:30 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:55:30 UTC] Session role: not set
[18-Dec-2025 10:55:30 UTC] Session user_role: teacher
[18-Dec-2025 10:55:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:55:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:55:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:55:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:55:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:31 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:55:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:55:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:55:31 Europe/Berlin] Session role: not set
[18-Dec-2025 11:55:31 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:55:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:55:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:56:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:56:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:56:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:56:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:56:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:56:01 Europe/Berlin] Session role: not set
[18-Dec-2025 11:56:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:56:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:56:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:56:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:56:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:56:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:56:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:56:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:56:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:56:32 Europe/Berlin] Session role: not set
[18-Dec-2025 11:56:32 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:56:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:56:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:57:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:03 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:03 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:57:03 Europe/Berlin] Session role: not set
[18-Dec-2025 11:57:03 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:57:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:57:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:57:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:57:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:57:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:57:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:57:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:57:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:57:32 Europe/Berlin] Session role: not set
[18-Dec-2025 11:57:32 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:57:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:57:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:58:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:58:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:58:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:58:09 Europe/Berlin] Session role: not set
[18-Dec-2025 11:58:09 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:58:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:58:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:58:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:58:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:58:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:58:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:32 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:58:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:58:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:58:32 Europe/Berlin] Session role: not set
[18-Dec-2025 11:58:32 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:58:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:58:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:59:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:59:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:59:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:02 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:02 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:59:02 Europe/Berlin] Session role: not set
[18-Dec-2025 11:59:02 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:59:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:59:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:59:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 10:59:11 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 10:59:11 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:11 UTC] isLoggedIn check result: true
[18-Dec-2025 10:59:11 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:11 UTC] isLoggedIn check result: true
[18-Dec-2025 10:59:11 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 10:59:11 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 10:59:11 UTC] Session role: not set
[18-Dec-2025 10:59:11 UTC] Session user_role: teacher
[18-Dec-2025 10:59:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:59:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:59:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:59:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:11 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:59:11 Europe/Berlin] Session role: not set
[18-Dec-2025 11:59:11 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:59:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:59:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 11:59:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:59:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 11:59:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:42 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:42 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 11:59:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:59:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:59:42 Europe/Berlin] Session role: not set
[18-Dec-2025 11:59:42 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 10:59:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 10:59:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:00:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:00:00 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 11:00:00 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:00 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:00 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:00 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:00 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:00 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:00:00 UTC] Session role: not set
[18-Dec-2025 11:00:00 UTC] Session user_role: teacher
[18-Dec-2025 11:00:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:00:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:00:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:00:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:00 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:00:00 Europe/Berlin] Session role: not set
[18-Dec-2025 12:00:00 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:00:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:00:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:00:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:00:03 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:00:03 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:03 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:03 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:03 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:03 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:03 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:00:03 UTC] Session role: not set
[18-Dec-2025 11:00:03 UTC] Session user_role: teacher
[18-Dec-2025 11:00:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:00:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:00:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:00:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:03 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:03 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:00:03 Europe/Berlin] Session role: not set
[18-Dec-2025 12:00:03 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:00:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:00:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:00:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:00:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:00:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:33 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:33 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:00:33 Europe/Berlin] Session role: not set
[18-Dec-2025 12:00:33 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:00:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:00:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:00:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:00:39 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:00:39 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:39 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:39 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:39 UTC] isLoggedIn check result: true
[18-Dec-2025 11:00:39 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:00:39 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:00:39 UTC] Session role: not set
[18-Dec-2025 11:00:39 UTC] Session user_role: teacher
[18-Dec-2025 11:00:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:00:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:00:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:00:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:39 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:39 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:00:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:00:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:00:39 Europe/Berlin] Session role: not set
[18-Dec-2025 12:00:39 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:00:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:00:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:01:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:01:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:01:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:09 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:01:09 Europe/Berlin] Session role: not set
[18-Dec-2025 12:01:09 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:01:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:01:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:01:11 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 11:01:11 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:11 UTC] isLoggedIn check result: true
[18-Dec-2025 11:01:11 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:11 UTC] isLoggedIn check result: true
[18-Dec-2025 11:01:11 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:01:11 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:01:11 UTC] Session role: not set
[18-Dec-2025 11:01:11 UTC] Session user_role: teacher
[18-Dec-2025 11:01:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:01:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:01:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:01:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:12 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:12 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:01:12 Europe/Berlin] Session role: not set
[18-Dec-2025 12:01:12 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:01:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:01:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:01:19 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 12:01:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:19 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:01:19 Europe/Berlin] Session role: not set
[18-Dec-2025 12:01:19 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:01:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:19 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 11:01:19 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 11:01:19 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 11:01:19 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 11:01:19 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 11:01:19 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 12:01:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:01:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:01:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:01:20 Europe/Berlin] Session role: not set
[18-Dec-2025 12:01:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:01:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:01:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:01:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:01:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:01:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:01:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:01:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:01:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:01:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:01:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:02:20 Europe/Berlin] Session role: not set
[18-Dec-2025 12:02:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:02:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:02:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:02:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:02:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:02:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:02:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:02:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:02:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:02:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:02:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:03:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:03:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:03:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:03:20 Europe/Berlin] Session role: not set
[18-Dec-2025 12:03:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:03:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:03:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:03:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:03:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:03:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:03:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:03:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:03:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:03:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:03:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:03:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:03:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:04:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:04:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:04:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:21 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:04:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:21 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:04:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:04:21 Europe/Berlin] Session role: not set
[18-Dec-2025 12:04:21 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:04:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:04:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:04:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:04:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:04:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:04:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:04:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:04:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:04:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:04:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:04:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:04:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:05:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:05:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:05:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:05:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:23 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:05:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:05:23 Europe/Berlin] Session role: not set
[18-Dec-2025 12:05:23 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:05:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:05:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:05:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:05:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:05:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:05:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:05:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:05:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:05:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:20 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:20 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:20 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:26 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[18-Dec-2025 12:06:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:26 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:26 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:26 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:26 UTC] Analytics: Looking for courses for teacher ID: 44
[18-Dec-2025 11:06:26 UTC] Analytics: No courses found for teacher 44
[18-Dec-2025 11:06:26 UTC] Analytics: Teacher has 2 total courses in database
[18-Dec-2025 11:06:26 UTC] Analytics: Final top_courses count: 0
[18-Dec-2025 11:06:26 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[18-Dec-2025 11:06:26 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[18-Dec-2025 12:06:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:29 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:29 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:29 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:44 UTC] Teacher Auth Check - Script: library_submissions.php
[18-Dec-2025 11:06:44 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:44 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:44 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:44 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:44 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:44 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:44 UTC] Session role: not set
[18-Dec-2025 11:06:44 UTC] Session user_role: teacher
[18-Dec-2025 11:06:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:06:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:44 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:44 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:44 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:47 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:06:47 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:47 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:47 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:47 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:47 UTC] Session role: not set
[18-Dec-2025 11:06:47 UTC] Session user_role: teacher
[18-Dec-2025 11:06:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:06:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:47 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:47 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:47 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:49 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:06:49 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:49 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:49 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:49 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:49 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:49 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:49 UTC] Session role: not set
[18-Dec-2025 11:06:49 UTC] Session user_role: teacher
[18-Dec-2025 11:06:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:06:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:50 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:50 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:50 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:06:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:54 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:06:54 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:54 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:54 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:54 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:54 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:54 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:54 UTC] Session role: not set
[18-Dec-2025 11:06:54 UTC] Session user_role: teacher
[18-Dec-2025 11:06:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:06:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 11:06:55 UTC] Teacher Auth Check - Script: manage-course-materials.php
[18-Dec-2025 11:06:55 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:55 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:55 UTC] isLoggedIn check result: true
[18-Dec-2025 11:06:55 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 11:06:55 UTC] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 11:06:55 UTC] Session role: not set
[18-Dec-2025 11:06:55 UTC] Session user_role: teacher
[18-Dec-2025 11:06:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:06:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:06:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:06:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:55 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:55 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:06:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:06:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:06:55 Europe/Berlin] Session role: not set
[18-Dec-2025 12:06:55 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:06:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:06:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:07:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:07:01 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[18-Dec-2025 12:07:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:07:01 Europe/Berlin] Session role: not set
[18-Dec-2025 12:07:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:07:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:07:01 UTC] isLoggedIn check result: true
[18-Dec-2025 11:07:01 UTC] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:07:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:07:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:07:01 Europe/Berlin] Session role: not set
[18-Dec-2025 12:07:01 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:07:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:07:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 12:07:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:07:04 Europe/Berlin] Teacher Auth Check - Script: profile.php
[18-Dec-2025 12:07:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:04 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:07:04 Europe/Berlin] Session role: not set
[18-Dec-2025 12:07:04 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:07:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 12:07:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 12:07:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[18-Dec-2025 12:07:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:05 Europe/Berlin] isLoggedIn check result: true
[18-Dec-2025 12:07:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766051037
    [last_regeneration] => 1766051037
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766051037
    [session_started_at] => 2025-12-18 10:43:57
    [login_redirect_count] => 0
)

[18-Dec-2025 12:07:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[18-Dec-2025 12:07:05 Europe/Berlin] Session role: not set
[18-Dec-2025 12:07:05 Europe/Berlin] Session user_role: teacher
[18-Dec-2025 11:07:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[18-Dec-2025 11:07:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[18-Dec-2025 15:07:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[18-Dec-2025 15:07:21 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[18-Dec-2025 15:07:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-18 15:07:20
)

[18-Dec-2025 15:07:21 Europe/Berlin] isLoggedIn check result: false
[18-Dec-2025 15:07:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-18 15:07:20
)

[19-Dec-2025 06:43:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:43:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 06:43:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
)

[19-Dec-2025 06:43:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
)

[19-Dec-2025 06:43:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
)

[19-Dec-2025 06:43:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:43:33 Europe/Berlin] Session role: not set
[19-Dec-2025 06:43:33 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:43:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:43:33 UTC] Fetching videos for teacher_id: 44
[19-Dec-2025 05:43:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 05:43:33 UTC] Found 0 videos for teacher 44
[19-Dec-2025 06:43:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:43:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:43:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:43:39 Europe/Berlin] Session role: not set
[19-Dec-2025 06:43:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:43:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:43:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:43:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:43:51 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[19-Dec-2025 06:43:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:43:51 Europe/Berlin] Session role: not set
[19-Dec-2025 06:43:51 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:43:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:43:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:43:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:43:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:43:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:43:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:43:52 Europe/Berlin] Session role: not set
[19-Dec-2025 06:43:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:43:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:43:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:44:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:44:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:44:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:44:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:44:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:44:22 Europe/Berlin] Session role: not set
[19-Dec-2025 06:44:22 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:44:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:44:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:44:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:44:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:44:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:44:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:44:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:44:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:44:52 Europe/Berlin] Session role: not set
[19-Dec-2025 06:44:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:44:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:44:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:45:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:45:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:45:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:45:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:45:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:45:23 Europe/Berlin] Session role: not set
[19-Dec-2025 06:45:23 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:45:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:45:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:45:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:45:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:45:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:45:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:45:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:45:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:45:52 Europe/Berlin] Session role: not set
[19-Dec-2025 06:45:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:45:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:45:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:46:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:46:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:46:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:46:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:46:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:46:22 Europe/Berlin] Session role: not set
[19-Dec-2025 06:46:22 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:46:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:46:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:46:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:46:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:46:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:53 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:46:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:53 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:46:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:46:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:46:53 Europe/Berlin] Session role: not set
[19-Dec-2025 06:46:53 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:46:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:46:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:47:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:47:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:47:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:47:22 Europe/Berlin] Session role: not set
[19-Dec-2025 06:47:22 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:47:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:47:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:47:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:47:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:47:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:47:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:47:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:47:56 Europe/Berlin] Session role: not set
[19-Dec-2025 06:47:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:47:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:47:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:48:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:48:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:48:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:48:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:48:57 Europe/Berlin] Session role: not set
[19-Dec-2025 06:48:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:48:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:48:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:49:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:49:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:49:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:49:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:49:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:49:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:49:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:49:57 Europe/Berlin] Session role: not set
[19-Dec-2025 06:49:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:49:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:49:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:50:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:50:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:50:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:50:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:50:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:50:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:50:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:50:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:50:58 Europe/Berlin] Session role: not set
[19-Dec-2025 06:50:58 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:50:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:50:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:51:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:51:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:51:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:51:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:51:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:51:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:51:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:51:56 Europe/Berlin] Session role: not set
[19-Dec-2025 06:51:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:51:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:51:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:52:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:52:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:52:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:52:56 Europe/Berlin] Session role: not set
[19-Dec-2025 06:52:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:52:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:52:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:52:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:52:58 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[19-Dec-2025 06:52:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:52:58 Europe/Berlin] Session role: not set
[19-Dec-2025 06:52:58 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:52:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:52:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:52:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:52:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:52:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:52:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:52:59 Europe/Berlin] Session role: not set
[19-Dec-2025 06:52:59 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:52:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:52:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 06:53:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:53:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 06:53:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:53:29 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:53:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:53:29 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 06:53:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766123011
    [last_regeneration] => 1766123011
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766123011
    [session_started_at] => 2025-12-19 06:43:33
    [login_redirect_count] => 0
)

[19-Dec-2025 06:53:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:53:29 Europe/Berlin] Session role: not set
[19-Dec-2025 06:53:29 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 05:53:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 05:53:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:48:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:48:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 07:48:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
)

[19-Dec-2025 07:48:10 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
)

[19-Dec-2025 07:48:10 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
)

[19-Dec-2025 07:48:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:48:10 Europe/Berlin] Session role: not set
[19-Dec-2025 07:48:10 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:48:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:48:12 UTC] Fetching videos for teacher_id: 44
[19-Dec-2025 06:48:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 06:48:12 UTC] Found 0 videos for teacher 44
[19-Dec-2025 07:48:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:48:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:48:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:48:13 Europe/Berlin] Session role: not set
[19-Dec-2025 07:48:13 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:48:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:48:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:48:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:48:18 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[19-Dec-2025 07:48:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:18 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:18 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:48:18 Europe/Berlin] Session role: not set
[19-Dec-2025 07:48:18 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:48:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 07:48:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:48:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:48:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:48:19 Europe/Berlin] Session role: not set
[19-Dec-2025 07:48:19 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:48:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:48:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:48:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 06:48:48 UTC] Teacher Auth Check - Script: manage-course-materials.php
[19-Dec-2025 06:48:48 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:48 UTC] isLoggedIn check result: true
[19-Dec-2025 06:48:48 UTC] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:48 UTC] isLoggedIn check result: true
[19-Dec-2025 06:48:48 UTC] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 06:48:48 UTC] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 06:48:48 UTC] Session role: not set
[19-Dec-2025 06:48:48 UTC] Session user_role: teacher
[19-Dec-2025 06:48:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 07:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:49 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:49 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:48:49 Europe/Berlin] Session role: not set
[19-Dec-2025 07:48:49 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:48:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:49:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:11 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[19-Dec-2025 07:49:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:11 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:11 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:11 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:11 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:49:12 UTC] Analytics: Looking for courses for teacher ID: 44
[19-Dec-2025 06:49:12 UTC] Analytics: No courses found for teacher 44
[19-Dec-2025 06:49:12 UTC] Analytics: Teacher has 2 total courses in database
[19-Dec-2025 06:49:12 UTC] Analytics: Final top_courses count: 0
[19-Dec-2025 06:49:12 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[19-Dec-2025 06:49:12 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[19-Dec-2025 07:49:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:49:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:12 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:12 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:12 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:12 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:49:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:49:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:20 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[19-Dec-2025 07:49:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:20 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:20 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:20 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:20 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 07:49:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:49:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:21 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:21 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:49:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:49:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:22 Europe/Berlin] Teacher Auth Check - Script: videos.php
[19-Dec-2025 07:49:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:22 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:22 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 07:49:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:49:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:23 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:23 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:49:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 07:49:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:30 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[19-Dec-2025 07:49:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:30 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 07:49:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 07:49:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 07:49:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:32 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:32 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 07:49:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766126889
    [last_regeneration] => 1766126889
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766126889
    [session_started_at] => 2025-12-19 07:48:09
    [login_redirect_count] => 0
)

[19-Dec-2025 07:49:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 07:49:32 Europe/Berlin] Session role: not set
[19-Dec-2025 07:49:32 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 06:49:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[19-Dec-2025 06:49:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:56:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:56:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 08:56:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
)

[19-Dec-2025 08:56:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:56:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
)

[19-Dec-2025 08:56:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:56:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
)

[19-Dec-2025 08:56:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:56:57 Europe/Berlin] Session role: not set
[19-Dec-2025 08:56:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:56:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:56:58 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 07:56:58 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 07:56:58 UTC] Found 0 videos for teacher 46
[19-Dec-2025 08:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:56:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:56:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:56:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:56:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:56:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:56:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:56:59 Europe/Berlin] Session role: not set
[19-Dec-2025 08:56:59 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:56:59 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:56:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:57:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:57:19 Europe/Berlin] Teacher Auth Check - Script: profile.php
[19-Dec-2025 08:57:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:19 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:57:19 Europe/Berlin] Session role: not set
[19-Dec-2025 08:57:19 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:57:20 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:57:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:57:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:57:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:57:21 Europe/Berlin] Session role: not set
[19-Dec-2025 08:57:21 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:57:21 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:57:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:57:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:57:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:57:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:57:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:57:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:57:51 Europe/Berlin] Session role: not set
[19-Dec-2025 08:57:51 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:57:51 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:57:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:58:21 Europe/Berlin] Teacher Auth Check - Script: profile.php
[19-Dec-2025 08:58:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:58:21 Europe/Berlin] Session role: not set
[19-Dec-2025 08:58:21 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:58:21 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:58:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:58:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:58:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:21 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:58:21 Europe/Berlin] Session role: not set
[19-Dec-2025 08:58:21 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:58:21 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:58:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:58:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 08:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:58:34 Europe/Berlin] Session role: not set
[19-Dec-2025 08:58:34 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:58:34 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:58:34 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 07:58:34 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 07:58:34 UTC] Found 0 videos for teacher 46
[19-Dec-2025 08:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:58:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:58:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:58:34 Europe/Berlin] Session role: not set
[19-Dec-2025 08:58:34 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:58:35 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:58:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:59:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:59:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:05 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:05 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:59:05 Europe/Berlin] Session role: not set
[19-Dec-2025 08:59:05 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:59:05 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:59:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:59:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:59:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:59:36 Europe/Berlin] Session role: not set
[19-Dec-2025 08:59:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:59:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:59:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:59:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[19-Dec-2025 08:59:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:59:36 Europe/Berlin] Session role: not set
[19-Dec-2025 08:59:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:59:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:59:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[19-Dec-2025 08:59:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 08:59:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 08:59:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 08:59:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:59:37 Europe/Berlin] Session role: not set
[19-Dec-2025 08:59:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 07:59:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 07:59:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 08:59:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:45 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[19-Dec-2025 08:59:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:59:44
)

[19-Dec-2025 08:59:45 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 08:59:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:59:44
)

[19-Dec-2025 08:59:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:45 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[19-Dec-2025 08:59:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:59:45
)

[19-Dec-2025 08:59:45 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 08:59:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:59:45
)

[19-Dec-2025 08:59:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:59:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 08:59:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:59:59
)

[19-Dec-2025 08:59:59 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 08:59:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:59:59
)

[19-Dec-2025 09:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:00:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:00:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:00:06 Europe/Berlin] Session role: not set
[19-Dec-2025 09:00:06 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:00:06 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:00:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:00:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:00:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:00:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:00:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:00:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:00:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:00:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:00:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:00:35 Europe/Berlin] Session role: not set
[19-Dec-2025 09:00:35 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:00:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:00:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:00:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:00:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:00:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:00:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:00:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:00:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:00:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:00:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:00:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:01:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:01:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:01:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:01:06 Europe/Berlin] Session role: not set
[19-Dec-2025 09:01:06 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:01:06 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:01:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:01:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:01:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:01:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:01:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:01:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:01:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:01:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:01:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:01:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:01:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:01:35 Europe/Berlin] Session role: not set
[19-Dec-2025 09:01:35 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:01:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:01:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:01:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:01:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:01:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:01:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:01:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:01:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:01:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:01:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:01:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:02:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:02:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:02:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:02:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:02:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:02:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:02:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:02:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:02:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:02:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:02:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:02:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:02:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:02:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:02:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:02:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:02:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:03:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:03:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:03:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:03:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:03:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:03:09 Europe/Berlin] Session role: not set
[19-Dec-2025 09:03:09 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:03:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:03:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:03:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:03:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:03:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:03:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:03:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:03:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:03:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:03:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:03:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:03:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:04:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:04:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:04:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:05 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:05 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:04:05 Europe/Berlin] Session role: not set
[19-Dec-2025 09:04:05 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:04:05 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:04:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:04:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:04:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:04:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:04:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:04:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:04:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:04:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:04:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:04:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:04:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:04:36 Europe/Berlin] Session role: not set
[19-Dec-2025 09:04:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:04:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:04:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:04:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:04:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:04:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:04:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:04:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:04:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:04:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:04:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:04:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:05:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:05:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:05:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:05:06 Europe/Berlin] Session role: not set
[19-Dec-2025 09:05:06 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:05:06 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:05:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:05:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:05:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:05:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:05:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:05:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:05:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:05:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:05:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:05:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:05:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:05:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:05:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:05:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:05:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:05:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:05:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:06:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:06:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:06:04 Europe/Berlin] Session role: not set
[19-Dec-2025 09:06:04 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:06:04 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:06:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:06:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:06:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:06:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:06:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:06:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:06:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:06:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:06:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:06:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:06:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:06:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:07:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:07:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:07:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:07:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:07:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:07:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:07:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:07:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:07:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:07:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:07:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:07:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:07:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:07:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:07:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:08:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:08:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:08:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:08:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:08:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:08:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:08:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:08:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:08:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:08:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:08:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:08:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:08:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:08:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:08:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:08:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:08:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:08:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:08:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:09:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:09:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:09:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:09:25 Europe/Berlin] Session role: not set
[19-Dec-2025 09:09:25 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:09:25 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:09:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:09:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:09:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:09:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:09:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:09:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:09:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:09:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:09:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:09:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:09:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:09:36 Europe/Berlin] Session role: not set
[19-Dec-2025 09:09:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:09:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:09:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:09:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:09:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:09:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:09:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:09:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:09:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:09:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:09:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:10:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:10:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:10:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:10:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:10:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:10:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:10:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:10:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:10:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:10:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:10:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:10:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:10:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:10:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:10:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:10:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:10:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:10:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:10:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:11:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:11:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:11:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:11:04 Europe/Berlin] Session role: not set
[19-Dec-2025 09:11:04 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:11:05 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:11:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:11:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:11:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:11:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:11:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:11:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:11:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:11:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:11:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:11:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:11:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:11:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:11:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:11:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:11:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:11:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:11:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:12:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:12:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:12:03 Europe/Berlin] Session role: not set
[19-Dec-2025 09:12:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:12:04 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:12:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:12:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:12:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:12:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:16 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:16 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:12:16 Europe/Berlin] Session role: not set
[19-Dec-2025 09:12:16 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:12:16 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:12:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:12:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:12:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:12:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:12:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:13:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:13:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:13:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:13:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:13:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:13:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:13:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:13:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:13:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:13:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:13:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:13:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:14:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:14:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:14:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:14:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:04 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:14:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:14:04 Europe/Berlin] Session role: not set
[19-Dec-2025 09:14:04 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:14:04 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:14:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:14:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:14:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:14:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:14:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:14:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:14:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:14:58 Europe/Berlin] Session role: not set
[19-Dec-2025 09:14:58 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:14:58 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:14:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:15:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:15:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:15:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:15:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:15:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:15:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:15:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:15:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:15:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:15:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:15:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:15:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:15:28 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:15:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:15:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:15:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:15:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:36 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:15:36 Europe/Berlin] Session role: not set
[19-Dec-2025 09:15:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:15:37 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:15:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:15:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:15:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:15:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:15:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:15:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:15:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:15:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:15:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:15:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:16:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:16:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:16:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:06 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:16:06 Europe/Berlin] Session role: not set
[19-Dec-2025 09:16:06 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:16:06 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:16:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:16:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:16:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:16:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:16:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:16:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:16:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:16:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:16:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:16:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:16:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:16:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:16:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:16:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:16:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:16:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:16:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:17:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:17:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:17:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:17:03 Europe/Berlin] Session role: not set
[19-Dec-2025 09:17:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:17:04 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:17:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:17:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:17:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:17:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:17:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:17:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:17:07 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:17:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:17:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:17:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:17:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:17:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:17:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:17:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:17:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:17:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:17:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:18:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:18:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:18:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:18:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:07 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:18:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:18:07 Europe/Berlin] Session role: not set
[19-Dec-2025 09:18:07 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:18:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:18:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:18:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:18:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:18:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:18:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:37 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:18:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:18:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:18:37 Europe/Berlin] Session role: not set
[19-Dec-2025 09:18:37 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:18:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:18:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:19:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:19:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:19:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:19:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:19:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
)

[19-Dec-2025 09:19:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:19:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:19:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:19:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 0
[19-Dec-2025 08:19:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:19:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:19:36 Europe/Berlin] PDO connection created successfully for email service
[19-Dec-2025 09:19:37 Europe/Berlin] Email logged successfully: maphosacephas58@gmail.com - 🎓 Course Created: "Computer Literacy" - Awaiting Approval - failed
[19-Dec-2025 09:19:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:19:37 Europe/Berlin] Email logged successfully: maphosacephas58@gmail.com - 🎓 Course Created: "Computer Literacy" - Awaiting Approval - sent
[19-Dec-2025 09:19:37 Europe/Berlin] Email logged successfully: maphosacephas58@gmail.com - 🎓 Course Created: "Computer Literacy" - Awaiting Approval - sent
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:19:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:19:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:19:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:19:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:19:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:19:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:19:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:19:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:19:38 UTC] DB Connection Status: Connected
[19-Dec-2025 08:19:38 UTC] User with ID 46 found
[19-Dec-2025 08:19:38 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[19-Dec-2025 09:19:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:19:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:19:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:19:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:19:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:19:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:19:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:19:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:20:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:20:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:20:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:20:02 Europe/Berlin] Session role: not set
[19-Dec-2025 09:20:02 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:20:02 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:20:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:20:13 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:20:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:20:13 Europe/Berlin] Session role: not set
[19-Dec-2025 09:20:13 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:20:13 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:20:13 UTC] DB Connection Status: Connected
[19-Dec-2025 08:20:13 UTC] User with ID 46 found
[19-Dec-2025 08:20:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[19-Dec-2025 09:20:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:20:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:20:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:20:13 Europe/Berlin] Session role: not set
[19-Dec-2025 09:20:13 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:20:13 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:20:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:20:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:20:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:20:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:20:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:20:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:20:44 Europe/Berlin] Session role: not set
[19-Dec-2025 09:20:44 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:20:45 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:20:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:21:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:08 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:21:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:21:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:21:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:21:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:21:08 UTC] DB Connection Status: Connected
[19-Dec-2025 08:21:08 UTC] User with ID 46 found
[19-Dec-2025 08:21:08 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[19-Dec-2025 09:21:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:21:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:21:09 Europe/Berlin] Session role: not set
[19-Dec-2025 09:21:09 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:21:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:21:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:21:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:21:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 09:21:14
)

[19-Dec-2025 09:21:14 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 09:21:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 09:21:14
)

[19-Dec-2025 09:21:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:14 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:21:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 09:21:14
)

[19-Dec-2025 09:21:14 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 09:21:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 09:21:14
)

[19-Dec-2025 09:21:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:21:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:21:15 Europe/Berlin] Session role: not set
[19-Dec-2025 09:21:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:21:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:21:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:21:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:21:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:21:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:21:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:21:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:21:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:21:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:21:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:21:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:21:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:21:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:21:44 Europe/Berlin] Session role: not set
[19-Dec-2025 09:21:44 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:21:44 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:21:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:09 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:09 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:15 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:26 Europe/Berlin] Teacher Auth Check - Script: manage-content.php
[19-Dec-2025 09:22:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:26 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:26 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[19-Dec-2025 08:22:26 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[19-Dec-2025 08:22:26 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[19-Dec-2025 08:22:26 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[19-Dec-2025 08:22:26 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[19-Dec-2025 08:22:26 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[19-Dec-2025 08:22:26 UTC] Error 2: array_merge(): Expected parameter 2 to be an array, string given in /home/twpurnyc/public_html/includes/id_encryption.php on line 128
[19-Dec-2025 08:22:26 UTC] Error 2: http_build_query() expects parameter 1 to be array, null given in /home/twpurnyc/public_html/includes/id_encryption.php on line 131
[19-Dec-2025 09:22:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:43 Europe/Berlin] Teacher Auth Check - Script: videos.php
[19-Dec-2025 09:22:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:43 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:43 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:43 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:22:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:44 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:44 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:44 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:44 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:44 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:44 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:22:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:52 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[19-Dec-2025 09:22:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:52 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:52 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:22:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:22:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:22:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:22:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:22:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:22:56 Europe/Berlin] Session role: not set
[19-Dec-2025 09:22:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:22:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:22:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:23:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:23:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:23:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:23:15 Europe/Berlin] Session role: not set
[19-Dec-2025 09:23:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:23:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:23:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:23:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:23:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:23:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:23:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:23:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:23:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:23:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:23:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:23:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:23:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:23:45 Europe/Berlin] Session role: not set
[19-Dec-2025 09:23:45 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:23:45 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:23:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:23:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:23:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:23:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:23:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:23:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:23:57 Europe/Berlin] Session role: not set
[19-Dec-2025 09:23:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:23:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:23:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:24:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:24:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:24:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:24:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:24:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:24:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:24:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:24:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:24:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:24:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:24:45 Europe/Berlin] Session role: not set
[19-Dec-2025 09:24:45 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:24:45 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:24:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:24:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:24:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:24:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:58 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:24:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:24:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:24:58 Europe/Berlin] Session role: not set
[19-Dec-2025 09:24:58 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:24:58 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:24:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:25:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:25:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:25:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:25:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:25:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:25:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:25:28 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:25:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 09:25:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:28 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:25:28 Europe/Berlin] Session role: not set
[19-Dec-2025 09:25:28 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:25:28 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:25:28 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 08:25:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 08:25:28 UTC] Found 0 videos for teacher 46
[19-Dec-2025 09:25:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:25:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:25:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:25:30 Europe/Berlin] Session role: not set
[19-Dec-2025 09:25:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:25:30 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:25:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:25:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:25:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:25:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:25:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:25:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:25:57 Europe/Berlin] Session role: not set
[19-Dec-2025 09:25:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:25:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:25:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:26:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:26:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:26:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:26:00 Europe/Berlin] Session role: not set
[19-Dec-2025 09:26:00 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:26:00 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:26:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:26:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:26:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:26:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:27 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:26:27 Europe/Berlin] Session role: not set
[19-Dec-2025 09:26:27 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:26:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:26:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:26:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:26:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:26:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:26:30 Europe/Berlin] Session role: not set
[19-Dec-2025 09:26:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:26:30 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:26:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:26:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:26:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:26:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:26:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:26:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:26:56 Europe/Berlin] Session role: not set
[19-Dec-2025 09:26:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:26:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:26:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:27:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:27:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:00 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:00 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:00 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:27:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:27:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:27:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:26 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:27:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:27:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:27:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:30 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:30 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:27:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 USER ID: NOT SET
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 USER ROLE: NOT SET
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 SESSION STATUS: 1
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 SESSION ID: 
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[19-Dec-2025 09:27:31 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 46
    [video_url] => https://youtu.be/DlJ1Hol0-nw?si=AW37J4rbfV_F32go
    [detected_platform] => youtube
    [video_id_external] => DlJ1Hol0-nw
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/DlJ1Hol0-nw?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:44
    [video_type] => url
    [manual_duration] => 
    [title] => Welcome to Computer Literacy | Getting to know the BASICS of COMPUTERS
    [course_id] => 19
    [description] => What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[19-Dec-2025 09:27:31 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[19-Dec-2025 09:27:31 Europe/Berlin] 📥 REQUEST METHOD: POST
[19-Dec-2025 09:27:31 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[19-Dec-2025 09:27:31 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[19-Dec-2025 09:27:31 Europe/Berlin] 📋 ALL POST DATA:
[19-Dec-2025 09:27:31 Europe/Berlin]   form_type: video_upload
[19-Dec-2025 09:27:31 Europe/Berlin]   teacher_id: 46
[19-Dec-2025 09:27:31 Europe/Berlin]   video_url: https://youtu.be/DlJ1Hol0-nw?si=AW37J4rbfV_F32go
[19-Dec-2025 09:27:31 Europe/Berlin]   detected_platform: youtube
[19-Dec-2025 09:27:31 Europe/Berlin]   video_id_external: DlJ1Hol0-nw
[19-Dec-2025 09:27:31 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/DlJ1Hol0-nw?rel=0&showinfo=0&mo...
[19-Dec-2025 09:27:31 Europe/Berlin]   detected_duration: 0:44
[19-Dec-2025 09:27:31 Europe/Berlin]   video_type: url
[19-Dec-2025 09:27:31 Europe/Berlin]   manual_duration: 
[19-Dec-2025 09:27:31 Europe/Berlin]   title: Welcome to Computer Literacy | Getting to know the BASICS of COMPUTERS
[19-Dec-2025 09:27:31 Europe/Berlin]   course_id: 19
[19-Dec-2025 09:27:31 Europe/Berlin]   description: What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keybo...
[19-Dec-2025 09:27:31 Europe/Berlin]   category_name: Data Science
[19-Dec-2025 09:27:31 Europe/Berlin]   is_published: 1
[19-Dec-2025 09:27:31 Europe/Berlin]   content_types: [quiz]
[19-Dec-2025 09:27:31 Europe/Berlin]   ajax: 1
[19-Dec-2025 09:27:31 Europe/Berlin] 📂 ALL FILES DATA:
[19-Dec-2025 09:27:31 Europe/Berlin]   video:  (0 bytes, error: 4)
[19-Dec-2025 09:27:31 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[19-Dec-2025 09:27:31 Europe/Berlin]   video_type: url
[19-Dec-2025 09:27:31 Europe/Berlin]   video_url: https://youtu.be/DlJ1Hol0-nw?si=AW37J4rbfV_F32go
[19-Dec-2025 09:27:31 Europe/Berlin]   detected_platform: youtube
[19-Dec-2025 09:27:31 Europe/Berlin]   video_id_external: DlJ1Hol0-nw
[19-Dec-2025 09:27:31 Europe/Berlin]   embed_code: HAS_VALUE
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[19-Dec-2025 09:27:31 Europe/Berlin]   video_type: url
[19-Dec-2025 09:27:31 Europe/Berlin]   $_FILES available: YES
[19-Dec-2025 09:27:31 Europe/Berlin]   $_FILES keys: video, thumbnail
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[19-Dec-2025 09:27:31 Europe/Berlin]   platform: youtube
[19-Dec-2025 09:27:31 Europe/Berlin]   video_id_ext: DlJ1Hol0-nw
[19-Dec-2025 09:27:31 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/DlJ1Hol0-nw/maxresdefault.jpg
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[19-Dec-2025 09:27:31 Europe/Berlin]   detected_duration: 0:44
[19-Dec-2025 09:27:31 Europe/Berlin]   manual_duration: 
[19-Dec-2025 09:27:31 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[19-Dec-2025 09:27:31 Europe/Berlin] 🎯 FOUND detected_duration field: 0:44
[19-Dec-2025 09:27:31 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:44
[19-Dec-2025 09:27:31 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[19-Dec-2025 09:27:31 Europe/Berlin]   teacher_id: 14
[19-Dec-2025 09:27:31 Europe/Berlin]   course_id: 19
[19-Dec-2025 09:27:31 Europe/Berlin]   title: Welcome to Computer Literacy | Getting to know the BASICS of COMPUTERS
[19-Dec-2025 09:27:31 Europe/Berlin]   description: What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals
[19-Dec-2025 09:27:31 Europe/Berlin]   video_type: url
[19-Dec-2025 09:27:31 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/DlJ1Hol0-nw/maxresdefault.jpg
[19-Dec-2025 09:27:31 Europe/Berlin]   external_url: https://youtu.be/DlJ1Hol0-nw?si=AW37J4rbfV_F32go
[19-Dec-2025 09:27:31 Europe/Berlin]   platform: youtube
[19-Dec-2025 09:27:31 Europe/Berlin]   video_id_ext: DlJ1Hol0-nw
[19-Dec-2025 09:27:31 Europe/Berlin]   duration: 0:44
[19-Dec-2025 09:27:31 Europe/Berlin]   is_published: 1
[19-Dec-2025 09:27:31 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[19-Dec-2025 09:27:31 Europe/Berlin]   SQL prepared successfully
[19-Dec-2025 09:27:31 Europe/Berlin]   About to execute with bound parameters
[19-Dec-2025 09:27:31 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[19-Dec-2025 09:27:31 Europe/Berlin]   Generated video_id: 45
[19-Dec-2025 09:27:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:40 Europe/Berlin] Teacher Auth Check - Script: videos.php
[19-Dec-2025 09:27:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:40 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:40 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:40 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:40 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:40 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:27:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:27:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:41 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:41 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:41 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:27:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:27:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:27:59 Europe/Berlin] Teacher Auth Check - Script: view_video.php
[19-Dec-2025 09:27:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:27:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:27:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:27:59 Europe/Berlin] Session role: not set
[19-Dec-2025 09:27:59 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:27:59 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:27:59 UTC] No teacher found with ID: 46
[19-Dec-2025 09:28:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:28:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:00 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:00 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:00 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:28:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:28:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:28:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:00 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:00 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:00 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:28:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:28:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:28:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:30 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:30 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:28:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:28:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:28:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:30 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:30 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:30 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:28:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:28:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:52 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[19-Dec-2025 09:28:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:52 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:52 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:28:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:28:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:28:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:28:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:28:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:28:52 Europe/Berlin] Session role: not set
[19-Dec-2025 09:28:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:28:52 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:28:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:29:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:29:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:00 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:00 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:00 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:00 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:29:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:15 Europe/Berlin] Teacher Auth Check - Script: edit_video.php
[19-Dec-2025 09:29:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:15 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:15 UTC] DEBUG - Updating video ID: 45
[19-Dec-2025 08:29:15 UTC] DEBUG - Parameters: title='Welcome to Computer Literacy | Getting to know the BASICS of COMPUTERS', description='What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals', course_id=19, is_published=1, duration='0:44'
[19-Dec-2025 08:29:15 UTC] DEBUG - Video params: video_type='url', video_url='', external_url='https://youtu.be/DlJ1Hol0-nw?si=AW37J4rbfV_F32go', platform='youtube', video_id_external='DlJ1Hol0-nw', embed_code='<iframe width="560" height="315" src="https://www.youtube.com/embed/DlJ1Hol0-nw" frameborder="0" allowfullscreen></iframe>'
[19-Dec-2025 08:29:15 UTC] DEBUG - Thumbnail value: https://img.youtube.com/vi/DlJ1Hol0-nw/maxresdefault.jpg
[19-Dec-2025 09:29:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:29:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:15 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:29:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:29:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:31 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:31 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:31 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:31 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:31 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:31 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:29:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:29:31 UTC] Teacher Auth Check - Script: manage-course-materials.php
[19-Dec-2025 08:29:31 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:29:31 UTC] isLoggedIn check result: true
[19-Dec-2025 08:29:31 UTC] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:29:31 UTC] isLoggedIn check result: true
[19-Dec-2025 08:29:31 UTC] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:29:31 UTC] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:29:31 UTC] Session role: not set
[19-Dec-2025 08:29:31 UTC] Session user_role: teacher
[19-Dec-2025 08:29:31 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:29:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:29:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:32 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:32 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:32 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:32 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:32 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:29:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:29:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:29:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:29:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:29:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:29:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:29:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:29:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:29:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:30:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:30:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:30:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:01 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:01 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:30:01 Europe/Berlin] Session role: not set
[19-Dec-2025 09:30:01 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:30:01 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:30:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:30:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:30:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:30:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:30:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:30:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:30:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:30:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:30:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:30:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:30:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:30:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:30:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:30:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:30:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:30:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:30:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:31:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:31:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:31:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:31:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:31:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:31:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:31:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:31:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:31:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:31:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:31:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:31:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:31:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:31:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:31:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:31:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:31:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:31:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:31:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:32:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:32:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:32:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:32:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:32:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:32:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:32:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:32:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:32:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:32:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:32:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:32:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:32:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:32:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:32:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:32:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:32:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:32:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:32:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:33:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:33:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:33:09 Europe/Berlin] Session role: not set
[19-Dec-2025 09:33:09 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:33:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:33:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:33:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:33:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:38 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:33:38 Europe/Berlin] Session role: not set
[19-Dec-2025 09:33:38 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:33:38 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:33:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:33:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:40 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:40 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
    [success_message] => Material uploaded successfully!
)

[19-Dec-2025 09:33:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:33:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:33:41 Europe/Berlin] Session role: not set
[19-Dec-2025 09:33:41 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:33:41 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:33:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:33:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 08:33:51 UTC] Teacher Auth Check - Script: manage-course-materials.php
[19-Dec-2025 08:33:51 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:33:51 UTC] isLoggedIn check result: true
[19-Dec-2025 08:33:51 UTC] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:33:51 UTC] isLoggedIn check result: true
[19-Dec-2025 08:33:51 UTC] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 08:33:51 UTC] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 08:33:51 UTC] Session role: not set
[19-Dec-2025 08:33:51 UTC] Session user_role: teacher
[19-Dec-2025 08:33:51 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:33:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:33:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:33:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:51 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:33:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:33:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:33:51 Europe/Berlin] Session role: not set
[19-Dec-2025 09:33:51 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:33:51 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:33:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:34:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:34:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:34:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:23 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:34:23 Europe/Berlin] Session role: not set
[19-Dec-2025 09:34:23 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:34:23 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:34:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:34:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:34:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:34:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:34:46 Europe/Berlin] Session role: not set
[19-Dec-2025 09:34:46 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:34:46 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:34:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:34:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:34:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:34:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:52 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:34:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:34:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:34:52 Europe/Berlin] Session role: not set
[19-Dec-2025 09:34:52 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:34:53 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:34:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:35:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:35:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:35:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:35:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:35:14 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:35:14 Europe/Berlin] Session role: not set
[19-Dec-2025 09:35:14 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:35:14 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:35:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:35:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:35:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:22 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:35:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 08:56:08
    [created_at] => 1766131016
    [last_regeneration] => 1766131016
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766131016
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[19-Dec-2025 09:35:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:35:22 Europe/Berlin] Session role: not set
[19-Dec-2025 09:35:22 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:35:23 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:35:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:35:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:35:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:35:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766133326
    [last_regeneration] => 1766133326
    [session_started_at] => 2025-12-19 09:35:53
)

[19-Dec-2025 09:35:53 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 09:35:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766133326
    [last_regeneration] => 1766133326
    [session_started_at] => 2025-12-19 09:35:53
)

[19-Dec-2025 09:45:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:45:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:45:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766133667
    [last_regeneration] => 1766133667
    [session_started_at] => 2025-12-19 09:41:21
)

[19-Dec-2025 09:45:16 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 09:45:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766133667
    [last_regeneration] => 1766133667
    [session_started_at] => 2025-12-19 09:41:21
)

[19-Dec-2025 09:50:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:50:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:50:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:50:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:50:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:50:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:50:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:50:43 Europe/Berlin] hasPermission check - Required: teacher, User: student
[19-Dec-2025 09:50:43 Europe/Berlin] Session role: not set
[19-Dec-2025 09:50:43 Europe/Berlin] Session user_role: student
[19-Dec-2025 09:50:43 Europe/Berlin] Teacher Auth - Access denied for user role: student
[19-Dec-2025 09:51:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:51:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:51:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:51:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:51:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:51:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:51:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
)

[19-Dec-2025 09:51:25 Europe/Berlin] hasPermission check - Required: teacher, User: student
[19-Dec-2025 09:51:25 Europe/Berlin] Session role: not set
[19-Dec-2025 09:51:25 Europe/Berlin] Session user_role: student
[19-Dec-2025 09:51:25 Europe/Berlin] Teacher Auth - Access denied for user role: student
[19-Dec-2025 09:55:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:55:49 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:55:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
    [cart] => Array
        (
        )

    [payment_discount_percent] => 0
    [payment_promo_code] => 
    [enrolled_courses] => Array
        (
            [0] => Array
                (
                    [course_id] => 19
                    [title] => Computer Literacy
                    [price] => 1200.00
                    [thumbnail] => ../uploads/thumbnails/course_1766132376_69450a98f4219.PNG
                    [description] => What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals
                    [first_name] => Cephas
                    [last_name] => Maphosa
                    [category_name] => Data Science
                )

        )

    [failed_courses] => Array
        (
        )

    [cart_payment_total] => 1200
)

[19-Dec-2025 09:55:49 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:55:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
    [cart] => Array
        (
        )

    [payment_discount_percent] => 0
    [payment_promo_code] => 
    [enrolled_courses] => Array
        (
            [0] => Array
                (
                    [course_id] => 19
                    [title] => Computer Literacy
                    [price] => 1200.00
                    [thumbnail] => ../uploads/thumbnails/course_1766132376_69450a98f4219.PNG
                    [description] => What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals
                    [first_name] => Cephas
                    [last_name] => Maphosa
                    [category_name] => Data Science
                )

        )

    [failed_courses] => Array
        (
        )

    [cart_payment_total] => 1200
)

[19-Dec-2025 09:55:49 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:55:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134242
    [last_regeneration] => 1766134242
    [session_started_at] => 2025-12-19 09:41:21
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134242
    [cart] => Array
        (
        )

    [payment_discount_percent] => 0
    [payment_promo_code] => 
    [enrolled_courses] => Array
        (
            [0] => Array
                (
                    [course_id] => 19
                    [title] => Computer Literacy
                    [price] => 1200.00
                    [thumbnail] => ../uploads/thumbnails/course_1766132376_69450a98f4219.PNG
                    [description] => What Computer Literacy Includes

Basic Computer Skills

Turning a computer on/off

Using keyboard, mouse, and touchpad

Managing files and folders

Operating Systems

Navigating Windows/macOS/Linux

Installing and updating software

Basic troubleshooting

Office & Productivity Tools

Word processing (e.g., MS Word)

Spreadsheets (e.g., Excel)

Presentations (e.g., PowerPoint)

Internet & Email Use

Web browsing and search skills

Creating and managing email

Online communication etiquette

Digital Safety & Ethics

Password security

Identifying scams and fake news

Responsible online behavior

Basic Hardware Knowledge

Understanding parts (CPU, RAM, storage)

Connecting peripherals (printer, scanner)

Intro to Online Services

Cloud storage

Video conferencing

Online forms and portals
                    [first_name] => Cephas
                    [last_name] => Maphosa
                    [category_name] => Data Science
                )

        )

    [failed_courses] => Array
        (
        )

    [cart_payment_total] => 1200
)

[19-Dec-2025 09:55:49 Europe/Berlin] hasPermission check - Required: teacher, User: student
[19-Dec-2025 09:55:49 Europe/Berlin] Session role: not set
[19-Dec-2025 09:55:49 Europe/Berlin] Session user_role: student
[19-Dec-2025 09:55:49 Europe/Berlin] Teacher Auth - Access denied for user role: student
[19-Dec-2025 09:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:55:55 Europe/Berlin] Teacher Auth Check - Script: courses.php
[19-Dec-2025 09:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 09:55:55
)

[19-Dec-2025 09:55:55 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 09:55:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 09:55:55
)

[19-Dec-2025 09:56:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:56:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 09:56:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
)

[19-Dec-2025 09:56:28 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
)

[19-Dec-2025 09:56:28 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
)

[19-Dec-2025 09:56:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:56:28 Europe/Berlin] Session role: not set
[19-Dec-2025 09:56:28 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:56:28 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:56:28 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 08:56:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 08:56:28 UTC] Found 0 videos for teacher 46
[19-Dec-2025 09:56:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:56:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:56:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:29 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:29 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:56:29 Europe/Berlin] Session role: not set
[19-Dec-2025 09:56:29 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:56:29 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:56:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:56:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:56:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:56:59 Europe/Berlin] Session role: not set
[19-Dec-2025 09:56:59 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:56:59 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:56:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:57:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:57:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 09:57:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:08 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:57:08 Europe/Berlin] Session role: not set
[19-Dec-2025 09:57:08 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:57:08 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:57:08 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 08:57:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 08:57:08 UTC] Found 0 videos for teacher 46
[19-Dec-2025 09:57:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:57:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:57:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:09 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:57:09 Europe/Berlin] Session role: not set
[19-Dec-2025 09:57:09 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:57:09 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:57:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:57:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:57:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:57:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:39 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:57:39 Europe/Berlin] Session role: not set
[19-Dec-2025 09:57:39 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:57:39 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:57:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:57:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:57:56 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 09:57:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:57:56 Europe/Berlin] Session role: not set
[19-Dec-2025 09:57:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:57:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:57:56 UTC] Fetching videos for teacher_id: 46
[19-Dec-2025 08:57:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[19-Dec-2025 08:57:56 UTC] Found 0 videos for teacher 46
[19-Dec-2025 09:57:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:57:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:57:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:57:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:57:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:57:56 Europe/Berlin] Session role: not set
[19-Dec-2025 09:57:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:57:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:57:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:58:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:58:02 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[19-Dec-2025 09:58:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:58:02 Europe/Berlin] Session role: not set
[19-Dec-2025 09:58:02 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:58:02 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:58:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:58:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:58:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:58:03 Europe/Berlin] Session role: not set
[19-Dec-2025 09:58:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:58:03 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:58:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:58:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:58:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:58:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:58:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:58:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:58:33 Europe/Berlin] Session role: not set
[19-Dec-2025 09:58:33 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:58:33 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:58:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:59:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:59:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:59:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:59:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:59:03 Europe/Berlin] Session role: not set
[19-Dec-2025 09:59:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:59:03 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:59:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 09:59:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 09:59:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 09:59:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:59:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 09:59:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:59:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 09:59:33 Europe/Berlin] Session role: not set
[19-Dec-2025 09:59:33 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 08:59:33 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 08:59:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:00:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:00:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:00:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:00:03 Europe/Berlin] Session role: not set
[19-Dec-2025 10:00:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:00:03 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:00:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:00:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:00:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:00:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:00:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:00:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:00:33 Europe/Berlin] Session role: not set
[19-Dec-2025 10:00:33 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:00:33 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:00:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:01:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:01:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:01:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:01:03 Europe/Berlin] Session role: not set
[19-Dec-2025 10:01:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:01:03 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:01:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:01:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:01:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:01:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:33 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:01:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:01:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:01:33 Europe/Berlin] Session role: not set
[19-Dec-2025 10:01:33 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:01:33 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:01:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:03 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:03 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:03 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:03 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:12 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[19-Dec-2025 10:02:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:12 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:12 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:12 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:12 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:13 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 10:02:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:14 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:14 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:14 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:18 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[19-Dec-2025 10:02:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:18 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:18 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:18 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:18 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:18 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:18 UTC] isLoggedIn check result: true
[19-Dec-2025 09:02:18 UTC] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:19 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:19 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:19 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:19 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:25 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[19-Dec-2025 10:02:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:25 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:25 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:25 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:25 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:25 UTC] isLoggedIn check result: true
[19-Dec-2025 09:02:25 UTC] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:47 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:47 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:47 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:47 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:47 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:02:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:02:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:02:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:59 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:02:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:02:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:02:59 Europe/Berlin] Session role: not set
[19-Dec-2025 10:02:59 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:02:59 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:02:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:03:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:03:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:03:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:03:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:03:41 Europe/Berlin] Session role: not set
[19-Dec-2025 10:03:41 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:03:41 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:03:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:03:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:03:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:03:41 Europe/Berlin] Session role: not set
[19-Dec-2025 10:03:41 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:03:41 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:03:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:03:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:03:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:03:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:03:46 Europe/Berlin] Session role: not set
[19-Dec-2025 10:03:46 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:03:46 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:03:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:03:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:03:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:03:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:03:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:03:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:03:56 Europe/Berlin] Session role: not set
[19-Dec-2025 10:03:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:03:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:03:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:04:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:04:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:04:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:15 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:04:15 Europe/Berlin] Session role: not set
[19-Dec-2025 10:04:15 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:04:15 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:04:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:04:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:04:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:04:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:04:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:04:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:04:27 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:04:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:04:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:04:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:04:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:44 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:04:44 Europe/Berlin] Session role: not set
[19-Dec-2025 10:04:44 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:04:45 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:04:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:04:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:04:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:04:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:04:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:04:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:04:56 Europe/Berlin] Session role: not set
[19-Dec-2025 10:04:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:04:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:04:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:05:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:05:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:05:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:14 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:05:14 Europe/Berlin] Session role: not set
[19-Dec-2025 10:05:14 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:05:14 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:05:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:05:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:05:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:05:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:05:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:05:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:05:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:05:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:05:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:05:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:05:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:45 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:05:45 Europe/Berlin] Session role: not set
[19-Dec-2025 10:05:45 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:05:45 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:05:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:05:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:05:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:05:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:05:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:05:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:05:56 Europe/Berlin] Session role: not set
[19-Dec-2025 10:05:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:05:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:05:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:06:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:06:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:06:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:06:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:06:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:06:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:06:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:06:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:06:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:46 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:06:46 Europe/Berlin] Session role: not set
[19-Dec-2025 10:06:46 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:06:46 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:06:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:06:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:06:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:06:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:06:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:06:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:06:56 Europe/Berlin] Session role: not set
[19-Dec-2025 10:06:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:06:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:06:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:07:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:07:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:07:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:07:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:07:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:07:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:07:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:07:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:07:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:07:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:07:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:57 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:07:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:07:57 Europe/Berlin] Session role: not set
[19-Dec-2025 10:07:57 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:07:57 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:07:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:08:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:08:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:08:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:08:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:08:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:08:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:08:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:08:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:08:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:08:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:08:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:56 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:08:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:08:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:08:56 Europe/Berlin] Session role: not set
[19-Dec-2025 10:08:56 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:08:56 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:08:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:09:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:09:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:09:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:26 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:09:26 Europe/Berlin] Session role: not set
[19-Dec-2025 10:09:26 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:09:26 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:09:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:09:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:09:35 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[19-Dec-2025 10:09:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:35 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:09:35 Europe/Berlin] Session role: not set
[19-Dec-2025 10:09:35 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:09:35 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:09:35 UTC] isLoggedIn check result: true
[19-Dec-2025 09:09:35 UTC] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:09:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:09:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:09:36 Europe/Berlin] Session role: not set
[19-Dec-2025 10:09:36 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:09:36 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:09:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:09:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:09:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[19-Dec-2025 10:09:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:42 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:42 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:09:42 Europe/Berlin] Session role: not set
[19-Dec-2025 10:09:42 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:09:42 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:09:42 UTC] isLoggedIn check result: true
[19-Dec-2025 09:09:42 UTC] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:09:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[19-Dec-2025 10:09:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:09:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:09:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:43 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:09:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:09:43 Europe/Berlin] Session role: not set
[19-Dec-2025 10:09:43 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:09:43 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:09:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:10:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:10:01 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[19-Dec-2025 10:10:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:01 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:01 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:10:01 Europe/Berlin] Session role: not set
[19-Dec-2025 10:10:01 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:10:01 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:10:01 UTC] isLoggedIn check result: true
[19-Dec-2025 09:10:01 UTC] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 09:10:02 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[19-Dec-2025 10:10:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:10:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:10:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:10:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:02 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:10:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766134587
    [last_regeneration] => 1766134587
    [user_id] => 46
    [username] => Maphosa
    [email] => maphosacephas58@gmail.com
    [first_name] => Cephas
    [last_name] => Maphosa
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766134587
    [session_started_at] => 2025-12-19 09:56:28
    [login_redirect_count] => 0
)

[19-Dec-2025 10:10:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[19-Dec-2025 10:10:02 Europe/Berlin] Session role: not set
[19-Dec-2025 10:10:02 Europe/Berlin] Session user_role: teacher
[19-Dec-2025 09:10:02 UTC] 🔔 Navbar Debug - User ID: 46, Count: 1
[19-Dec-2025 09:10:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[19-Dec-2025 10:21:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:21:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[19-Dec-2025 10:21:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766135438
    [last_regeneration] => 1766135438
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766135438
    [session_started_at] => 2025-12-19 10:10:39
    [cart] => Array
        (
        )

    [error] => Invalid or corrupted course ID
)

[19-Dec-2025 10:21:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766135438
    [last_regeneration] => 1766135438
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766135438
    [session_started_at] => 2025-12-19 10:10:39
    [cart] => Array
        (
        )

    [error] => Invalid or corrupted course ID
)

[19-Dec-2025 10:21:36 Europe/Berlin] isLoggedIn check result: true
[19-Dec-2025 10:21:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766135438
    [last_regeneration] => 1766135438
    [user_id] => 47
    [username] => Maphs
    [email] => mrmaphosa1987@gmail.com
    [first_name] => Cephas
    [last_name] => Maphs
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766135438
    [session_started_at] => 2025-12-19 10:10:39
    [cart] => Array
        (
        )

    [error] => Invalid or corrupted course ID
)

[19-Dec-2025 10:21:36 Europe/Berlin] hasPermission check - Required: teacher, User: student
[19-Dec-2025 10:21:36 Europe/Berlin] Session role: not set
[19-Dec-2025 10:21:36 Europe/Berlin] Session user_role: student
[19-Dec-2025 10:21:36 Europe/Berlin] Teacher Auth - Access denied for user role: student
[19-Dec-2025 10:21:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:21:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:21:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[19-Dec-2025 10:21:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[19-Dec-2025 10:21:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-19 10:21:49
)

[19-Dec-2025 10:21:49 Europe/Berlin] isLoggedIn check result: false
[19-Dec-2025 10:21:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-19 10:21:49
)

[20-Dec-2025 03:40:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Dec-2025 03:40:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Dec-2025 03:40:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-20 03:40:15
)

[20-Dec-2025 03:40:15 Europe/Berlin] isLoggedIn check result: false
[20-Dec-2025 03:40:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-20 03:40:15
)

[20-Dec-2025 22:41:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Dec-2025 22:41:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Dec-2025 22:41:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-20 22:41:57
)

[20-Dec-2025 22:41:57 Europe/Berlin] isLoggedIn check result: false
[20-Dec-2025 22:41:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-20 22:41:57
)

[21-Dec-2025 00:08:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 00:08:34 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Dec-2025 00:08:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-21 00:08:34
)

[21-Dec-2025 00:08:34 Europe/Berlin] isLoggedIn check result: false
[21-Dec-2025 00:08:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-21 00:08:34
)

[21-Dec-2025 10:16:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Dec-2025 10:16:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
)

[21-Dec-2025 10:16:14 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
)

[21-Dec-2025 10:16:14 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
)

[21-Dec-2025 10:16:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:14 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:14 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:14 UTC] Fetching videos for teacher_id: 44
[21-Dec-2025 09:16:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[21-Dec-2025 09:16:14 UTC] Found 0 videos for teacher 44
[21-Dec-2025 10:16:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:16 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:16 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:16 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:16 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:16:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:18 Europe/Berlin] Teacher Auth Check - Script: courses.php
[21-Dec-2025 10:16:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:18 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:18 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:18 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:18 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:18 UTC] DB Connection Status: Connected
[21-Dec-2025 09:16:18 UTC] User with ID 44 found
[21-Dec-2025 09:16:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:16:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:19 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:19 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:19 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:19 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:16:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:20 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[21-Dec-2025 10:16:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:20 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:20 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:20 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:20 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:20 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:16:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:21 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:21 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:21 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:21 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:16:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:24 Europe/Berlin] Teacher Auth Check - Script: courses.php
[21-Dec-2025 10:16:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:24 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:24 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:24 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:24 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:24 UTC] DB Connection Status: Connected
[21-Dec-2025 09:16:24 UTC] User with ID 44 found
[21-Dec-2025 09:16:25 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:16:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:25 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:25 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:25 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:25 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:16:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:28 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[21-Dec-2025 10:16:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:28 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:28 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:28 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:28 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:16:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:29 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:29 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:29 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:29 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:16:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:16:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:59 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:59 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:16:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:16:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:16:59 Europe/Berlin] Session role: not set
[21-Dec-2025 10:16:59 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:16:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:16:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:17:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:17:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:17:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:17:29 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:17:29 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
)

[21-Dec-2025 10:17:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:17:29 Europe/Berlin] Session role: not set
[21-Dec-2025 10:17:29 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:17:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 2
[21-Dec-2025 09:17:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:17:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:17:32 Europe/Berlin] PDO connection created successfully for email service
[21-Dec-2025 10:17:32 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "data analytics" - Awaiting Approval - failed
[21-Dec-2025 10:17:33 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "data analytics" - Awaiting Approval - sent
[21-Dec-2025 10:17:33 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "data analytics" - Awaiting Approval - sent
[21-Dec-2025 10:17:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:17:33 Europe/Berlin] Teacher Auth Check - Script: courses.php
[21-Dec-2025 10:17:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:33 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:33 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:17:33 Europe/Berlin] Session role: not set
[21-Dec-2025 10:17:33 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:17:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:17:33 UTC] DB Connection Status: Connected
[21-Dec-2025 09:17:33 UTC] User with ID 44 found
[21-Dec-2025 09:17:33 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:17:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:17:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:17:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:34 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:34 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:17:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766308573
    [last_regeneration] => 1766308573
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766308573
    [session_started_at] => 2025-12-21 10:16:14
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[21-Dec-2025 10:17:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:17:34 Europe/Berlin] Session role: not set
[21-Dec-2025 10:17:34 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:17:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:17:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:56:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:56:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Dec-2025 10:56:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
)

[21-Dec-2025 10:56:54 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
)

[21-Dec-2025 10:56:54 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
)

[21-Dec-2025 10:56:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:56:54 Europe/Berlin] Session role: not set
[21-Dec-2025 10:56:54 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:56:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:56:56 UTC] Fetching videos for teacher_id: 44
[21-Dec-2025 09:56:56 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[21-Dec-2025 09:56:56 UTC] Found 0 videos for teacher 44
[21-Dec-2025 10:56:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:56:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:56:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:56 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:56 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:56:56 Europe/Berlin] Session role: not set
[21-Dec-2025 10:56:56 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:56:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:56:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:56:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:56:59 Europe/Berlin] Teacher Auth Check - Script: courses.php
[21-Dec-2025 10:56:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:59 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:59 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:56:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:56:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:56:59 Europe/Berlin] Session role: not set
[21-Dec-2025 10:56:59 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:56:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:56:59 UTC] DB Connection Status: Connected
[21-Dec-2025 09:56:59 UTC] User with ID 44 found
[21-Dec-2025 09:56:59 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[21-Dec-2025 10:57:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:57:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:57:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:01 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:01 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:57:01 Europe/Berlin] Session role: not set
[21-Dec-2025 10:57:01 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:57:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:57:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:57:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:57:09 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[21-Dec-2025 10:57:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:09 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:09 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:57:09 Europe/Berlin] Session role: not set
[21-Dec-2025 10:57:09 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:57:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 10:57:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:57:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:57:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:11 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:11 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:57:11 Europe/Berlin] Session role: not set
[21-Dec-2025 10:57:11 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:57:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:57:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:57:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:57:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:41 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:41 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:57:41 Europe/Berlin] Session role: not set
[21-Dec-2025 10:57:41 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:57:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:57:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 USER ID: NOT SET
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 USER ROLE: NOT SET
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 SESSION STATUS: 1
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 SESSION ID: 
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[21-Dec-2025 10:58:02 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:55
    [video_type] => file
    [manual_duration] => 
    [title] => Web development
    [course_id] => 20
    [description] => welcome
    [category_name] => 
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => 01.png
            [type] => image/png
            [tmp_name] => /tmp/phpbSz4WD
            [error] => 0
            [size] => 87045
        )

    [video] => Array
        (
            [name] => haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpby5Cmt
            [error] => 0
            [size] => 5847406
        )

)

[21-Dec-2025 10:58:02 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[21-Dec-2025 10:58:02 Europe/Berlin] 📥 REQUEST METHOD: POST
[21-Dec-2025 10:58:02 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[21-Dec-2025 10:58:02 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[21-Dec-2025 10:58:02 Europe/Berlin] 📋 ALL POST DATA:
[21-Dec-2025 10:58:02 Europe/Berlin]   form_type: video_upload
[21-Dec-2025 10:58:02 Europe/Berlin]   teacher_id: 44
[21-Dec-2025 10:58:02 Europe/Berlin]   video_url: 
[21-Dec-2025 10:58:02 Europe/Berlin]   detected_platform: 
[21-Dec-2025 10:58:02 Europe/Berlin]   video_id_external: 
[21-Dec-2025 10:58:02 Europe/Berlin]   embed_code: 
[21-Dec-2025 10:58:02 Europe/Berlin]   detected_duration: 0:55
[21-Dec-2025 10:58:02 Europe/Berlin]   video_type: file
[21-Dec-2025 10:58:02 Europe/Berlin]   manual_duration: 
[21-Dec-2025 10:58:02 Europe/Berlin]   title: Web development
[21-Dec-2025 10:58:02 Europe/Berlin]   course_id: 20
[21-Dec-2025 10:58:02 Europe/Berlin]   description: welcome
[21-Dec-2025 10:58:02 Europe/Berlin]   category_name: 
[21-Dec-2025 10:58:02 Europe/Berlin]   is_published: 1
[21-Dec-2025 10:58:02 Europe/Berlin]   content_types: [quiz]
[21-Dec-2025 10:58:02 Europe/Berlin]   ajax: 1
[21-Dec-2025 10:58:02 Europe/Berlin] 📂 ALL FILES DATA:
[21-Dec-2025 10:58:02 Europe/Berlin]   thumbnail: 01.png (87045 bytes, error: 0)
[21-Dec-2025 10:58:02 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[21-Dec-2025 10:58:02 Europe/Berlin]   video_type: file
[21-Dec-2025 10:58:02 Europe/Berlin]   video_url: 
[21-Dec-2025 10:58:02 Europe/Berlin]   detected_platform: 
[21-Dec-2025 10:58:02 Europe/Berlin]   video_id_external: 
[21-Dec-2025 10:58:02 Europe/Berlin]   embed_code: EMPTY
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[21-Dec-2025 10:58:02 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[21-Dec-2025 10:58:02 Europe/Berlin] 📥 REQUEST METHOD: POST
[21-Dec-2025 10:58:02 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[21-Dec-2025 10:58:02 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[21-Dec-2025 10:58:02 Europe/Berlin] 📋 ALL POST DATA:
[21-Dec-2025 10:58:02 Europe/Berlin]   form_type: video_upload
[21-Dec-2025 10:58:02 Europe/Berlin]   teacher_id: 44
[21-Dec-2025 10:58:02 Europe/Berlin]   video_url: 
[21-Dec-2025 10:58:02 Europe/Berlin]   detected_platform: 
[21-Dec-2025 10:58:02 Europe/Berlin]   video_id_external: 
[21-Dec-2025 10:58:02 Europe/Berlin]   embed_code: 
[21-Dec-2025 10:58:02 Europe/Berlin]   detected_duration: 0:55
[21-Dec-2025 10:58:02 Europe/Berlin]   video_type: file
[21-Dec-2025 10:58:02 Europe/Berlin]   manual_duration: 
[21-Dec-2025 10:58:02 Europe/Berlin]   title: Web development
[21-Dec-2025 10:58:02 Europe/Berlin]   course_id: 20
[21-Dec-2025 10:58:02 Europe/Berlin]   description: welcome
[21-Dec-2025 10:58:02 Europe/Berlin]   category_name: 
[21-Dec-2025 10:58:02 Europe/Berlin]   is_published: 1
[21-Dec-2025 10:58:02 Europe/Berlin]   content_types: [quiz]
[21-Dec-2025 10:58:02 Europe/Berlin]   ajax: 1
[21-Dec-2025 10:58:02 Europe/Berlin] 📂 ALL FILES DATA:
[21-Dec-2025 10:58:02 Europe/Berlin]   thumbnail: 01.png (87045 bytes, error: 0)
[21-Dec-2025 10:58:02 Europe/Berlin]   video: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4 (5847406 bytes, error: 0)
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[21-Dec-2025 10:58:02 Europe/Berlin]   video exists: YES
[21-Dec-2025 10:58:02 Europe/Berlin]   videoFile exists (old): NO
[21-Dec-2025 10:58:02 Europe/Berlin]   video name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   video size: 5847406
[21-Dec-2025 10:58:02 Europe/Berlin]   video error: 0
[21-Dec-2025 10:58:02 Europe/Berlin]   video tmp_name: /tmp/phpby5Cmt
[21-Dec-2025 10:58:02 Europe/Berlin]   Error meaning: No error
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[21-Dec-2025 10:58:02 Europe/Berlin]   video_type: file
[21-Dec-2025 10:58:02 Europe/Berlin]   $_FILES available: YES
[21-Dec-2025 10:58:02 Europe/Berlin]   $_FILES keys: thumbnail, video
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[21-Dec-2025 10:58:02 Europe/Berlin] 📂 Video file details:
[21-Dec-2025 10:58:02 Europe/Berlin]   name: haiwiejhehahhahabsbhsh_7253783103636851974 (1).mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   type: video/mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   size: 5847406
[21-Dec-2025 10:58:02 Europe/Berlin]   error: 0
[21-Dec-2025 10:58:02 Europe/Berlin]   tmp_name: /tmp/phpby5Cmt
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 File type validation:
[21-Dec-2025 10:58:02 Europe/Berlin]   Detected type: video/mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[21-Dec-2025 10:58:02 Europe/Berlin] ✅ File type validation passed
[21-Dec-2025 10:58:02 Europe/Berlin] 📁 File paths:
[21-Dec-2025 10:58:02 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[21-Dec-2025 10:58:02 Europe/Berlin]   Video filename: video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   Directory writable: YES
[21-Dec-2025 10:58:02 Europe/Berlin] 📸 Processing thumbnail upload
[21-Dec-2025 10:58:02 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_6947c4aa893fb_1766311082.png
[21-Dec-2025 10:58:02 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_6947c4aa893fb_1766311082.png
[21-Dec-2025 10:58:02 Europe/Berlin] 🎬 Moving video file from temp to final location
[21-Dec-2025 10:58:02 Europe/Berlin]   From: /tmp/phpby5Cmt
[21-Dec-2025 10:58:02 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   Temp file exists: YES
[21-Dec-2025 10:58:02 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   ✅ Using frontend-detected duration: 0:55
[21-Dec-2025 10:58:02 Europe/Berlin]   🎯 Final duration for file upload: 0:55
[21-Dec-2025 10:58:02 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[21-Dec-2025 10:58:02 Europe/Berlin]   teacher_id: 14
[21-Dec-2025 10:58:02 Europe/Berlin]   course_id: 20
[21-Dec-2025 10:58:02 Europe/Berlin]   title: Web development
[21-Dec-2025 10:58:02 Europe/Berlin]   description: welcome
[21-Dec-2025 10:58:02 Europe/Berlin]   video_type: file
[21-Dec-2025 10:58:02 Europe/Berlin]   videoPathForDB: uploads/videos/video_6947c4aa893fb_1766311082.mp4
[21-Dec-2025 10:58:02 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_6947c4aa893fb_1766311082.png
[21-Dec-2025 10:58:02 Europe/Berlin]   is_published: 1
[21-Dec-2025 10:58:02 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[21-Dec-2025 10:58:02 Europe/Berlin]   SQL prepared successfully
[21-Dec-2025 10:58:02 Europe/Berlin]   About to execute with bound parameters
[21-Dec-2025 10:58:02 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[21-Dec-2025 10:58:02 Europe/Berlin]   Generated video_id: 46
[21-Dec-2025 10:58:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:58:07 Europe/Berlin] Teacher Auth Check - Script: videos.php
[21-Dec-2025 10:58:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:07 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:07 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:58:07 Europe/Berlin] Session role: not set
[21-Dec-2025 10:58:07 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:58:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 10:58:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:58:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:58:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:09 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:09 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:58:09 Europe/Berlin] Session role: not set
[21-Dec-2025 10:58:09 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:58:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:58:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:58:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:58:24 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[21-Dec-2025 10:58:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:24 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:24 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:58:24 Europe/Berlin] Session role: not set
[21-Dec-2025 10:58:24 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:58:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 10:58:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:58:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:58:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:25 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:25 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:58:25 Europe/Berlin] Session role: not set
[21-Dec-2025 10:58:25 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:58:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:58:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:58:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:58:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:58:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:56 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:56 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:58:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:58:56 Europe/Berlin] Session role: not set
[21-Dec-2025 10:58:56 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:58:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:58:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:59:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:59:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:59:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:26 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:26 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:59:26 Europe/Berlin] Session role: not set
[21-Dec-2025 10:59:26 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:59:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:59:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:59:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 10:59:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 10:59:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:55 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:55 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 10:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 10:59:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 10:59:55 Europe/Berlin] Session role: not set
[21-Dec-2025 10:59:55 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 09:59:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 09:59:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 USER ID: NOT SET
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 USER ROLE: NOT SET
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 SESSION STATUS: 1
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 SESSION ID: 
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[21-Dec-2025 10:59:58 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/DgGvpcO_Ng0?si=3Mzs3YzsRzBY1-Zg
    [detected_platform] => youtube
    [video_id_external] => DgGvpcO_Ng0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:42
    [video_type] => url
    [manual_duration] => 
    [title] => Add Bootstrap 5 To Rails 7 In 1 Minute
    [course_id] => 20
    [description] => welcome
    [category_name] => New Venture Creation
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[21-Dec-2025 10:59:58 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[21-Dec-2025 10:59:58 Europe/Berlin] 📥 REQUEST METHOD: POST
[21-Dec-2025 10:59:58 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[21-Dec-2025 10:59:58 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[21-Dec-2025 10:59:58 Europe/Berlin] 📋 ALL POST DATA:
[21-Dec-2025 10:59:58 Europe/Berlin]   form_type: video_upload
[21-Dec-2025 10:59:58 Europe/Berlin]   teacher_id: 44
[21-Dec-2025 10:59:58 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=3Mzs3YzsRzBY1-Zg
[21-Dec-2025 10:59:58 Europe/Berlin]   detected_platform: youtube
[21-Dec-2025 10:59:58 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[21-Dec-2025 10:59:58 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&mo...
[21-Dec-2025 10:59:58 Europe/Berlin]   detected_duration: 0:42
[21-Dec-2025 10:59:58 Europe/Berlin]   video_type: url
[21-Dec-2025 10:59:58 Europe/Berlin]   manual_duration: 
[21-Dec-2025 10:59:58 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[21-Dec-2025 10:59:58 Europe/Berlin]   course_id: 20
[21-Dec-2025 10:59:58 Europe/Berlin]   description: welcome
[21-Dec-2025 10:59:58 Europe/Berlin]   category_name: New Venture Creation
[21-Dec-2025 10:59:58 Europe/Berlin]   is_published: 1
[21-Dec-2025 10:59:58 Europe/Berlin]   content_types: [quiz]
[21-Dec-2025 10:59:58 Europe/Berlin]   ajax: 1
[21-Dec-2025 10:59:58 Europe/Berlin] 📂 ALL FILES DATA:
[21-Dec-2025 10:59:58 Europe/Berlin]   video:  (0 bytes, error: 4)
[21-Dec-2025 10:59:58 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[21-Dec-2025 10:59:58 Europe/Berlin]   video_type: url
[21-Dec-2025 10:59:58 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=3Mzs3YzsRzBY1-Zg
[21-Dec-2025 10:59:58 Europe/Berlin]   detected_platform: youtube
[21-Dec-2025 10:59:58 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[21-Dec-2025 10:59:58 Europe/Berlin]   embed_code: HAS_VALUE
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[21-Dec-2025 10:59:58 Europe/Berlin]   video_type: url
[21-Dec-2025 10:59:58 Europe/Berlin]   $_FILES available: YES
[21-Dec-2025 10:59:58 Europe/Berlin]   $_FILES keys: video, thumbnail
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[21-Dec-2025 10:59:58 Europe/Berlin]   platform: youtube
[21-Dec-2025 10:59:58 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[21-Dec-2025 10:59:58 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[21-Dec-2025 10:59:58 Europe/Berlin]   detected_duration: 0:42
[21-Dec-2025 10:59:58 Europe/Berlin]   manual_duration: 
[21-Dec-2025 10:59:58 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[21-Dec-2025 10:59:58 Europe/Berlin] 🎯 FOUND detected_duration field: 0:42
[21-Dec-2025 10:59:58 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:42
[21-Dec-2025 10:59:58 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[21-Dec-2025 10:59:58 Europe/Berlin]   teacher_id: 14
[21-Dec-2025 10:59:58 Europe/Berlin]   course_id: 20
[21-Dec-2025 10:59:58 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[21-Dec-2025 10:59:58 Europe/Berlin]   description: welcome
[21-Dec-2025 10:59:58 Europe/Berlin]   video_type: url
[21-Dec-2025 10:59:58 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[21-Dec-2025 10:59:58 Europe/Berlin]   external_url: https://youtu.be/DgGvpcO_Ng0?si=3Mzs3YzsRzBY1-Zg
[21-Dec-2025 10:59:58 Europe/Berlin]   platform: youtube
[21-Dec-2025 10:59:58 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[21-Dec-2025 10:59:58 Europe/Berlin]   duration: 0:42
[21-Dec-2025 10:59:58 Europe/Berlin]   is_published: 1
[21-Dec-2025 10:59:58 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[21-Dec-2025 10:59:58 Europe/Berlin]   SQL prepared successfully
[21-Dec-2025 10:59:58 Europe/Berlin]   About to execute with bound parameters
[21-Dec-2025 10:59:58 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[21-Dec-2025 10:59:58 Europe/Berlin]   Generated video_id: 47
[21-Dec-2025 11:00:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 11:00:01 Europe/Berlin] Teacher Auth Check - Script: videos.php
[21-Dec-2025 11:00:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:01 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 11:00:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:01 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 11:00:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 11:00:01 Europe/Berlin] Session role: not set
[21-Dec-2025 11:00:01 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 10:00:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 11:00:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Dec-2025 11:00:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[21-Dec-2025 11:00:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:02 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 11:00:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:02 Europe/Berlin] isLoggedIn check result: true
[21-Dec-2025 11:00:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766311012
    [last_regeneration] => 1766311012
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766311012
    [session_started_at] => 2025-12-21 10:56:54
    [login_redirect_count] => 0
)

[21-Dec-2025 11:00:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[21-Dec-2025 11:00:02 Europe/Berlin] Session role: not set
[21-Dec-2025 11:00:02 Europe/Berlin] Session user_role: teacher
[21-Dec-2025 10:00:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[21-Dec-2025 10:00:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:05:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
)

[22-Dec-2025 14:05:50 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
)

[22-Dec-2025 14:05:50 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
)

[22-Dec-2025 14:05:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:05:50 Europe/Berlin] Session role: not set
[22-Dec-2025 14:05:50 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:05:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:05:50 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:05:50 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:05:50 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:05:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:05:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:05:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:05:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:05:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:05:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:05:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:05:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:05:53 Europe/Berlin] Teacher Auth Check - Script: courses.php
[22-Dec-2025 14:05:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:53 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:53 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:05:53 Europe/Berlin] Session role: not set
[22-Dec-2025 14:05:53 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:05:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:05:53 UTC] DB Connection Status: Connected
[22-Dec-2025 13:05:53 UTC] User with ID 44 found
[22-Dec-2025 13:05:53 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:05:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:05:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:05:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:54 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:54 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:05:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:05:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:05:54 Europe/Berlin] Session role: not set
[22-Dec-2025 14:05:54 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:05:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:05:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:06:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:00 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[22-Dec-2025 14:06:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:00 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:00 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:06:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:06:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:01 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:01 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:01 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:01 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:06:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:06:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:11 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:11 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:11 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:06:11 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:06:11 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:06:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:06:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:11 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:11 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:06:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:13 Europe/Berlin] Teacher Auth Check - Script: courses.php
[22-Dec-2025 14:06:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:13 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:13 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:13 UTC] DB Connection Status: Connected
[22-Dec-2025 13:06:13 UTC] User with ID 44 found
[22-Dec-2025 13:06:13 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:06:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:06:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:13 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:13 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:06:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:21 Europe/Berlin] Attempting to delete course_id: 20 by teacher_id: 44
[22-Dec-2025 14:06:21 Europe/Berlin] Successfully deleted course_id: 20
[22-Dec-2025 14:06:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:21 Europe/Berlin] Teacher Auth Check - Script: courses.php
[22-Dec-2025 14:06:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[22-Dec-2025 14:06:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[22-Dec-2025 14:06:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [success_message] => Course has been successfully deleted.
)

[22-Dec-2025 14:06:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:21 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:21 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:21 UTC] DB Connection Status: Connected
[22-Dec-2025 13:06:21 UTC] User with ID 44 found
[22-Dec-2025 13:06:21 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:06:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:06:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:22 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:22 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:22 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:22 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:06:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:29 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[22-Dec-2025 14:06:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:29 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:29 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:29 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:29 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:06:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:06:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:06:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:06:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:06:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:06:30 Europe/Berlin] Session role: not set
[22-Dec-2025 14:06:30 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:06:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:06:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:07:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:07:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:07:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:07:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
)

[22-Dec-2025 14:07:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:00 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:00 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 3
[22-Dec-2025 13:07:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:07:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:22 Europe/Berlin] PDO connection created successfully for email service
[22-Dec-2025 14:07:22 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Data analytics" - Awaiting Approval - failed
[22-Dec-2025 14:07:23 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Data analytics" - Awaiting Approval - sent
[22-Dec-2025 14:07:23 Europe/Berlin] Email logged successfully: jacobsjames7890@gmail.com - 🎓 Course Created: "Data analytics" - Awaiting Approval - sent
[22-Dec-2025 14:07:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:23 Europe/Berlin] Teacher Auth Check - Script: courses.php
[22-Dec-2025 14:07:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:23 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:23 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:23 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:23 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:23 UTC] DB Connection Status: Connected
[22-Dec-2025 13:07:23 UTC] User with ID 44 found
[22-Dec-2025 13:07:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:07:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:07:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:24 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:24 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:24 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:24 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:31 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[22-Dec-2025 14:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:31 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:31 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:31 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:31 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:07:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:32 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:07:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:32 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:32 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:07:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:35 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:35 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:07:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 14:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:38 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:38 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:07:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:07:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:07:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:07:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:07:40 Europe/Berlin] Session role: not set
[22-Dec-2025 14:07:40 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:07:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:07:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:08:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:08:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:10 Europe/Berlin] Session role: not set
[22-Dec-2025 14:08:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:08:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:08:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 14:08:21 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => 
    [detected_platform] => 
    [video_id_external] => 
    [embed_code] => 
    [detected_duration] => 0:29
    [video_type] => file
    [manual_duration] => 
    [title] => weclome
    [course_id] => 21
    [description] => show
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [thumbnail] => Array
        (
            [name] => download (15).jpeg
            [type] => image/jpeg
            [tmp_name] => /tmp/phpGMqB6T
            [error] => 0
            [size] => 7832
        )

    [video] => Array
        (
            [name] => dannygokey_7154418921423097131.mp4
            [type] => video/mp4
            [tmp_name] => /tmp/phpqL7L3p
            [error] => 0
            [size] => 2998135
        )

)

[22-Dec-2025 14:08:21 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 14:08:21 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 14:08:21 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 14:08:21 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 14:08:21 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 14:08:21 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 14:08:21 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 14:08:21 Europe/Berlin]   video_url: 
[22-Dec-2025 14:08:21 Europe/Berlin]   detected_platform: 
[22-Dec-2025 14:08:21 Europe/Berlin]   video_id_external: 
[22-Dec-2025 14:08:21 Europe/Berlin]   embed_code: 
[22-Dec-2025 14:08:21 Europe/Berlin]   detected_duration: 0:29
[22-Dec-2025 14:08:21 Europe/Berlin]   video_type: file
[22-Dec-2025 14:08:21 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:08:21 Europe/Berlin]   title: weclome
[22-Dec-2025 14:08:21 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:08:21 Europe/Berlin]   description: show
[22-Dec-2025 14:08:21 Europe/Berlin]   category_name: Data Science
[22-Dec-2025 14:08:21 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:08:21 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 14:08:21 Europe/Berlin]   ajax: 1
[22-Dec-2025 14:08:21 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 14:08:21 Europe/Berlin]   thumbnail: download (15).jpeg (7832 bytes, error: 0)
[22-Dec-2025 14:08:21 Europe/Berlin]   video: dannygokey_7154418921423097131.mp4 (2998135 bytes, error: 0)
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 14:08:21 Europe/Berlin]   video_type: file
[22-Dec-2025 14:08:21 Europe/Berlin]   video_url: 
[22-Dec-2025 14:08:21 Europe/Berlin]   detected_platform: 
[22-Dec-2025 14:08:21 Europe/Berlin]   video_id_external: 
[22-Dec-2025 14:08:21 Europe/Berlin]   embed_code: EMPTY
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 14:08:21 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 14:08:21 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 14:08:21 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 14:08:21 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 14:08:21 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 14:08:21 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 14:08:21 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 14:08:21 Europe/Berlin]   video_url: 
[22-Dec-2025 14:08:21 Europe/Berlin]   detected_platform: 
[22-Dec-2025 14:08:21 Europe/Berlin]   video_id_external: 
[22-Dec-2025 14:08:21 Europe/Berlin]   embed_code: 
[22-Dec-2025 14:08:21 Europe/Berlin]   detected_duration: 0:29
[22-Dec-2025 14:08:21 Europe/Berlin]   video_type: file
[22-Dec-2025 14:08:21 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:08:21 Europe/Berlin]   title: weclome
[22-Dec-2025 14:08:21 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:08:21 Europe/Berlin]   description: show
[22-Dec-2025 14:08:21 Europe/Berlin]   category_name: Data Science
[22-Dec-2025 14:08:21 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:08:21 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 14:08:21 Europe/Berlin]   ajax: 1
[22-Dec-2025 14:08:21 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 14:08:21 Europe/Berlin]   thumbnail: download (15).jpeg (7832 bytes, error: 0)
[22-Dec-2025 14:08:21 Europe/Berlin]   video: dannygokey_7154418921423097131.mp4 (2998135 bytes, error: 0)
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 EARLY FILE VALIDATION:
[22-Dec-2025 14:08:21 Europe/Berlin]   video exists: YES
[22-Dec-2025 14:08:21 Europe/Berlin]   videoFile exists (old): NO
[22-Dec-2025 14:08:21 Europe/Berlin]   video name: dannygokey_7154418921423097131.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   video size: 2998135
[22-Dec-2025 14:08:21 Europe/Berlin]   video error: 0
[22-Dec-2025 14:08:21 Europe/Berlin]   video tmp_name: /tmp/phpqL7L3p
[22-Dec-2025 14:08:21 Europe/Berlin]   Error meaning: No error
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 14:08:21 Europe/Berlin]   video_type: file
[22-Dec-2025 14:08:21 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 14:08:21 Europe/Berlin]   $_FILES keys: thumbnail, video
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 FILE UPLOAD PROCESSING STARTED
[22-Dec-2025 14:08:21 Europe/Berlin] 📂 Video file details:
[22-Dec-2025 14:08:21 Europe/Berlin]   name: dannygokey_7154418921423097131.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   type: video/mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   size: 2998135
[22-Dec-2025 14:08:21 Europe/Berlin]   error: 0
[22-Dec-2025 14:08:21 Europe/Berlin]   tmp_name: /tmp/phpqL7L3p
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 File type validation:
[22-Dec-2025 14:08:21 Europe/Berlin]   Detected type: video/mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   Allowed types: video/mp4, video/webm, video/quicktime, video/x-msvideo
[22-Dec-2025 14:08:21 Europe/Berlin] ✅ File type validation passed
[22-Dec-2025 14:08:21 Europe/Berlin] 📁 File paths:
[22-Dec-2025 14:08:21 Europe/Berlin]   Upload directory: /home/twpurnyc/public_html/teacher/../uploads/videos/
[22-Dec-2025 14:08:21 Europe/Berlin]   Video filename: video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   Full video path: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   Directory writable: YES
[22-Dec-2025 14:08:21 Europe/Berlin] 📸 Processing thumbnail upload
[22-Dec-2025 14:08:21 Europe/Berlin]   Thumbnail path: /home/twpurnyc/public_html/teacher/../uploads/thumbnails/thumb_694942c5c087c_1766408901.jpeg
[22-Dec-2025 14:08:21 Europe/Berlin] ✅ Thumbnail uploaded: uploads/thumbnails/thumb_694942c5c087c_1766408901.jpeg
[22-Dec-2025 14:08:21 Europe/Berlin] 🎬 Moving video file from temp to final location
[22-Dec-2025 14:08:21 Europe/Berlin]   From: /tmp/phpqL7L3p
[22-Dec-2025 14:08:21 Europe/Berlin]   To: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   Temp file exists: YES
[22-Dec-2025 14:08:21 Europe/Berlin] ✅ Video uploaded successfully: uploads/videos/video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin] 🎬 DETECTING VIDEO DURATION for file: /home/twpurnyc/public_html/teacher/../uploads/videos/video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   ✅ Using frontend-detected duration: 0:29
[22-Dec-2025 14:08:21 Europe/Berlin]   🎯 Final duration for file upload: 0:29
[22-Dec-2025 14:08:21 Europe/Berlin] 🔍 FILE UPLOAD BIND PARAMS:
[22-Dec-2025 14:08:21 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 14:08:21 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:08:21 Europe/Berlin]   title: weclome
[22-Dec-2025 14:08:21 Europe/Berlin]   description: show
[22-Dec-2025 14:08:21 Europe/Berlin]   video_type: file
[22-Dec-2025 14:08:21 Europe/Berlin]   videoPathForDB: uploads/videos/video_694942c5c087c_1766408901.mp4
[22-Dec-2025 14:08:21 Europe/Berlin]   thumbnailPath: uploads/thumbnails/thumb_694942c5c087c_1766408901.jpeg
[22-Dec-2025 14:08:21 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:08:21 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 14:08:21 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 14:08:21 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 14:08:21 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 14:08:21 Europe/Berlin]   Generated video_id: 48
[22-Dec-2025 14:08:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:26 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:08:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:26 Europe/Berlin] Session role: not set
[22-Dec-2025 14:08:26 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:08:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:08:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:26 Europe/Berlin] Session role: not set
[22-Dec-2025 14:08:26 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:08:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:08:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:08:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:32 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 14:08:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:32 Europe/Berlin] Session role: not set
[22-Dec-2025 14:08:32 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:08:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:08:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:08:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:33 Europe/Berlin] Session role: not set
[22-Dec-2025 14:08:33 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:08:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:08:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:09:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:09:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:09:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:04 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:09:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:04 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:09:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:09:04 Europe/Berlin] Session role: not set
[22-Dec-2025 14:09:04 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:09:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:09:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:09:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:09:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:09:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:09:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:09:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:09:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:09:34 Europe/Berlin] Session role: not set
[22-Dec-2025 14:09:34 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:09:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:09:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:10:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:10:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:10:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:10:03 Europe/Berlin] Session role: not set
[22-Dec-2025 14:10:03 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:10:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:10:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 14:10:07 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/yalxT0PEx8c?si=yQykCXEFOlHFTpNc
    [detected_platform] => youtube
    [video_id_external] => yalxT0PEx8c
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/yalxT0PEx8c?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 5:17
    [video_type] => url
    [manual_duration] => 
    [title] => Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
    [course_id] => 21
    [description] => welcome
    [category_name] => Cyber Security
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 14:10:07 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 14:10:07 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 14:10:07 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 14:10:07 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 14:10:07 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 14:10:07 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 14:10:07 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 14:10:07 Europe/Berlin]   video_url: https://youtu.be/yalxT0PEx8c?si=yQykCXEFOlHFTpNc
[22-Dec-2025 14:10:07 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:10:07 Europe/Berlin]   video_id_external: yalxT0PEx8c
[22-Dec-2025 14:10:07 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/yalxT0PEx8c?rel=0&showinfo=0&mo...
[22-Dec-2025 14:10:07 Europe/Berlin]   detected_duration: 5:17
[22-Dec-2025 14:10:07 Europe/Berlin]   video_type: url
[22-Dec-2025 14:10:07 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:10:07 Europe/Berlin]   title: Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
[22-Dec-2025 14:10:07 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:10:07 Europe/Berlin]   description: welcome
[22-Dec-2025 14:10:07 Europe/Berlin]   category_name: Cyber Security
[22-Dec-2025 14:10:07 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:10:07 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 14:10:07 Europe/Berlin]   ajax: 1
[22-Dec-2025 14:10:07 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 14:10:07 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 14:10:07 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 14:10:07 Europe/Berlin]   video_type: url
[22-Dec-2025 14:10:07 Europe/Berlin]   video_url: https://youtu.be/yalxT0PEx8c?si=yQykCXEFOlHFTpNc
[22-Dec-2025 14:10:07 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:10:07 Europe/Berlin]   video_id_external: yalxT0PEx8c
[22-Dec-2025 14:10:07 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 14:10:07 Europe/Berlin]   video_type: url
[22-Dec-2025 14:10:07 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 14:10:07 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 14:10:07 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:10:07 Europe/Berlin]   video_id_ext: yalxT0PEx8c
[22-Dec-2025 14:10:07 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/yalxT0PEx8c/maxresdefault.jpg
[22-Dec-2025 14:10:07 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 14:10:07 Europe/Berlin]   detected_duration: 5:17
[22-Dec-2025 14:10:07 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:10:07 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 14:10:07 Europe/Berlin] 🎯 FOUND detected_duration field: 5:17
[22-Dec-2025 14:10:07 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 5:17
[22-Dec-2025 14:10:09 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 14:10:09 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 14:10:09 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:10:09 Europe/Berlin]   title: Learn Bootstrap in 5 minutes | Responsive Website Tutorial | Code in 5
[22-Dec-2025 14:10:09 Europe/Berlin]   description: welcome
[22-Dec-2025 14:10:09 Europe/Berlin]   video_type: url
[22-Dec-2025 14:10:09 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/yalxT0PEx8c/maxresdefault.jpg
[22-Dec-2025 14:10:09 Europe/Berlin]   external_url: https://youtu.be/yalxT0PEx8c?si=yQykCXEFOlHFTpNc
[22-Dec-2025 14:10:09 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:10:09 Europe/Berlin]   video_id_ext: yalxT0PEx8c
[22-Dec-2025 14:10:09 Europe/Berlin]   duration: 5:17
[22-Dec-2025 14:10:09 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:10:09 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 14:10:09 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 14:10:09 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 14:10:09 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 14:10:09 Europe/Berlin]   Generated video_id: 49
[22-Dec-2025 14:10:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:10:11 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:10:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:10:11 Europe/Berlin] Session role: not set
[22-Dec-2025 14:10:11 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:10:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:10:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:10:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766408748
    [last_regeneration] => 1766408748
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766408748
    [session_started_at] => 2025-12-22 14:05:49
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[22-Dec-2025 14:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:10:13 Europe/Berlin] Session role: not set
[22-Dec-2025 14:10:13 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:10:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:10:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:13:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:30 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:13:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
)

[22-Dec-2025 14:13:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
)

[22-Dec-2025 14:13:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
)

[22-Dec-2025 14:13:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:30 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:30 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:30 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:13:30 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:13:30 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:13:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:13:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:31 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:31 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:48 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:48 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:48 UTC] isLoggedIn check result: true
[22-Dec-2025 13:13:48 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:13:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:48 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:48 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:13:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:51 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[22-Dec-2025 14:13:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:51 UTC] isLoggedIn check result: true
[22-Dec-2025 13:13:51 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:13:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:13:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:13:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:13:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:13:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:13:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:13:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:13:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:14:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:14:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:14:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:14:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:14:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:14:21 Europe/Berlin] Session role: not set
[22-Dec-2025 14:14:21 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:14:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:14:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:14:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:14:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:14:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:14:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:14:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:14:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:14:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:14:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:14:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:14:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:15:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:15:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:15:21 Europe/Berlin] Session role: not set
[22-Dec-2025 14:15:21 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:15:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:15:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:15:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:15:30 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[22-Dec-2025 14:15:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:30 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:15:30 Europe/Berlin] Session role: not set
[22-Dec-2025 14:15:30 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:15:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:15:30 UTC] isLoggedIn check result: true
[22-Dec-2025 13:15:30 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:15:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:15:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:15:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:15:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:15:31 Europe/Berlin] Session role: not set
[22-Dec-2025 14:15:31 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:15:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:15:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:16:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:16:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:01 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:01 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:16:01 Europe/Berlin] Session role: not set
[22-Dec-2025 14:16:01 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:16:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:16:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:16:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:16:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:31 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:16:31 Europe/Berlin] Session role: not set
[22-Dec-2025 14:16:31 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:16:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:16:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:16:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:47 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[22-Dec-2025 14:16:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:16:47 Europe/Berlin] Session role: not set
[22-Dec-2025 14:16:47 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:16:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:16:47 UTC] isLoggedIn check result: true
[22-Dec-2025 13:16:47 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:16:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:48 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:16:48 Europe/Berlin] Session role: not set
[22-Dec-2025 14:16:48 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:16:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:16:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:16:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:56 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:16:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:16:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:57 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:57 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:16:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:16:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:16:57 Europe/Berlin] Session role: not set
[22-Dec-2025 14:16:57 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:16:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:16:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:16:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 13:16:59 UTC] Teacher Auth Check - Script: manage-course-materials.php
[22-Dec-2025 13:16:59 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 13:16:59 UTC] isLoggedIn check result: true
[22-Dec-2025 13:16:59 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 13:16:59 UTC] isLoggedIn check result: true
[22-Dec-2025 13:16:59 UTC] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 13:16:59 UTC] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 13:16:59 UTC] Session role: not set
[22-Dec-2025 13:16:59 UTC] Session user_role: teacher
[22-Dec-2025 13:16:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:17:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:17:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:17:00 Europe/Berlin] Session role: not set
[22-Dec-2025 14:17:00 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:17:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:17:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:17:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:02 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:17:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:17:03 Europe/Berlin] Session role: not set
[22-Dec-2025 14:17:03 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:17:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:17:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:17:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:17:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:17:33 Europe/Berlin] Session role: not set
[22-Dec-2025 14:17:33 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:17:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:17:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:17:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[22-Dec-2025 14:17:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:17:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:17:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:17:35 Europe/Berlin] Session role: not set
[22-Dec-2025 14:17:35 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:17:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:17:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:17:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:17:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:17:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
    [success_message] => Material uploaded successfully!
)

[22-Dec-2025 14:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409209
    [last_regeneration] => 1766409209
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409209
    [session_started_at] => 2025-12-22 14:13:30
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:00 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:00 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:18:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:36 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:18:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
)

[22-Dec-2025 14:18:36 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
)

[22-Dec-2025 14:18:36 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
)

[22-Dec-2025 14:18:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:36 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:36 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:36 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:18:36 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:18:36 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:18:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:37 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:37 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:37 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:37 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:18:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:42 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:18:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:42 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:42 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:42 UTC] isLoggedIn check result: true
[22-Dec-2025 13:18:42 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 13:18:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 13:18:42 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 14:18:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:43 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:43 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:18:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:51 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:18:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:51 UTC] isLoggedIn check result: true
[22-Dec-2025 13:18:51 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 13:18:51 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 13:18:51 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 14:18:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:18:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:55 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:18:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:55 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:55 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:55 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:55 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:55 UTC] isLoggedIn check result: true
[22-Dec-2025 13:18:55 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 13:18:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 13:18:55 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 14:18:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:56 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:56 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:56 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:56 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[22-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:59 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:59 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:59 UTC] isLoggedIn check result: true
[22-Dec-2025 13:18:59 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:18:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:18:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:18:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:18:59 Europe/Berlin] Session role: not set
[22-Dec-2025 14:18:59 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:18:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:18:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:19:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:19:05 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:19:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:05 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:05 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:19:05 Europe/Berlin] Session role: not set
[22-Dec-2025 14:19:05 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:19:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:19:05 UTC] isLoggedIn check result: true
[22-Dec-2025 13:19:05 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 13:19:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 13:19:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 14:19:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:19:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:19:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:06 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:06 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:19:06 Europe/Berlin] Session role: not set
[22-Dec-2025 14:19:06 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:19:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:19:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:19:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:19:11 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[22-Dec-2025 14:19:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:19:11 Europe/Berlin] Session role: not set
[22-Dec-2025 14:19:11 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:19:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:19:11 UTC] isLoggedIn check result: true
[22-Dec-2025 13:19:11 UTC] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 13:19:11 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 13:19:11 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[22-Dec-2025 14:19:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:19:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:19:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:19:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766409515
    [last_regeneration] => 1766409515
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766409515
    [session_started_at] => 2025-12-22 14:18:36
    [login_redirect_count] => 0
)

[22-Dec-2025 14:19:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:19:12 Europe/Berlin] Session role: not set
[22-Dec-2025 14:19:12 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:19:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:19:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:29:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:29:35 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:29:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
)

[22-Dec-2025 14:29:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
)

[22-Dec-2025 14:29:35 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
)

[22-Dec-2025 14:29:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:29:35 Europe/Berlin] Session role: not set
[22-Dec-2025 14:29:35 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:29:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:29:35 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:29:35 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:29:35 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:29:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:29:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:29:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:29:43 Europe/Berlin] Session role: not set
[22-Dec-2025 14:29:43 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:29:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:29:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:29:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:29:49 Europe/Berlin] Teacher Auth Check - Script: courses.php
[22-Dec-2025 14:29:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:49 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:49 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:29:49 Europe/Berlin] Session role: not set
[22-Dec-2025 14:29:49 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:29:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:29:50 UTC] DB Connection Status: Connected
[22-Dec-2025 13:29:50 UTC] User with ID 44 found
[22-Dec-2025 13:29:50 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 14:29:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:29:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:29:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:29:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:29:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:29:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:29:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:29:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:29:58 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 14:29:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:58 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:58 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:29:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:29:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:29:58 Europe/Berlin] Session role: not set
[22-Dec-2025 14:29:58 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:29:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:30:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:30:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:30:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:02 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:02 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:30:02 Europe/Berlin] Session role: not set
[22-Dec-2025 14:30:02 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:30:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:30:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:30:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:30:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:30:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:34 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:30:34 Europe/Berlin] Session role: not set
[22-Dec-2025 14:30:34 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:30:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:30:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 14:30:47 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/DgGvpcO_Ng0?si=ZuHRkPb6uALGpVNy
    [detected_platform] => youtube
    [video_id_external] => DgGvpcO_Ng0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:42
    [video_type] => url
    [manual_duration] => 
    [title] => Add Bootstrap 5 To Rails 7 In 1 Minute
    [course_id] => 21
    [description] => welcome
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 14:30:47 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 14:30:47 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 14:30:47 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 14:30:47 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 14:30:47 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 14:30:47 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 14:30:47 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 14:30:47 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=ZuHRkPb6uALGpVNy
[22-Dec-2025 14:30:47 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:30:47 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[22-Dec-2025 14:30:47 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&mo...
[22-Dec-2025 14:30:47 Europe/Berlin]   detected_duration: 0:42
[22-Dec-2025 14:30:47 Europe/Berlin]   video_type: url
[22-Dec-2025 14:30:47 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:30:47 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[22-Dec-2025 14:30:47 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:30:47 Europe/Berlin]   description: welcome
[22-Dec-2025 14:30:47 Europe/Berlin]   category_name: Data Science
[22-Dec-2025 14:30:47 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:30:47 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 14:30:47 Europe/Berlin]   ajax: 1
[22-Dec-2025 14:30:47 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 14:30:47 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 14:30:47 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 14:30:47 Europe/Berlin]   video_type: url
[22-Dec-2025 14:30:47 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=ZuHRkPb6uALGpVNy
[22-Dec-2025 14:30:47 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:30:47 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[22-Dec-2025 14:30:47 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 14:30:47 Europe/Berlin]   video_type: url
[22-Dec-2025 14:30:47 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 14:30:47 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 14:30:47 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:30:47 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[22-Dec-2025 14:30:47 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 14:30:47 Europe/Berlin]   detected_duration: 0:42
[22-Dec-2025 14:30:47 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:30:47 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 14:30:47 Europe/Berlin] 🎯 FOUND detected_duration field: 0:42
[22-Dec-2025 14:30:47 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:42
[22-Dec-2025 14:30:47 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 14:30:47 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 14:30:47 Europe/Berlin]   course_id: 21
[22-Dec-2025 14:30:47 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[22-Dec-2025 14:30:47 Europe/Berlin]   description: welcome
[22-Dec-2025 14:30:47 Europe/Berlin]   video_type: url
[22-Dec-2025 14:30:47 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[22-Dec-2025 14:30:47 Europe/Berlin]   external_url: https://youtu.be/DgGvpcO_Ng0?si=ZuHRkPb6uALGpVNy
[22-Dec-2025 14:30:47 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:30:47 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[22-Dec-2025 14:30:47 Europe/Berlin]   duration: 0:42
[22-Dec-2025 14:30:47 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:30:47 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 14:30:47 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 14:30:47 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 14:30:47 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 14:30:47 Europe/Berlin]   Generated video_id: 50
[22-Dec-2025 14:30:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:30:51 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:30:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:51 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:30:51 Europe/Berlin] Session role: not set
[22-Dec-2025 14:30:51 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:30:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:30:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:30:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:30:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:56 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:56 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:30:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:30:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:30:56 Europe/Berlin] Session role: not set
[22-Dec-2025 14:30:56 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:30:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:30:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:31:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:31:17 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 14:31:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:17 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:17 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:31:17 Europe/Berlin] Session role: not set
[22-Dec-2025 14:31:17 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:31:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:31:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:31:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:31:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:18 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:18 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:31:18 Europe/Berlin] Session role: not set
[22-Dec-2025 14:31:18 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:31:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:31:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 14:31:37 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/mr15Xzb1Ook?si=8eycn7HM8wJQikmP
    [detected_platform] => youtube
    [video_id_external] => mr15Xzb1Ook
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/mr15Xzb1Ook?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 2:21
    [video_type] => url
    [manual_duration] => 
    [title] => Tailwind in 100 Seconds
    [course_id] => 17
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 14:31:37 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 14:31:37 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 14:31:37 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 14:31:37 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 14:31:37 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 14:31:37 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 14:31:37 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 14:31:37 Europe/Berlin]   video_url: https://youtu.be/mr15Xzb1Ook?si=8eycn7HM8wJQikmP
[22-Dec-2025 14:31:37 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:31:37 Europe/Berlin]   video_id_external: mr15Xzb1Ook
[22-Dec-2025 14:31:37 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/mr15Xzb1Ook?rel=0&showinfo=0&mo...
[22-Dec-2025 14:31:37 Europe/Berlin]   detected_duration: 2:21
[22-Dec-2025 14:31:37 Europe/Berlin]   video_type: url
[22-Dec-2025 14:31:37 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:31:37 Europe/Berlin]   title: Tailwind in 100 Seconds
[22-Dec-2025 14:31:37 Europe/Berlin]   course_id: 17
[22-Dec-2025 14:31:37 Europe/Berlin]   description: welcome
[22-Dec-2025 14:31:37 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 14:31:37 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:31:37 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 14:31:37 Europe/Berlin]   ajax: 1
[22-Dec-2025 14:31:37 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 14:31:37 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 14:31:37 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 14:31:37 Europe/Berlin]   video_type: url
[22-Dec-2025 14:31:37 Europe/Berlin]   video_url: https://youtu.be/mr15Xzb1Ook?si=8eycn7HM8wJQikmP
[22-Dec-2025 14:31:37 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 14:31:37 Europe/Berlin]   video_id_external: mr15Xzb1Ook
[22-Dec-2025 14:31:37 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 14:31:37 Europe/Berlin]   video_type: url
[22-Dec-2025 14:31:37 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 14:31:37 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 14:31:37 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:31:37 Europe/Berlin]   video_id_ext: mr15Xzb1Ook
[22-Dec-2025 14:31:37 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/mr15Xzb1Ook/maxresdefault.jpg
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 14:31:37 Europe/Berlin]   detected_duration: 2:21
[22-Dec-2025 14:31:37 Europe/Berlin]   manual_duration: 
[22-Dec-2025 14:31:37 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 14:31:37 Europe/Berlin] 🎯 FOUND detected_duration field: 2:21
[22-Dec-2025 14:31:37 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 2:21
[22-Dec-2025 14:31:37 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 14:31:37 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 14:31:37 Europe/Berlin]   course_id: 17
[22-Dec-2025 14:31:37 Europe/Berlin]   title: Tailwind in 100 Seconds
[22-Dec-2025 14:31:37 Europe/Berlin]   description: welcome
[22-Dec-2025 14:31:37 Europe/Berlin]   video_type: url
[22-Dec-2025 14:31:37 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/mr15Xzb1Ook/maxresdefault.jpg
[22-Dec-2025 14:31:37 Europe/Berlin]   external_url: https://youtu.be/mr15Xzb1Ook?si=8eycn7HM8wJQikmP
[22-Dec-2025 14:31:37 Europe/Berlin]   platform: youtube
[22-Dec-2025 14:31:37 Europe/Berlin]   video_id_ext: mr15Xzb1Ook
[22-Dec-2025 14:31:37 Europe/Berlin]   duration: 2:21
[22-Dec-2025 14:31:37 Europe/Berlin]   is_published: 1
[22-Dec-2025 14:31:37 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 14:31:37 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 14:31:37 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 14:31:37 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 14:31:37 Europe/Berlin]   Generated video_id: 51
[22-Dec-2025 14:31:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:31:41 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:31:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:31:41 Europe/Berlin] Session role: not set
[22-Dec-2025 14:31:41 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:31:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:31:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:31:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:31:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:31:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:31:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:31:41 Europe/Berlin] Session role: not set
[22-Dec-2025 14:31:41 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:31:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:31:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:32:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:32:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:32:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:32:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:32:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:32:12 Europe/Berlin] Session role: not set
[22-Dec-2025 14:32:12 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:32:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:32:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:32:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:32:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:32:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:32:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:32:42 Europe/Berlin] Session role: not set
[22-Dec-2025 14:32:42 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:32:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:32:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:33:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:33:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:33:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:33:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:33:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:33:12 Europe/Berlin] Session role: not set
[22-Dec-2025 14:33:12 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:33:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:33:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:33:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:33:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:33:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:33:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:33:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410175
    [last_regeneration] => 1766410175
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410175
    [session_started_at] => 2025-12-22 14:29:35
    [login_redirect_count] => 0
)

[22-Dec-2025 14:33:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:33:42 Europe/Berlin] Session role: not set
[22-Dec-2025 14:33:42 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:33:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:33:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:34:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:34:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:34:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 14:34:12
)

[22-Dec-2025 14:34:12 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 14:34:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 14:34:12
)

[22-Dec-2025 14:34:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:34:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:34:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:34:41 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 14:34:41 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:35:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:35:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:35:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:35:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:35:12 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 14:35:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:35:12 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:35:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:35:12 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 14:35:12 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 14:34:12
    [login_redirect_count] => 0
    [last_page] => /teacher/notifications.php
)

[22-Dec-2025 14:35:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:35:21 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 14:35:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766410520
    [last_regeneration] => 1766410520
    [stored_redirect] => /teacher/videos.php?new_video=Ymg1azZHejF4NjM3TnMrNkpJWnM2Zz09
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410520
    [session_started_at] => 2025-12-22 14:35:21
)

[22-Dec-2025 14:35:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410520
    [last_regeneration] => 1766410520
    [stored_redirect] => /teacher/videos.php?new_video=Ymg1azZHejF4NjM3TnMrNkpJWnM2Zz09
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410520
    [session_started_at] => 2025-12-22 14:35:21
)

[22-Dec-2025 14:35:21 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:35:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766410520
    [last_regeneration] => 1766410520
    [stored_redirect] => /teacher/videos.php?new_video=Ymg1azZHejF4NjM3TnMrNkpJWnM2Zz09
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766410520
    [session_started_at] => 2025-12-22 14:35:21
)

[22-Dec-2025 14:35:21 Europe/Berlin] hasPermission check - Required: teacher, User: student
[22-Dec-2025 14:35:21 Europe/Berlin] Session role: not set
[22-Dec-2025 14:35:21 Europe/Berlin] Session user_role: student
[22-Dec-2025 14:35:21 Europe/Berlin] Teacher Auth - Access denied for user role: student
[22-Dec-2025 14:49:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:49:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 14:49:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
)

[22-Dec-2025 14:49:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
)

[22-Dec-2025 14:49:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
)

[22-Dec-2025 14:49:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:49:33 Europe/Berlin] Session role: not set
[22-Dec-2025 14:49:33 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:49:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:49:37 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 13:49:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 13:49:37 UTC] Found 0 videos for teacher 44
[22-Dec-2025 14:49:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:49:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:49:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:49:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:49:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:49:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:49:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:49:38 Europe/Berlin] Session role: not set
[22-Dec-2025 14:49:38 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:49:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:49:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:50:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:50:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:50:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:50:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:50:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:50:09 Europe/Berlin] Session role: not set
[22-Dec-2025 14:50:09 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:50:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:50:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:50:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:50:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:50:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:50:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:50:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:50:40 Europe/Berlin] Session role: not set
[22-Dec-2025 14:50:40 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:50:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:50:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:51:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:51:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:51:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:51:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:51:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:51:09 Europe/Berlin] Session role: not set
[22-Dec-2025 14:51:09 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:51:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:51:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:51:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:51:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:51:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:39 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:51:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:39 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:51:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:51:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:51:39 Europe/Berlin] Session role: not set
[22-Dec-2025 14:51:39 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:51:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:51:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:52:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:52:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:52:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:08 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:08 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:52:08 Europe/Berlin] Session role: not set
[22-Dec-2025 14:52:08 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:52:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:52:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:52:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:52:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:52:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:44 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:44 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:52:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:52:44 Europe/Berlin] Session role: not set
[22-Dec-2025 14:52:44 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:52:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:52:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:53:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:53:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:53:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:53:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:53:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:53:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:53:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:53:10 Europe/Berlin] Session role: not set
[22-Dec-2025 14:53:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:53:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:53:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:54:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:54:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:54:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:54:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:54:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:54:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:54:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:54:10 Europe/Berlin] Session role: not set
[22-Dec-2025 14:54:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:54:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:54:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:55:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:55:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:55:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:55:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:55:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:55:11 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:55:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:55:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:55:11 Europe/Berlin] Session role: not set
[22-Dec-2025 14:55:11 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:55:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:55:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:56:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:56:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:56:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:56:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:56:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:56:12 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:56:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:56:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:56:12 Europe/Berlin] Session role: not set
[22-Dec-2025 14:56:12 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:56:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:56:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:57:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:57:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:57:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:57:14 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:57:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:57:14 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:57:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:57:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:57:14 Europe/Berlin] Session role: not set
[22-Dec-2025 14:57:14 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:57:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:57:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:58:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:58:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:58:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:14 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:58:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:14 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:58:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:58:14 Europe/Berlin] Session role: not set
[22-Dec-2025 14:58:14 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:58:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:58:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:58:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:58:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:58:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:39 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:39 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:58:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:58:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:58:39 Europe/Berlin] Session role: not set
[22-Dec-2025 14:58:39 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:58:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:58:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:59:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:59:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:59:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:59:10 Europe/Berlin] Session role: not set
[22-Dec-2025 14:59:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:59:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:59:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 14:59:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:59:27 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 14:59:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:27 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:27 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:59:27 Europe/Berlin] Session role: not set
[22-Dec-2025 14:59:27 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:59:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:59:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:59:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 14:59:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:32 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 14:59:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 14:59:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:59:32 Europe/Berlin] Session role: not set
[22-Dec-2025 14:59:32 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 13:59:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 13:59:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:00:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:00:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:00:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:03 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:00:03 Europe/Berlin] Session role: not set
[22-Dec-2025 15:00:03 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:00:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:00:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 15:00:06 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/DgGvpcO_Ng0?si=s9HMpTS9jx7ckuJl
    [detected_platform] => youtube
    [video_id_external] => DgGvpcO_Ng0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:42
    [video_type] => url
    [manual_duration] => 
    [title] => Add Bootstrap 
    [course_id] => 21
    [description] => welcom
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 15:00:06 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 15:00:06 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 15:00:06 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 15:00:06 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 15:00:06 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 15:00:06 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 15:00:06 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 15:00:06 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=s9HMpTS9jx7ckuJl
[22-Dec-2025 15:00:06 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:00:06 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[22-Dec-2025 15:00:06 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&mo...
[22-Dec-2025 15:00:06 Europe/Berlin]   detected_duration: 0:42
[22-Dec-2025 15:00:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:00:06 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:00:06 Europe/Berlin]   title: Add Bootstrap 
[22-Dec-2025 15:00:06 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:00:06 Europe/Berlin]   description: welcom
[22-Dec-2025 15:00:06 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 15:00:06 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:00:06 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 15:00:06 Europe/Berlin]   ajax: 1
[22-Dec-2025 15:00:06 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 15:00:06 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 15:00:06 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 15:00:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:00:06 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=s9HMpTS9jx7ckuJl
[22-Dec-2025 15:00:06 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:00:06 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[22-Dec-2025 15:00:06 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 15:00:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:00:06 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 15:00:06 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 15:00:06 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:00:06 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[22-Dec-2025 15:00:06 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 15:00:06 Europe/Berlin]   detected_duration: 0:42
[22-Dec-2025 15:00:06 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:00:06 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 15:00:06 Europe/Berlin] 🎯 FOUND detected_duration field: 0:42
[22-Dec-2025 15:00:06 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:42
[22-Dec-2025 15:00:06 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 15:00:06 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 15:00:06 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:00:06 Europe/Berlin]   title: Add Bootstrap 
[22-Dec-2025 15:00:06 Europe/Berlin]   description: welcom
[22-Dec-2025 15:00:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:00:06 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[22-Dec-2025 15:00:06 Europe/Berlin]   external_url: https://youtu.be/DgGvpcO_Ng0?si=s9HMpTS9jx7ckuJl
[22-Dec-2025 15:00:06 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:00:06 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[22-Dec-2025 15:00:06 Europe/Berlin]   duration: 0:42
[22-Dec-2025 15:00:06 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:00:06 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 15:00:06 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 15:00:06 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 15:00:06 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 15:00:06 Europe/Berlin]   Generated video_id: 52
[22-Dec-2025 15:00:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:00:10 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:00:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:00:10 Europe/Berlin] Session role: not set
[22-Dec-2025 15:00:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:00:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:00:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:00:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:00:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:15 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:15 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:00:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766411371
    [last_regeneration] => 1766411371
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766411371
    [session_started_at] => 2025-12-22 14:49:32
    [login_redirect_count] => 0
)

[22-Dec-2025 15:00:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:00:15 Europe/Berlin] Session role: not set
[22-Dec-2025 15:00:15 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:00:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:00:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:00:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:00:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:00:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 15:00:46
)

[22-Dec-2025 15:00:46 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 15:00:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 15:00:46
)

[22-Dec-2025 15:01:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:01:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:01:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 15:00:46
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1766412061
    [last_regeneration] => 1766412061
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[22-Dec-2025 15:01:15 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 15:01:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 15:00:46
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [created_at] => 1766412061
    [last_regeneration] => 1766412061
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[22-Dec-2025 15:01:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:01:30 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:01:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-22 15:00:46
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1766412061
    [last_regeneration] => 1766412061
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[22-Dec-2025 15:01:30 Europe/Berlin] isLoggedIn check result: false
[22-Dec-2025 15:01:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-22 15:00:46
    [login_redirect_count] => 2
    [last_page] => /teacher/notifications.php
    [created_at] => 1766412061
    [last_regeneration] => 1766412061
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[22-Dec-2025 15:05:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:05:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 15:05:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
)

[22-Dec-2025 15:05:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
)

[22-Dec-2025 15:05:42 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
)

[22-Dec-2025 15:05:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:05:42 Europe/Berlin] Session role: not set
[22-Dec-2025 15:05:42 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:05:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:05:43 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 14:05:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 14:05:43 UTC] Found 0 videos for teacher 44
[22-Dec-2025 15:05:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:05:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:05:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:43 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:05:43 Europe/Berlin] Session role: not set
[22-Dec-2025 15:05:43 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:05:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:05:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:05:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:05:46 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 15:05:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:46 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:46 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:05:46 Europe/Berlin] Session role: not set
[22-Dec-2025 15:05:46 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:05:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:05:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:05:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:05:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:05:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:05:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:05:47 Europe/Berlin] Session role: not set
[22-Dec-2025 15:05:47 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:05:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:05:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 15:06:06 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
    [detected_platform] => youtube
    [video_id_external] => hb5ypV0ZHt0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/hb5ypV0ZHt0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 2:40
    [video_type] => url
    [manual_duration] => 
    [title] => MDB - 1 Minute Quick Start
    [course_id] => 21
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 15:06:06 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 15:06:06 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 15:06:06 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 15:06:06 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 15:06:06 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 15:06:06 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 15:06:06 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 15:06:06 Europe/Berlin]   video_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:06:06 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:06:06 Europe/Berlin]   video_id_external: hb5ypV0ZHt0
[22-Dec-2025 15:06:06 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/hb5ypV0ZHt0?rel=0&showinfo=0&mo...
[22-Dec-2025 15:06:06 Europe/Berlin]   detected_duration: 2:40
[22-Dec-2025 15:06:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:06:06 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:06:06 Europe/Berlin]   title: MDB - 1 Minute Quick Start
[22-Dec-2025 15:06:06 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:06:06 Europe/Berlin]   description: welcome
[22-Dec-2025 15:06:06 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 15:06:06 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:06:06 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 15:06:06 Europe/Berlin]   ajax: 1
[22-Dec-2025 15:06:06 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 15:06:06 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 15:06:06 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 15:06:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:06:06 Europe/Berlin]   video_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:06:06 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:06:06 Europe/Berlin]   video_id_external: hb5ypV0ZHt0
[22-Dec-2025 15:06:06 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 15:06:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:06:06 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 15:06:06 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 15:06:06 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:06:06 Europe/Berlin]   video_id_ext: hb5ypV0ZHt0
[22-Dec-2025 15:06:06 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/hb5ypV0ZHt0/maxresdefault.jpg
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 15:06:06 Europe/Berlin]   detected_duration: 2:40
[22-Dec-2025 15:06:06 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:06:06 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 15:06:06 Europe/Berlin] 🎯 FOUND detected_duration field: 2:40
[22-Dec-2025 15:06:06 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 2:40
[22-Dec-2025 15:06:06 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 15:06:06 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 15:06:06 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:06:06 Europe/Berlin]   title: MDB - 1 Minute Quick Start
[22-Dec-2025 15:06:06 Europe/Berlin]   description: welcome
[22-Dec-2025 15:06:06 Europe/Berlin]   video_type: url
[22-Dec-2025 15:06:06 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/hb5ypV0ZHt0/maxresdefault.jpg
[22-Dec-2025 15:06:06 Europe/Berlin]   external_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:06:06 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:06:06 Europe/Berlin]   video_id_ext: hb5ypV0ZHt0
[22-Dec-2025 15:06:06 Europe/Berlin]   duration: 2:40
[22-Dec-2025 15:06:06 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:06:06 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 15:06:06 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 15:06:06 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 15:06:06 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 15:06:06 Europe/Berlin]   Generated video_id: 53
[22-Dec-2025 15:06:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:06:09 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:06:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:06:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:09 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:06:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:06:09 Europe/Berlin] Session role: not set
[22-Dec-2025 15:06:09 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:06:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:06:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:06:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:06:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:06:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:10 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:06:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412341
    [last_regeneration] => 1766412341
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412341
    [session_started_at] => 2025-12-22 15:05:42
    [login_redirect_count] => 0
)

[22-Dec-2025 15:06:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:06:10 Europe/Berlin] Session role: not set
[22-Dec-2025 15:06:10 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:06:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:06:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:07:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 15:07:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
)

[22-Dec-2025 15:07:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
)

[22-Dec-2025 15:07:13 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
)

[22-Dec-2025 15:07:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:13 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:13 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:14 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 14:07:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 14:07:14 UTC] Found 0 videos for teacher 44
[22-Dec-2025 15:07:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:07:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:15 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:15 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:15 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:15 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:07:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:17 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:07:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:17 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:17 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:17 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:17 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:07:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:07:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:19 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:19 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:19 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:19 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:07:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:24 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 15:07:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:24 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:24 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:24 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:24 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:07:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:07:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:25 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:25 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 15:07:43 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
    [detected_platform] => youtube
    [video_id_external] => hb5ypV0ZHt0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/hb5ypV0ZHt0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 2:40
    [video_type] => url
    [manual_duration] => 
    [title] => MDB - 1 Minute Quick Start
    [course_id] => 21
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 15:07:43 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 15:07:43 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 15:07:43 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 15:07:43 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 15:07:43 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 15:07:43 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 15:07:43 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 15:07:43 Europe/Berlin]   video_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:07:43 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:07:43 Europe/Berlin]   video_id_external: hb5ypV0ZHt0
[22-Dec-2025 15:07:43 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/hb5ypV0ZHt0?rel=0&showinfo=0&mo...
[22-Dec-2025 15:07:43 Europe/Berlin]   detected_duration: 2:40
[22-Dec-2025 15:07:43 Europe/Berlin]   video_type: url
[22-Dec-2025 15:07:43 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:07:43 Europe/Berlin]   title: MDB - 1 Minute Quick Start
[22-Dec-2025 15:07:43 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:07:43 Europe/Berlin]   description: welcome
[22-Dec-2025 15:07:43 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 15:07:43 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:07:43 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 15:07:43 Europe/Berlin]   ajax: 1
[22-Dec-2025 15:07:43 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 15:07:43 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 15:07:43 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 15:07:43 Europe/Berlin]   video_type: url
[22-Dec-2025 15:07:43 Europe/Berlin]   video_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:07:43 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:07:43 Europe/Berlin]   video_id_external: hb5ypV0ZHt0
[22-Dec-2025 15:07:43 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 15:07:43 Europe/Berlin]   video_type: url
[22-Dec-2025 15:07:43 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 15:07:43 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 15:07:43 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:07:43 Europe/Berlin]   video_id_ext: hb5ypV0ZHt0
[22-Dec-2025 15:07:43 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/hb5ypV0ZHt0/maxresdefault.jpg
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 15:07:43 Europe/Berlin]   detected_duration: 2:40
[22-Dec-2025 15:07:43 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:07:43 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 15:07:43 Europe/Berlin] 🎯 FOUND detected_duration field: 2:40
[22-Dec-2025 15:07:43 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 2:40
[22-Dec-2025 15:07:43 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 15:07:43 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 15:07:43 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:07:43 Europe/Berlin]   title: MDB - 1 Minute Quick Start
[22-Dec-2025 15:07:43 Europe/Berlin]   description: welcome
[22-Dec-2025 15:07:43 Europe/Berlin]   video_type: url
[22-Dec-2025 15:07:43 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/hb5ypV0ZHt0/maxresdefault.jpg
[22-Dec-2025 15:07:43 Europe/Berlin]   external_url: https://youtu.be/hb5ypV0ZHt0?si=dIaxi7xulzWBf_52
[22-Dec-2025 15:07:43 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:07:43 Europe/Berlin]   video_id_ext: hb5ypV0ZHt0
[22-Dec-2025 15:07:43 Europe/Berlin]   duration: 2:40
[22-Dec-2025 15:07:43 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:07:43 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 15:07:43 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 15:07:43 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 15:07:43 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 15:07:43 Europe/Berlin]   Generated video_id: 54
[22-Dec-2025 15:07:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:46 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:07:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:46 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:46 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:46 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:46 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:07:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:07:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:07:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:07:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:07:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:07:47 Europe/Berlin] Session role: not set
[22-Dec-2025 15:07:47 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:07:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:07:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:08:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:08:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:18 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:18 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:18 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:18 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:08:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 14:08:32 UTC] Teacher Auth Check - Script: manage-course-materials.php
[22-Dec-2025 14:08:32 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 14:08:32 UTC] isLoggedIn check result: true
[22-Dec-2025 14:08:32 UTC] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 14:08:32 UTC] isLoggedIn check result: true
[22-Dec-2025 14:08:32 UTC] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 14:08:32 UTC] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 14:08:32 UTC] Session role: not set
[22-Dec-2025 14:08:32 UTC] Session user_role: teacher
[22-Dec-2025 14:08:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:08:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:08:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:33 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:33 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:33 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:08:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[22-Dec-2025 15:08:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:36 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:36 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:36 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:36 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:36 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[22-Dec-2025 15:08:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:08:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:38 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:38 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:38 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:08:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:40 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 15:08:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:40 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:40 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:08:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:08:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:40 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:40 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:08:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 15:08:56 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
    [detected_platform] => youtube
    [video_id_external] => VJnTBAQEQX8
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/VJnTBAQEQX8?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:55
    [video_type] => url
    [manual_duration] => 
    [title] => Bootstrap 4 alpha - New Features in under 1 minute
    [course_id] => 17
    [description] => welcome
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 15:08:56 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 15:08:56 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 15:08:56 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 15:08:56 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 15:08:56 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 15:08:56 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 15:08:56 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 15:08:56 Europe/Berlin]   video_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:08:56 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:08:56 Europe/Berlin]   video_id_external: VJnTBAQEQX8
[22-Dec-2025 15:08:56 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/VJnTBAQEQX8?rel=0&showinfo=0&mo...
[22-Dec-2025 15:08:56 Europe/Berlin]   detected_duration: 0:55
[22-Dec-2025 15:08:56 Europe/Berlin]   video_type: url
[22-Dec-2025 15:08:56 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:08:56 Europe/Berlin]   title: Bootstrap 4 alpha - New Features in under 1 minute
[22-Dec-2025 15:08:56 Europe/Berlin]   course_id: 17
[22-Dec-2025 15:08:56 Europe/Berlin]   description: welcome
[22-Dec-2025 15:08:56 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 15:08:56 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:08:56 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 15:08:56 Europe/Berlin]   ajax: 1
[22-Dec-2025 15:08:56 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 15:08:56 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 15:08:56 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 15:08:56 Europe/Berlin]   video_type: url
[22-Dec-2025 15:08:56 Europe/Berlin]   video_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:08:56 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:08:56 Europe/Berlin]   video_id_external: VJnTBAQEQX8
[22-Dec-2025 15:08:56 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 15:08:56 Europe/Berlin]   video_type: url
[22-Dec-2025 15:08:56 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 15:08:56 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 15:08:56 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:08:56 Europe/Berlin]   video_id_ext: VJnTBAQEQX8
[22-Dec-2025 15:08:56 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/VJnTBAQEQX8/maxresdefault.jpg
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 15:08:56 Europe/Berlin]   detected_duration: 0:55
[22-Dec-2025 15:08:56 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:08:56 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 15:08:56 Europe/Berlin] 🎯 FOUND detected_duration field: 0:55
[22-Dec-2025 15:08:56 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:55
[22-Dec-2025 15:08:56 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 15:08:56 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 15:08:56 Europe/Berlin]   course_id: 17
[22-Dec-2025 15:08:56 Europe/Berlin]   title: Bootstrap 4 alpha - New Features in under 1 minute
[22-Dec-2025 15:08:56 Europe/Berlin]   description: welcome
[22-Dec-2025 15:08:56 Europe/Berlin]   video_type: url
[22-Dec-2025 15:08:56 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/VJnTBAQEQX8/maxresdefault.jpg
[22-Dec-2025 15:08:56 Europe/Berlin]   external_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:08:56 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:08:56 Europe/Berlin]   video_id_ext: VJnTBAQEQX8
[22-Dec-2025 15:08:56 Europe/Berlin]   duration: 0:55
[22-Dec-2025 15:08:56 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:08:56 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 15:08:56 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 15:08:56 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 15:08:56 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 15:08:56 Europe/Berlin]   Generated video_id: 55
[22-Dec-2025 15:08:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:08:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:08:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:59 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:08:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:08:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:08:59 Europe/Berlin] Session role: not set
[22-Dec-2025 15:08:59 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:08:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:09:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:09:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:09:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:00 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:09:00 Europe/Berlin] Session role: not set
[22-Dec-2025 15:09:00 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:09:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:09:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:09:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:09:22 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[22-Dec-2025 15:09:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:22 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:22 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:09:22 Europe/Berlin] Session role: not set
[22-Dec-2025 15:09:22 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:09:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:09:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:09:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:09:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:09:25 Europe/Berlin] Session role: not set
[22-Dec-2025 15:09:25 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:09:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:09:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 USER ID: NOT SET
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 USER ROLE: NOT SET
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 SESSION STATUS: 1
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 SESSION ID: 
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[22-Dec-2025 15:09:44 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 44
    [video_url] => https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
    [detected_platform] => youtube
    [video_id_external] => VJnTBAQEQX8
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/VJnTBAQEQX8?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:55
    [video_type] => url
    [manual_duration] => 
    [title] => Bootstrap 4 alpha - New Features in under 1 minute
    [course_id] => 21
    [description] => wele
    [category_name] => Learning and Development
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[22-Dec-2025 15:09:44 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[22-Dec-2025 15:09:44 Europe/Berlin] 📥 REQUEST METHOD: POST
[22-Dec-2025 15:09:44 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[22-Dec-2025 15:09:44 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[22-Dec-2025 15:09:44 Europe/Berlin] 📋 ALL POST DATA:
[22-Dec-2025 15:09:44 Europe/Berlin]   form_type: video_upload
[22-Dec-2025 15:09:44 Europe/Berlin]   teacher_id: 44
[22-Dec-2025 15:09:44 Europe/Berlin]   video_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:09:44 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:09:44 Europe/Berlin]   video_id_external: VJnTBAQEQX8
[22-Dec-2025 15:09:44 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/VJnTBAQEQX8?rel=0&showinfo=0&mo...
[22-Dec-2025 15:09:44 Europe/Berlin]   detected_duration: 0:55
[22-Dec-2025 15:09:44 Europe/Berlin]   video_type: url
[22-Dec-2025 15:09:44 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:09:44 Europe/Berlin]   title: Bootstrap 4 alpha - New Features in under 1 minute
[22-Dec-2025 15:09:44 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:09:44 Europe/Berlin]   description: wele
[22-Dec-2025 15:09:44 Europe/Berlin]   category_name: Learning and Development
[22-Dec-2025 15:09:44 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:09:44 Europe/Berlin]   content_types: [quiz]
[22-Dec-2025 15:09:44 Europe/Berlin]   ajax: 1
[22-Dec-2025 15:09:44 Europe/Berlin] 📂 ALL FILES DATA:
[22-Dec-2025 15:09:44 Europe/Berlin]   video:  (0 bytes, error: 4)
[22-Dec-2025 15:09:44 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[22-Dec-2025 15:09:44 Europe/Berlin]   video_type: url
[22-Dec-2025 15:09:44 Europe/Berlin]   video_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:09:44 Europe/Berlin]   detected_platform: youtube
[22-Dec-2025 15:09:44 Europe/Berlin]   video_id_external: VJnTBAQEQX8
[22-Dec-2025 15:09:44 Europe/Berlin]   embed_code: HAS_VALUE
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[22-Dec-2025 15:09:44 Europe/Berlin]   video_type: url
[22-Dec-2025 15:09:44 Europe/Berlin]   $_FILES available: YES
[22-Dec-2025 15:09:44 Europe/Berlin]   $_FILES keys: video, thumbnail
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[22-Dec-2025 15:09:44 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:09:44 Europe/Berlin]   video_id_ext: VJnTBAQEQX8
[22-Dec-2025 15:09:44 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/VJnTBAQEQX8/maxresdefault.jpg
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[22-Dec-2025 15:09:44 Europe/Berlin]   detected_duration: 0:55
[22-Dec-2025 15:09:44 Europe/Berlin]   manual_duration: 
[22-Dec-2025 15:09:44 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[22-Dec-2025 15:09:44 Europe/Berlin] 🎯 FOUND detected_duration field: 0:55
[22-Dec-2025 15:09:44 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:55
[22-Dec-2025 15:09:44 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[22-Dec-2025 15:09:44 Europe/Berlin]   teacher_id: 14
[22-Dec-2025 15:09:44 Europe/Berlin]   course_id: 21
[22-Dec-2025 15:09:44 Europe/Berlin]   title: Bootstrap 4 alpha - New Features in under 1 minute
[22-Dec-2025 15:09:44 Europe/Berlin]   description: wele
[22-Dec-2025 15:09:44 Europe/Berlin]   video_type: url
[22-Dec-2025 15:09:44 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/VJnTBAQEQX8/maxresdefault.jpg
[22-Dec-2025 15:09:44 Europe/Berlin]   external_url: https://youtu.be/VJnTBAQEQX8?si=QjGcx4xWwEbuJKVW
[22-Dec-2025 15:09:44 Europe/Berlin]   platform: youtube
[22-Dec-2025 15:09:44 Europe/Berlin]   video_id_ext: VJnTBAQEQX8
[22-Dec-2025 15:09:44 Europe/Berlin]   duration: 0:55
[22-Dec-2025 15:09:44 Europe/Berlin]   is_published: 1
[22-Dec-2025 15:09:44 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[22-Dec-2025 15:09:44 Europe/Berlin]   SQL prepared successfully
[22-Dec-2025 15:09:44 Europe/Berlin]   About to execute with bound parameters
[22-Dec-2025 15:09:44 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[22-Dec-2025 15:09:44 Europe/Berlin]   Generated video_id: 56
[22-Dec-2025 15:09:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:09:47 Europe/Berlin] Teacher Auth Check - Script: videos.php
[22-Dec-2025 15:09:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:09:47 Europe/Berlin] Session role: not set
[22-Dec-2025 15:09:47 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:09:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:09:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 15:09:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 15:09:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 15:09:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766412431
    [last_regeneration] => 1766412431
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766412431
    [session_started_at] => 2025-12-22 15:07:13
    [login_redirect_count] => 0
)

[22-Dec-2025 15:09:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 15:09:47 Europe/Berlin] Session role: not set
[22-Dec-2025 15:09:47 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 14:09:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 14:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 16:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 16:15:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[22-Dec-2025 16:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
)

[22-Dec-2025 16:15:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
)

[22-Dec-2025 16:15:25 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
)

[22-Dec-2025 16:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 16:15:25 Europe/Berlin] Session role: not set
[22-Dec-2025 16:15:25 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 15:15:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:15:28 UTC] Fetching videos for teacher_id: 44
[22-Dec-2025 15:15:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[22-Dec-2025 15:15:28 UTC] Found 0 videos for teacher 44
[22-Dec-2025 16:15:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 16:15:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 16:15:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:29 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:29 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 16:15:29 Europe/Berlin] Session role: not set
[22-Dec-2025 16:15:29 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 15:15:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:15:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[22-Dec-2025 16:15:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 16:15:44 Europe/Berlin] Teacher Auth Check - Script: profile.php
[22-Dec-2025 16:15:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:44 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:44 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 16:15:44 Europe/Berlin] Session role: not set
[22-Dec-2025 16:15:44 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 15:15:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 16:15:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[22-Dec-2025 16:15:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[22-Dec-2025 16:15:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:45 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:45 Europe/Berlin] isLoggedIn check result: true
[22-Dec-2025 16:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766416524
    [last_regeneration] => 1766416524
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766416524
    [session_started_at] => 2025-12-22 16:15:25
    [login_redirect_count] => 0
)

[22-Dec-2025 16:15:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[22-Dec-2025 16:15:45 Europe/Berlin] Session role: not set
[22-Dec-2025 16:15:45 Europe/Berlin] Session user_role: teacher
[22-Dec-2025 15:15:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[22-Dec-2025 15:15:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:38:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 05:38:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
)

[23-Dec-2025 05:38:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
)

[23-Dec-2025 05:38:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
)

[23-Dec-2025 05:38:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:28 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:28 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:38:29 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 04:38:29 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 04:38:29 UTC] Found 0 videos for teacher 44
[23-Dec-2025 05:38:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:38:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464706
    [last_regeneration] => 1766464706
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464706
    [session_started_at] => 2025-12-23 05:38:28
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:34 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:38:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:38:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 05:38:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
)

[23-Dec-2025 05:38:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
)

[23-Dec-2025 05:38:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
)

[23-Dec-2025 05:38:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:43 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:38:44 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 04:38:44 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 04:38:44 UTC] Found 0 videos for teacher 44
[23-Dec-2025 05:38:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:38:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:44 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:38:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:49 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 05:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:49 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:38:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:38:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:38:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:38:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:38:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:38:50 Europe/Berlin] Session role: not set
[23-Dec-2025 05:38:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:38:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:38:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:39:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:39:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:39:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:39:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:39:20 Europe/Berlin] Session role: not set
[23-Dec-2025 05:39:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:39:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:39:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:39:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:39:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:39:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:39:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:39:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:39:50 Europe/Berlin] Session role: not set
[23-Dec-2025 05:39:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:39:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:39:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:40:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:40:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:40:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:40:21 Europe/Berlin] Session role: not set
[23-Dec-2025 05:40:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:40:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:40:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:40:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:40:31 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 05:40:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:40:31 Europe/Berlin] Session role: not set
[23-Dec-2025 05:40:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:40:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:40:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:40:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:40:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:40:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:40:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:40:32 Europe/Berlin] Session role: not set
[23-Dec-2025 05:40:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:40:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:40:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:41:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:41:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:41:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:41:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:41:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:41:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:41:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:41:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:41:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:41:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:41:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:41:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:41:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:41:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:41:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:41:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:41:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:41:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:42:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:42:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:42:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:42:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:42:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:42:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:42:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:42:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:42:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:42:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:42:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:42:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:42:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:42:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:42:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:42:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:42:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:43:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:43:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:43:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:43:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:43:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:43:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:43:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:43:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:43:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:43:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:43:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:43:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:43:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:43:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:43:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:43:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:43:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:43:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:43:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:44:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:44:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:44:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:44:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:44:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:44:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:44:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:44:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:44:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:44:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:44:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:44:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:44:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:44:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:44:44 Europe/Berlin] Session role: not set
[23-Dec-2025 05:44:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:44:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:44:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:45:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:45:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:45:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:45:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:45:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:45:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:45:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:45:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:45:42 Europe/Berlin] Session role: not set
[23-Dec-2025 05:45:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:45:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:45:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:46:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:46:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:46:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:46:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:46:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:46:28 Europe/Berlin] Session role: not set
[23-Dec-2025 05:46:28 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:46:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:46:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:46:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:46:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:46:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:46:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:46:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:46:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:46:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:46:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:46:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:46:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:47:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:47:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:47:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:47:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:47:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:47:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:47:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:47:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:47:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:47:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:47:42 Europe/Berlin] Session role: not set
[23-Dec-2025 05:47:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:47:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:47:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:48:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:48:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:48:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:48:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:48:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:48:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:48:42 Europe/Berlin] Session role: not set
[23-Dec-2025 05:48:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:48:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:48:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:49:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:49:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:49:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:49:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:49:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:49:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:49:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:49:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:49:42 Europe/Berlin] Session role: not set
[23-Dec-2025 05:49:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:49:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:49:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:50:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:50:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:50:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:50:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:50:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:50:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:50:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:50:46 Europe/Berlin] Session role: not set
[23-Dec-2025 05:50:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:50:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:50:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:51:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:51:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:51:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:51:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:51:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:51:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:51:42 Europe/Berlin] Session role: not set
[23-Dec-2025 05:51:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:51:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:51:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:52:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:52:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:52:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:52:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:52:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:52:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:52:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:52:44 Europe/Berlin] Session role: not set
[23-Dec-2025 05:52:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:52:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:52:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:53:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:53:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:53:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:53:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:53:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:53:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:53:49 Europe/Berlin] Session role: not set
[23-Dec-2025 05:53:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:53:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:53:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:54:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:54:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:54:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:54:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:54:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:54:04 Europe/Berlin] Session role: not set
[23-Dec-2025 05:54:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:54:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:54:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:54:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:54:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:54:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:54:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:54:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:54:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:54:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:54:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:54:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:55:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:55:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:55:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:55:12 Europe/Berlin] Session role: not set
[23-Dec-2025 05:55:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:55:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:55:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:55:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:55:17 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 05:55:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:55:17 Europe/Berlin] Session role: not set
[23-Dec-2025 05:55:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:55:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:55:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:55:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:55:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:55:22 Europe/Berlin] Session role: not set
[23-Dec-2025 05:55:22 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:55:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:55:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:55:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:55:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:55:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:55:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:55:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:55:53 Europe/Berlin] Session role: not set
[23-Dec-2025 05:55:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:55:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:55:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:56:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:56:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:56:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:56:22 Europe/Berlin] Session role: not set
[23-Dec-2025 05:56:22 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:56:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:56:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:56:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:56:32 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 05:56:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:56:32 Europe/Berlin] Session role: not set
[23-Dec-2025 05:56:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:56:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:56:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:56:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:56:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:56:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:56:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:56:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:56:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:56:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:57:03 Europe/Berlin] Session role: not set
[23-Dec-2025 05:57:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:57:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:57:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:57:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:57:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:57:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:57:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:57:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:57:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:57:33 Europe/Berlin] Session role: not set
[23-Dec-2025 05:57:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:57:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:57:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:58:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:58:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:58:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:58:04 Europe/Berlin] Session role: not set
[23-Dec-2025 05:58:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:58:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:58:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:58:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:58:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:58:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:58:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:58:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:58:35 Europe/Berlin] Session role: not set
[23-Dec-2025 05:58:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:58:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:58:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:59:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:59:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:59:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:59:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:59:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:59:04 Europe/Berlin] Session role: not set
[23-Dec-2025 05:59:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:59:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:59:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 05:59:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 05:59:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 05:59:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:59:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 05:59:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 05:59:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 05:59:36 Europe/Berlin] Session role: not set
[23-Dec-2025 05:59:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 04:59:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 04:59:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:00:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:00:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:00:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:00:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:00:05 Europe/Berlin] Session role: not set
[23-Dec-2025 06:00:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:00:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:00:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:00:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:00:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:00:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:00:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:00:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:00:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:00:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:00:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:00:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:01:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:01:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:01:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:01:03 Europe/Berlin] Session role: not set
[23-Dec-2025 06:01:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:01:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:01:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:01:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:01:04 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:01:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:01:04 Europe/Berlin] Session role: not set
[23-Dec-2025 06:01:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:01:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:01:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:01:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:01:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:01:05 Europe/Berlin] Session role: not set
[23-Dec-2025 06:01:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:01:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:01:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:01:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:01:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:01:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:01:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:01:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:01:36 Europe/Berlin] Session role: not set
[23-Dec-2025 06:01:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:01:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:01:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:02:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:02:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:02:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:02:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:02:06 Europe/Berlin] Session role: not set
[23-Dec-2025 06:02:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:02:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:02:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:02:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:02:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:02:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:02:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:02:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:02:40 Europe/Berlin] Session role: not set
[23-Dec-2025 06:02:40 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:02:40 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:02:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:03:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:03:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:03:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:03:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:03:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:03:07 Europe/Berlin] Session role: not set
[23-Dec-2025 06:03:07 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:03:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:03:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:03:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:03:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:03:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:03:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:03:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:03:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:03:36 Europe/Berlin] Session role: not set
[23-Dec-2025 06:03:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:03:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:03:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:04:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:04:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:04:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:04:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:04:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:04:06 Europe/Berlin] Session role: not set
[23-Dec-2025 06:04:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:04:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:04:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:04:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:04:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:04:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:04:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:04:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:04:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:04:36 Europe/Berlin] Session role: not set
[23-Dec-2025 06:04:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:04:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:04:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:05:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:05:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:05:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:05:06 Europe/Berlin] Session role: not set
[23-Dec-2025 06:05:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:05:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:05:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:05:31 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:05:31 Europe/Berlin] Session role: not set
[23-Dec-2025 06:05:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:05:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:05:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:05:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:05:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:05:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:05:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:05:33 Europe/Berlin] Session role: not set
[23-Dec-2025 06:05:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:05:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:05:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:06:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:06:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:06:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:06:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:06:03 Europe/Berlin] Session role: not set
[23-Dec-2025 06:06:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:06:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:06:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:06:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:06:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:06:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:06:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:06:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:06:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:06:33 Europe/Berlin] Session role: not set
[23-Dec-2025 06:06:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:06:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:06:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:07:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:07:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:07:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:07:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:07:04 Europe/Berlin] Session role: not set
[23-Dec-2025 06:07:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:07:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:07:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:07:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:07:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:07:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:07:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:07:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:07:34 Europe/Berlin] Session role: not set
[23-Dec-2025 06:07:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:07:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:07:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:08:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:08:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:08:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:08:06 Europe/Berlin] Session role: not set
[23-Dec-2025 06:08:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:08:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:08:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:08:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:08:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:08:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:08:34 Europe/Berlin] Session role: not set
[23-Dec-2025 06:08:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:08:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:08:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:08:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:08:42 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:08:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:08:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:08:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:08:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:08:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:08:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:08:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:08:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:08:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:08:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:08:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:08:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:09:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:09:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:09:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:09:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:09:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:09:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:09:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:09:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:09:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:09:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:09:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:09:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:09:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:09:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:09:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:09:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:09:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:09:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:10:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:10:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:10:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:10:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:10:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:10:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:10:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:10:36 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:10:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:10:36 Europe/Berlin] Session role: not set
[23-Dec-2025 06:10:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:10:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:10:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:10:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:10:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:10:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:10:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:10:37 Europe/Berlin] Session role: not set
[23-Dec-2025 06:10:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:10:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:10:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:11:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:11:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:11:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:11:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:11:08 Europe/Berlin] Session role: not set
[23-Dec-2025 06:11:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:11:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:11:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:11:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:11:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:11:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:11:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:11:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:11:37 Europe/Berlin] Session role: not set
[23-Dec-2025 06:11:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:11:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:11:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:12:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:12:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:12:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:12:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:12:08 Europe/Berlin] Session role: not set
[23-Dec-2025 06:12:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:12:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:12:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:12:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:12:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:12:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:12:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:12:37 Europe/Berlin] Session role: not set
[23-Dec-2025 06:12:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:12:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:12:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:13:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:13:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:13:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:13:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:13:09 Europe/Berlin] Session role: not set
[23-Dec-2025 06:13:09 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:13:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:13:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:13:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:13:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:13:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:13:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:13:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:13:38 Europe/Berlin] Session role: not set
[23-Dec-2025 06:13:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:13:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:13:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:14:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:14:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:14:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:14:15 Europe/Berlin] Session role: not set
[23-Dec-2025 06:14:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:14:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:14:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:14:25 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:14:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:14:25 Europe/Berlin] Session role: not set
[23-Dec-2025 06:14:25 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:14:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:14:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:14:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:14:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:14:26 Europe/Berlin] Session role: not set
[23-Dec-2025 06:14:26 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:14:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:14:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:14:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:14:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:14:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:14:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:14:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:14:56 Europe/Berlin] Session role: not set
[23-Dec-2025 06:14:56 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:14:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:14:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:15:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:15:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:15:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:15:27 Europe/Berlin] Session role: not set
[23-Dec-2025 06:15:27 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:15:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:15:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:15:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:15:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:15:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:15:56 Europe/Berlin] Session role: not set
[23-Dec-2025 06:15:56 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:15:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:15:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:15:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:15:59 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:15:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:15:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:15:59 Europe/Berlin] Session role: not set
[23-Dec-2025 06:15:59 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:15:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:16:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:16:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:16:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:16:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:16:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:16:00 Europe/Berlin] Session role: not set
[23-Dec-2025 06:16:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:16:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:16:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:16:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:16:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:16:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:16:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:16:30 Europe/Berlin] Session role: not set
[23-Dec-2025 06:16:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:16:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:16:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:17:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:17:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:17:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:17:01 Europe/Berlin] Session role: not set
[23-Dec-2025 06:17:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:17:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:17:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:17:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:17:11 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:17:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:17:11 Europe/Berlin] Session role: not set
[23-Dec-2025 06:17:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:17:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:17:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:17:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:17:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:17:12 Europe/Berlin] Session role: not set
[23-Dec-2025 06:17:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:17:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:17:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:17:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:17:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:17:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:17:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:17:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:17:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:17:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:17:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:18:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:18:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:18:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:18:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:18:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:18:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:18:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:18:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:18:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:18:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:18:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:18:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:18:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:18:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:18:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:18:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:18:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:19:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:19:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:19:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:19:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:19:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:19:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:19:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:19:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:19:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:19:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:19:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:19:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:19:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:19:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:19:44 Europe/Berlin] Session role: not set
[23-Dec-2025 06:19:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:19:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:19:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:20:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:20:08 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:20:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:20:08 Europe/Berlin] Session role: not set
[23-Dec-2025 06:20:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:20:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:20:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:20:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:20:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:20:09 Europe/Berlin] Session role: not set
[23-Dec-2025 06:20:09 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:20:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:20:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:20:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:20:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:20:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:20:39 Europe/Berlin] Session role: not set
[23-Dec-2025 06:20:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:20:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:20:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:20:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:20:43 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:20:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:20:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:20:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:20:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:20:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:20:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:20:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:20:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:20:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:20:44 Europe/Berlin] Session role: not set
[23-Dec-2025 06:20:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:20:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:20:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:21:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:21:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:21:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:21:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:21:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:21:15 Europe/Berlin] Session role: not set
[23-Dec-2025 06:21:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:21:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:21:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:21:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:21:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:21:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:21:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:21:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:21:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:21:44 Europe/Berlin] Session role: not set
[23-Dec-2025 06:21:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:21:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:21:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:22:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:22:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:22:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:22:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:22:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:22:18 Europe/Berlin] Session role: not set
[23-Dec-2025 06:22:18 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:22:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:22:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:22:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:22:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:22:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:22:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:22:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:22:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:22:45 Europe/Berlin] Session role: not set
[23-Dec-2025 06:22:45 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:22:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:22:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:23:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:23:01 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:23:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:23:01 Europe/Berlin] Session role: not set
[23-Dec-2025 06:23:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:23:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:23:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:23:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:23:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:23:02 Europe/Berlin] Session role: not set
[23-Dec-2025 06:23:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:23:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:23:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:23:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:23:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:23:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:23:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:23:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:23:36 Europe/Berlin] Session role: not set
[23-Dec-2025 06:23:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:23:36 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:23:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:24:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:24:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:24:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:24:03 Europe/Berlin] Session role: not set
[23-Dec-2025 06:24:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:24:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:24:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:24:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:24:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:24:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:24:33 Europe/Berlin] Session role: not set
[23-Dec-2025 06:24:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:24:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:24:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:24:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:24:42 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:24:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:24:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:24:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:24:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:24:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:24:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:24:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:24:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:24:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:24:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:24:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:24:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:24:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:25:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:25:11 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:25:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:25:11 Europe/Berlin] Session role: not set
[23-Dec-2025 06:25:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:25:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:25:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:25:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:25:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:25:12 Europe/Berlin] Session role: not set
[23-Dec-2025 06:25:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:25:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:25:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:25:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:25:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:25:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:25:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:25:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:25:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:25:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:25:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:26:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:26:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:26:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:26:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:26:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:26:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:26:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:26:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:26:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:26:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:26:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:26:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:26:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:26:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:26:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:26:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:26:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:26:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:26:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:27:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:27:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:27:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:27:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:27:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:27:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:27:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:27:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:27:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:27:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:27:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:27:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:27:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:27:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:27:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:27:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:27:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:27:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:30:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:30:59 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:30:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:30:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:30:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:30:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:30:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:30:59 Europe/Berlin] Session role: not set
[23-Dec-2025 06:30:59 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:30:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:30:59 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.experience' in 'field list'
[23-Dec-2025 05:31:00 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.experience' in 'field list'
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 657
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 657
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 708
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 708
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 981
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 985
[23-Dec-2025 05:31:00 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 1011
[23-Dec-2025 06:31:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:31:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:31:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:31:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:31:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:31:00 Europe/Berlin] Session role: not set
[23-Dec-2025 06:31:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:31:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:31:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:31:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:31:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:31:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:31:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:31:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:31:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:31:31 Europe/Berlin] Session role: not set
[23-Dec-2025 06:31:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:31:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:31:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:32:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:32:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:32:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:32:01 Europe/Berlin] Session role: not set
[23-Dec-2025 06:32:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:32:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:32:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:32:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:32:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:32:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:32:31 Europe/Berlin] Session role: not set
[23-Dec-2025 06:32:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:32:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:32:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:32:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:32:53 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:32:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:32:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:32:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:32:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:32:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:32:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:32:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:32:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:32:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:32:54 Europe/Berlin] Session role: not set
[23-Dec-2025 06:32:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:32:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:32:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:33:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:33:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:33:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:33:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:33:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:33:26 Europe/Berlin] Session role: not set
[23-Dec-2025 06:33:26 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:33:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:33:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:33:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:33:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:33:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:33:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:33:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:33:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:33:55 Europe/Berlin] Session role: not set
[23-Dec-2025 06:33:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:33:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:33:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:34:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:34:21 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:34:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:34:21 Europe/Berlin] Session role: not set
[23-Dec-2025 06:34:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:34:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:34:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:34:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:34:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:34:22 Europe/Berlin] Session role: not set
[23-Dec-2025 06:34:22 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:34:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:34:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:34:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:34:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:34:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:34:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:34:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:34:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:34:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:34:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:34:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:35:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:35:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:35:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:35:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:26 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:35:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:35:26 Europe/Berlin] Session role: not set
[23-Dec-2025 06:35:26 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:35:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:35:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:35:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:35:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:35:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:35:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:35:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:35:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:35:54 Europe/Berlin] Session role: not set
[23-Dec-2025 06:35:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:35:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:35:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:36:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:36:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:36:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:36:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:36:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:36:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:36:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:36:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:36:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:36:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:36:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:36:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:36:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:36:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:36:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:36:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:36:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:36:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:36:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:37:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:37:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:37:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:37:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:37:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:37:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:37:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:37:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:37:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:37:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:37:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:37:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:37:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:37:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:37:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:37:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:37:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:38:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:38:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:38:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:38:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:38:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:38:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:38:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:38:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:38:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:38:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:38:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:38:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:39:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:39:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:39:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:39:10 Europe/Berlin] Session role: not set
[23-Dec-2025 06:39:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:39:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:39:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:39:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:39:12 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:39:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:39:12 Europe/Berlin] Session role: not set
[23-Dec-2025 06:39:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:39:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:39:12 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.experience' in 'field list'
[23-Dec-2025 05:39:12 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.experience' in 'field list'
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 658
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 658
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 709
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 709
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 985
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 989
[23-Dec-2025 05:39:12 UTC] Error 8: Trying to access array offset on value of type null in /home/twpurnyc/public_html/teacher/profile.php on line 1015
[23-Dec-2025 06:39:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:39:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:39:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:39:13 Europe/Berlin] Session role: not set
[23-Dec-2025 06:39:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:39:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:39:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:39:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:39:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:39:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:39:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:39:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:39:44 Europe/Berlin] Session role: not set
[23-Dec-2025 06:39:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:39:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:39:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:40:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:40:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:40:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:40:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:40:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:40:14 Europe/Berlin] Session role: not set
[23-Dec-2025 06:40:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:40:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:40:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:40:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:40:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:40:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:40:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:40:44 Europe/Berlin] Session role: not set
[23-Dec-2025 06:40:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:40:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:40:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:41:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:41:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:41:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:41:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:41:14 Europe/Berlin] Session role: not set
[23-Dec-2025 06:41:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:41:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:41:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:41:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:41:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:41:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:41:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:41:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:41:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:41:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:41:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:41:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:41:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:42:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:42:04 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:42:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:42:04 Europe/Berlin] Session role: not set
[23-Dec-2025 06:42:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:42:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:42:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:42:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:42:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:42:05 Europe/Berlin] Session role: not set
[23-Dec-2025 06:42:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:42:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:42:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:42:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:42:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:42:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:42:35 Europe/Berlin] Session role: not set
[23-Dec-2025 06:42:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:42:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:42:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:42:37 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:42:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:42:37 Europe/Berlin] Session role: not set
[23-Dec-2025 06:42:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:42:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:42:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:42:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:42:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:42:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:42:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:42:38 Europe/Berlin] Session role: not set
[23-Dec-2025 06:42:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:42:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:42:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:43:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:43:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:43:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:43:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:43:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:43:09 Europe/Berlin] Session role: not set
[23-Dec-2025 06:43:09 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:43:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:43:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:43:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:43:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:43:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:43:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:43:39 Europe/Berlin] Session role: not set
[23-Dec-2025 06:43:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:43:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:43:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:44:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:44:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:44:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:44:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:44:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:44:10 Europe/Berlin] Session role: not set
[23-Dec-2025 06:44:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:44:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:44:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:44:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:44:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:44:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:44:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:44:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:44:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:44:39 Europe/Berlin] Session role: not set
[23-Dec-2025 06:44:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:44:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:44:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:45:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:45:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:45:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:45:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:45:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:45:10 Europe/Berlin] Session role: not set
[23-Dec-2025 06:45:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:45:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:45:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:45:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:45:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:45:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:45:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:45:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:45:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:45:39 Europe/Berlin] Session role: not set
[23-Dec-2025 06:45:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:45:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:45:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:46:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:46:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:46:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:46:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:46:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:46:11 Europe/Berlin] Session role: not set
[23-Dec-2025 06:46:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:46:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:46:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:46:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:46:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:46:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:46:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:46:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:46:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:46:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:46:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:46:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:46:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:47:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:47:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:47:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:47:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:47:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:47:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:48:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:48:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:48:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:48:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:48:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:48:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:48:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:48:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:48:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:48:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:48:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:49:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:49:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:49:49 Europe/Berlin] Session role: not set
[23-Dec-2025 06:49:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:49:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:50:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:50:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:50:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:50:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:50:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:50:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:50:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:50:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:50:43 Europe/Berlin] Session role: not set
[23-Dec-2025 06:50:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:50:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:50:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:51:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:51:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:51:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:51:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:51:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:51:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:51:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:51:42 Europe/Berlin] Session role: not set
[23-Dec-2025 06:51:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:51:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:51:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:52:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:52:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:52:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:52:17 Europe/Berlin] Session role: not set
[23-Dec-2025 06:52:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:52:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:52:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:52:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:52:21 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:52:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:52:21 Europe/Berlin] Session role: not set
[23-Dec-2025 06:52:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:52:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:52:21 UTC] Error 8: Undefined variable: update_user in /home/twpurnyc/public_html/teacher/profile.php on line 168
[23-Dec-2025 05:52:21 UTC] Error 2: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables in /home/twpurnyc/public_html/teacher/profile.php on line 863
[23-Dec-2025 06:52:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:52:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:52:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:52:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:52:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:52:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:52:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:52:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:52:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:52:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:52:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:52:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:52:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:52:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:52:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:52:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:53:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:53:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:53:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:53:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:53:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:53:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:53:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:53:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:53:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:53:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:53:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:53:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:53:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:53:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:53:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:53:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:53:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:54:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:54:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:54:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:54:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:54:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:54:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:54:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:54:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:54:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:54:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:54:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:54:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:54:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:54:53 Europe/Berlin] Session role: not set
[23-Dec-2025 06:54:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:54:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:54:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:55:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:55:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:55:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:55:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:55:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:55:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:55:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:55:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:55:23 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:55:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:55:23 Europe/Berlin] Session role: not set
[23-Dec-2025 06:55:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:55:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:55:23 UTC] Error 8: Undefined variable: update_user in /home/twpurnyc/public_html/teacher/profile.php on line 168
[23-Dec-2025 06:55:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:55:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:55:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:55:24 Europe/Berlin] Session role: not set
[23-Dec-2025 06:55:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:55:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:55:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:55:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:55:55 Europe/Berlin] Session role: not set
[23-Dec-2025 06:55:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:55:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:55:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:56:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:56:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:56:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:56:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:56:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:56:25 Europe/Berlin] Session role: not set
[23-Dec-2025 06:56:25 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:56:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:56:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:56:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:56:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:56:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:56:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:56:55 Europe/Berlin] Session role: not set
[23-Dec-2025 06:56:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:56:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:56:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:57:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:57:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:57:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:57:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:57:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:57:27 Europe/Berlin] Session role: not set
[23-Dec-2025 06:57:27 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:57:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:57:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:57:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:57:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:57:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:57:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:57:55 Europe/Berlin] Session role: not set
[23-Dec-2025 06:57:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:57:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:57:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:58:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:58:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:58:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:58:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:58:25 Europe/Berlin] Session role: not set
[23-Dec-2025 06:58:25 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:58:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:58:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:58:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:58:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:58:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:58:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:58:55 Europe/Berlin] Session role: not set
[23-Dec-2025 06:58:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:58:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:58:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:59:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:59:21 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 06:59:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:59:21 Europe/Berlin] Session role: not set
[23-Dec-2025 06:59:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:59:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:59:21 UTC] Error 8: Undefined variable: update_user in /home/twpurnyc/public_html/teacher/profile.php on line 168
[23-Dec-2025 06:59:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:59:22 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:59:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:59:22 Europe/Berlin] Session role: not set
[23-Dec-2025 06:59:22 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:59:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:59:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 06:59:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 06:59:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 06:59:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:52 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:52 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 06:59:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 06:59:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 06:59:52 Europe/Berlin] Session role: not set
[23-Dec-2025 06:59:52 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 05:59:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 05:59:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:00:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:00:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:00:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:00:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:00:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:00:23 Europe/Berlin] Session role: not set
[23-Dec-2025 07:00:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:00:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:00:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:00:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:00:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:00:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:00:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:00:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:00:53 Europe/Berlin] Session role: not set
[23-Dec-2025 07:00:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:00:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:00:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:01:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:01:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:01:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:01:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:01:23 Europe/Berlin] Session role: not set
[23-Dec-2025 07:01:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:01:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:01:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:01:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:01:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:01:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:52 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:52 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:01:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:01:52 Europe/Berlin] Session role: not set
[23-Dec-2025 07:01:52 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:01:52 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:01:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:02:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:02:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:02:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:02:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:02:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:02:23 Europe/Berlin] Session role: not set
[23-Dec-2025 07:02:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:02:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:02:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:02:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:02:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:02:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:02:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:02:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:02:53 Europe/Berlin] Session role: not set
[23-Dec-2025 07:02:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:02:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:02:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:03:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:03:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:03:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:03:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:03:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:03:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:03:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:03:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:03:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:03:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:03:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:03:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:04:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:04:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:04:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:04:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:04:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:04:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:04:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:04:43 Europe/Berlin] Session role: not set
[23-Dec-2025 07:04:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:04:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:04:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:05:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:05:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:05:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:05:11 Europe/Berlin] Session role: not set
[23-Dec-2025 07:05:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:05:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:05:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:05:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:05:14 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 07:05:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:05:14 Europe/Berlin] Session role: not set
[23-Dec-2025 07:05:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:05:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:05:14 UTC] Error 8: Undefined variable: update_user in /home/twpurnyc/public_html/teacher/profile.php on line 168
[23-Dec-2025 07:05:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:05:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:05:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:05:15 Europe/Berlin] Session role: not set
[23-Dec-2025 07:05:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:05:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:05:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:05:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:05:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:05:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:05:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:05:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:05:46 Europe/Berlin] Session role: not set
[23-Dec-2025 07:05:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:05:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:05:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:06:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:06:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:06:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:06:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:06:16 Europe/Berlin] Session role: not set
[23-Dec-2025 07:06:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:06:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:06:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:06:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:06:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:06:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:06:46 Europe/Berlin] Session role: not set
[23-Dec-2025 07:06:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:06:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:06:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:07:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:07:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:07:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:07:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:07:18 Europe/Berlin] Session role: not set
[23-Dec-2025 07:07:18 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:07:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:07:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:07:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:07:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:07:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:07:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:07:46 Europe/Berlin] Session role: not set
[23-Dec-2025 07:07:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:07:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:07:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:08:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:08:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:08:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:08:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:08:16 Europe/Berlin] Session role: not set
[23-Dec-2025 07:08:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:08:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:08:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:08:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:08:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:08:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:08:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:08:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:08:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:08:46 Europe/Berlin] Session role: not set
[23-Dec-2025 07:08:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:08:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:08:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:09:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:09:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:09:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:09:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:09:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:09:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:09:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:09:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:09:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:09:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:09:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:10:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:10:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:10:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:10:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:10:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:10:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:10:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:10:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:10:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:10:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:10:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:10:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:11:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:11:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:11:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:11:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:11:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:11:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:11:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:11:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:11:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:11:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:11:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:11:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:12:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:12:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:12:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:12:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:12:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:12:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:12:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:12:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:12:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:12:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:12:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:13:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:13:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:13:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:13:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:13:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:13:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:13:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:13:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:13:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:13:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:13:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:14:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:14:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:14:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:14:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:14:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:14:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:14:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:14:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:14:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:14:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:14:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:14:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:15:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:15:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:15:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:15:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:15:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:15:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:15:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:15:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:15:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:15:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:15:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:16:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:16:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:16:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:16:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:16:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:16:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:16:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:16:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:16:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:16:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:16:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:17:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:17:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:17:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:17:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:17:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:17:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:17:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:17:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:17:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:17:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:17:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:18:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:18:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:18:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:18:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:18:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:18:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:18:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:18:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:18:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:18:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:19:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:19:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:19:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:19:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:19:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:19:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:19:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:19:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:19:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:19:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:20:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:20:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:20:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:20:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:20:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:20:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:20:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:20:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:20:45 Europe/Berlin] Session role: not set
[23-Dec-2025 07:20:45 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:20:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:20:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:21:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:21:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:21:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:21:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:21:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:21:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:21:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:21:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:21:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:21:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:21:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:21:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:22:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:22:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:22:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:22:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:22:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:22:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:22:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:22:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:22:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:22:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:22:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:23:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:23:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:23:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:23:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:23:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:23:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:23:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:23:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:23:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:23:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:23:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:24:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:24:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:24:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:24:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:24:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:24:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:24:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:24:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:24:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:24:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:24:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:25:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:25:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:25:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:25:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:25:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:25:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:25:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:25:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:26:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:26:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:26:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:26:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:26:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:26:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:26:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:26:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:26:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:26:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:26:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:26:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:27:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:27:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:27:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:27:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:27:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:27:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:27:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:28:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:28:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:28:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:28:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:28:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:28:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:28:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:28:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:28:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:28:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:28:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:28:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:29:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:29:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:29:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:29:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:29:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:29:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:29:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:29:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:29:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:29:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:29:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:29:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:30:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:30:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:30:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:30:42 Europe/Berlin] Session role: not set
[23-Dec-2025 07:30:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:30:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:30:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 07:30:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 07:30:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 07:30:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 07:30:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766464723
    [last_regeneration] => 1766464723
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766464723
    [session_started_at] => 2025-12-23 05:38:43
    [login_redirect_count] => 0
)

[23-Dec-2025 07:30:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 07:30:47 Europe/Berlin] Session role: not set
[23-Dec-2025 07:30:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 06:30:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 06:30:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:07:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:07:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 08:07:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
)

[23-Dec-2025 08:07:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
)

[23-Dec-2025 08:07:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
)

[23-Dec-2025 08:07:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:07:12 Europe/Berlin] Session role: not set
[23-Dec-2025 08:07:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:07:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:07:12 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 07:07:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 07:07:12 UTC] Found 0 videos for teacher 44
[23-Dec-2025 08:07:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:07:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:07:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:07:14 Europe/Berlin] Session role: not set
[23-Dec-2025 08:07:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:07:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:07:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:07:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:07:20 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:07:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:07:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:07:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:07:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:07:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:07:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:07:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:07:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:07:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:07:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:07:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:07:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:07:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:07:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:07:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:07:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:07:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:07:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:07:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:07:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:08:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:08:13 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:08:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:08:13 Europe/Berlin] Session role: not set
[23-Dec-2025 08:08:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:08:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:08:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:08:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:08:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:08:14 Europe/Berlin] Session role: not set
[23-Dec-2025 08:08:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:08:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:08:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:08:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:08:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:08:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:08:44 Europe/Berlin] Session role: not set
[23-Dec-2025 08:08:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:08:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:08:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:08:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:08:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:08:49 Europe/Berlin] Session role: not set
[23-Dec-2025 08:08:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:08:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:08:49 UTC] Error 8: Undefined variable: update_user in /home/twpurnyc/public_html/teacher/profile.php on line 170
[23-Dec-2025 08:08:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:08:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:08:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:08:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:08:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:08:50 Europe/Berlin] Session role: not set
[23-Dec-2025 08:08:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:08:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:08:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:09:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:09:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:09:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:09:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:09:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:09:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:09:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:09:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:09:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:09:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:09:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:09:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:09:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:09:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:09:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:09:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:09:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:09:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:10:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:10:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:10:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:10:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:10:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:10:21 Europe/Berlin] Session role: not set
[23-Dec-2025 08:10:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:10:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:10:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:10:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:10:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:10:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:10:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:10:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:10:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:10:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:10:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:10:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:10:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:11:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:11:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:11:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:11:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:11:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:11:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:11:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:11:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:11:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:11:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:11:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:11:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:11:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:11:50 Europe/Berlin] Session role: not set
[23-Dec-2025 08:11:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:11:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:11:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:12:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:12:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:12:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:12:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:12:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:12:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:12:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:12:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:12:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:12:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:12:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:12:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:12:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:13:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:13:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:13:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:13:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:13:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:13:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:13:21 Europe/Berlin] Session role: not set
[23-Dec-2025 08:13:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:13:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:13:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:14:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:14:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:14:24 Europe/Berlin] Session role: not set
[23-Dec-2025 08:14:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:14:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:14:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:14:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:14:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:14:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:14:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:14:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:14:50 Europe/Berlin] Session role: not set
[23-Dec-2025 08:14:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:14:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:14:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:15:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:15:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:15:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:15:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:15:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:15:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:15:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:15:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:15:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:15:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:15:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:15:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:15:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:15:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:15:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:15:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:16:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:16:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:16:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:16:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:16:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:16:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:16:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:16:21 Europe/Berlin] Session role: not set
[23-Dec-2025 08:16:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:16:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:16:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:21:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:21:20 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:21:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:21:20 Europe/Berlin] Session role: not set
[23-Dec-2025 08:21:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:21:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:21:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:21:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:21:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:21:23 Europe/Berlin] Session role: not set
[23-Dec-2025 08:21:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:21:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:21:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:21:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:21:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:21:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:21:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:21:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:21:53 Europe/Berlin] Session role: not set
[23-Dec-2025 08:21:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:21:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:21:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:22:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:22:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:22:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:22:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:22:24 Europe/Berlin] Session role: not set
[23-Dec-2025 08:22:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:22:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:22:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:22:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:22:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:22:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:22:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:22:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:22:54 Europe/Berlin] Session role: not set
[23-Dec-2025 08:22:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:22:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:22:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:23:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:23:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:23:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:23:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:23:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:23:24 Europe/Berlin] Session role: not set
[23-Dec-2025 08:23:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:23:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:23:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:23:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:23:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:23:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:23:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:23:54 Europe/Berlin] Session role: not set
[23-Dec-2025 08:23:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:23:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:23:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:24:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:24:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:24:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:24:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:24:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:24:24 Europe/Berlin] Session role: not set
[23-Dec-2025 08:24:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:24:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:24:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:24:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:24:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:24:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:24:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:24:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:24:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:24:54 Europe/Berlin] Session role: not set
[23-Dec-2025 08:24:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:24:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:24:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:25:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:25:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:25:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:25:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:25:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:25:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:25:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:25:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:25:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:25:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:26:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:26:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:26:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:26:07 Europe/Berlin] Session role: not set
[23-Dec-2025 08:26:07 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:26:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:26:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:26:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:26:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:26:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:24 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:26:24 Europe/Berlin] Session role: not set
[23-Dec-2025 08:26:24 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:26:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:26:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:26:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:26:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:26:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:26:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:26:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:26:54 Europe/Berlin] Session role: not set
[23-Dec-2025 08:26:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:26:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:26:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:27:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:27:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:27:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:27:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:27:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:27:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:27:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:27:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:27:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:27:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:27:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:28:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:28:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:28:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:28:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:28:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:28:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:28:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:28:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:28:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:28:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:28:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:28:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:29:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:29:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:29:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:29:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:29:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:29:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:29:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:29:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:29:46 Europe/Berlin] Session role: not set
[23-Dec-2025 08:29:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:29:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:29:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:30:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:30:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:30:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:30:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:30:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:30:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:30:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:30:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:30:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:30:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:30:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:31:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:31:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:31:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:31:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:31:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:31:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:31:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:31:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:31:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:31:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:32:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:32:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:32:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:32:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:32:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:32:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:32:45 Europe/Berlin] Session role: not set
[23-Dec-2025 08:32:45 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:32:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:32:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:33:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:33:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:33:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:33:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:33:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:33:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:33:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:33:43 Europe/Berlin] Session role: not set
[23-Dec-2025 08:33:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:33:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:33:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:34:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:34:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:34:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:34:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:34:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:34:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:34:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:34:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:34:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:34:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:34:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:35:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:35:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:35:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:35:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:35:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:35:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:35:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:35:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:35:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:35:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:35:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:36:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:36:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:36:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:36:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:36:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:36:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:36:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:36:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:36:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:36:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:36:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:36:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:37:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:37:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:37:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:37:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:37:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:37:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:37:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:37:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:37:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:37:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:37:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:37:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:38:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:38:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:38:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:38:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:38:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:38:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:38:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:38:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:38:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:38:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:38:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:38:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:39:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:39:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:39:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:39:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:39:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:39:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:39:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:39:43 Europe/Berlin] Session role: not set
[23-Dec-2025 08:39:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:39:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:39:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:40:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:40:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:40:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:40:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:40:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:40:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:40:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:40:44 Europe/Berlin] Session role: not set
[23-Dec-2025 08:40:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:40:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:40:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:41:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:41:34 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:41:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:41:34 Europe/Berlin] Session role: not set
[23-Dec-2025 08:41:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:41:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:41:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:41:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:41:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:41:38 Europe/Berlin] Session role: not set
[23-Dec-2025 08:41:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:41:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:41:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:41:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:41:50 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:41:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:50 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:41:50 Europe/Berlin] Session role: not set
[23-Dec-2025 08:41:50 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:41:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:41:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:41:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:41:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:41:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:41:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:41:51 Europe/Berlin] Session role: not set
[23-Dec-2025 08:41:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:41:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:41:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:42:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:42:05 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 08:42:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:42:05 Europe/Berlin] Session role: not set
[23-Dec-2025 08:42:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:42:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 08:42:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:42:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:42:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:42:06 Europe/Berlin] Session role: not set
[23-Dec-2025 08:42:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:42:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:42:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:42:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:42:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:42:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:42:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:42:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:42:37 Europe/Berlin] Session role: not set
[23-Dec-2025 08:42:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:42:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:42:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:43:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:43:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:43:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:43:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:43:07 Europe/Berlin] Session role: not set
[23-Dec-2025 08:43:07 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:43:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:43:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:43:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:43:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:43:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:43:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:43:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:43:39 Europe/Berlin] Session role: not set
[23-Dec-2025 08:43:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:43:39 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:43:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:44:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:44:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:44:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:44:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:44:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:44:07 Europe/Berlin] Session role: not set
[23-Dec-2025 08:44:07 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:44:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:44:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:44:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:44:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:44:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:44:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:44:37 Europe/Berlin] Session role: not set
[23-Dec-2025 08:44:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:44:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:44:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:45:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:45:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:45:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:45:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:07 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:45:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:45:07 Europe/Berlin] Session role: not set
[23-Dec-2025 08:45:07 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:45:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:45:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:45:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:45:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:45:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:45:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:45:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:45:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:45:40 Europe/Berlin] Session role: not set
[23-Dec-2025 08:45:40 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:45:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:45:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:46:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:46:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:46:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:46:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:46:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:46:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:46:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:46:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:46:41 Europe/Berlin] Session role: not set
[23-Dec-2025 08:46:41 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:46:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:46:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:47:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:47:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:47:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:47:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:47:42 Europe/Berlin] Session role: not set
[23-Dec-2025 08:47:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:47:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:47:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 08:48:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 08:48:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 08:48:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:48:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:48:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:48:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 08:48:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766473631
    [last_regeneration] => 1766473631
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766473631
    [session_started_at] => 2025-12-23 08:07:12
    [login_redirect_count] => 0
)

[23-Dec-2025 08:48:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 08:48:21 Europe/Berlin] Session role: not set
[23-Dec-2025 08:48:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 07:48:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 07:48:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:03:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:03:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 09:03:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
)

[23-Dec-2025 09:03:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
)

[23-Dec-2025 09:03:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
)

[23-Dec-2025 09:03:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:03:20 Europe/Berlin] Session role: not set
[23-Dec-2025 09:03:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:03:20 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:03:20 UTC] Fetching videos for teacher_id: 49
[23-Dec-2025 08:03:20 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 08:03:20 UTC] Found 0 videos for teacher 49
[23-Dec-2025 09:03:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:03:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:03:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:03:23 Europe/Berlin] Session role: not set
[23-Dec-2025 09:03:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:03:23 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:03:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:03:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:03:29 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 09:03:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:03:29 Europe/Berlin] Session role: not set
[23-Dec-2025 09:03:29 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:03:29 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 09:03:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:03:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:03:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:03:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:03:30 Europe/Berlin] Session role: not set
[23-Dec-2025 09:03:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:03:30 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:03:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:04:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:04:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:04:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:04:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:04:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:04:00 Europe/Berlin] Session role: not set
[23-Dec-2025 09:04:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:04:00 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:04:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:04:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:04:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:04:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:04:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:04:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:04:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:04:30 Europe/Berlin] Session role: not set
[23-Dec-2025 09:04:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:04:30 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:04:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:05:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:05:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:05:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:05:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:05:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:05:00 Europe/Berlin] Session role: not set
[23-Dec-2025 09:05:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:05:00 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:05:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:05:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:05:31 Europe/Berlin] Session role: not set
[23-Dec-2025 09:05:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:05:31 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:05:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:06:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:06:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:06:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:06:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:06:01 Europe/Berlin] Session role: not set
[23-Dec-2025 09:06:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:06:01 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:06:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:06:31 Europe/Berlin] Session role: not set
[23-Dec-2025 09:06:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:06:31 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:06:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:07:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:07:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:07:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:07:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:07:01 Europe/Berlin] Session role: not set
[23-Dec-2025 09:07:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:07:01 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:07:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:07:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:07:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:07:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:07:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:07:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:07:31 Europe/Berlin] Session role: not set
[23-Dec-2025 09:07:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:07:31 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:07:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:08:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:08:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:08:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:08:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:08:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:08:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:08:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:08:33 Europe/Berlin] Session role: not set
[23-Dec-2025 09:08:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:08:33 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:08:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:09:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:09:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:09:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:09:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:09:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:09:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:09:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:09:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:09:33 Europe/Berlin] Session role: not set
[23-Dec-2025 09:09:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:09:33 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:09:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:10:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:10:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:10:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:10:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:10:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:10:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:10:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:10:34 Europe/Berlin] Session role: not set
[23-Dec-2025 09:10:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:10:34 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:10:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:11:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:11:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:11:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:11:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:11:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:11:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:11:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:11:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:11:35 Europe/Berlin] Session role: not set
[23-Dec-2025 09:11:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:11:35 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:11:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:12:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:12:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:12:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:12:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:12:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:12:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:12:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:12:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:12:36 Europe/Berlin] Session role: not set
[23-Dec-2025 09:12:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:12:36 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:12:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:13:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:13:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:13:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:13:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:13:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:13:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:13:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:13:37 Europe/Berlin] Session role: not set
[23-Dec-2025 09:13:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:13:37 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:13:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:14:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:14:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:14:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:14:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:14:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:14:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:14:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:14:38 Europe/Berlin] Session role: not set
[23-Dec-2025 09:14:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:14:38 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:14:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:15:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:15:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:15:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:15:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:15:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:15:39 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:15:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:15:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:15:39 Europe/Berlin] Session role: not set
[23-Dec-2025 09:15:39 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:15:39 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:15:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:16:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:16:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:16:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:16:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:16:40 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:16:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:16:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:16:40 Europe/Berlin] Session role: not set
[23-Dec-2025 09:16:40 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:16:40 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:16:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:17:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:17:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:17:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:17:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:17:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:17:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:17:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:17:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:17:41 Europe/Berlin] Session role: not set
[23-Dec-2025 09:17:41 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:17:41 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:17:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:18:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:18:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:18:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:18:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:18:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:18:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:18:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:18:42 Europe/Berlin] Session role: not set
[23-Dec-2025 09:18:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:18:42 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:18:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:19:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:19:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:19:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:19:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:19:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:19:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:19:42 Europe/Berlin] Session role: not set
[23-Dec-2025 09:19:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:19:42 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:19:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:20:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:20:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:20:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:20:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:20:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:20:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:20:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:20:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:20:42 Europe/Berlin] Session role: not set
[23-Dec-2025 09:20:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:20:42 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:20:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:21:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:21:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:21:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:21:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:21:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:21:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766476999
    [last_regeneration] => 1766476999
    [session_started_at] => 2025-12-23 09:00:25
    [user_id] => 49
    [username] => welcome
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766476999
    [login_redirect_count] => 0
)

[23-Dec-2025 09:21:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:21:19 Europe/Berlin] Session role: not set
[23-Dec-2025 09:21:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:21:19 UTC] 🔔 Navbar Debug - User ID: 49, Count: 0
[23-Dec-2025 08:21:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:48:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:48:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 09:48:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
)

[23-Dec-2025 09:48:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
)

[23-Dec-2025 09:48:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
)

[23-Dec-2025 09:48:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:48:08 Europe/Berlin] Session role: not set
[23-Dec-2025 09:48:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:48:08 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:48:09 UTC] Fetching videos for teacher_id: 50
[23-Dec-2025 08:48:09 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 08:48:09 UTC] Found 0 videos for teacher 50
[23-Dec-2025 09:48:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:48:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:48:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:48:10 Europe/Berlin] Session role: not set
[23-Dec-2025 09:48:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:48:10 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:48:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:48:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:48:15 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 09:48:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:48:15 Europe/Berlin] Session role: not set
[23-Dec-2025 09:48:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:48:15 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 09:48:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:48:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:48:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:48:16 Europe/Berlin] Session role: not set
[23-Dec-2025 09:48:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:48:16 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:48:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:48:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:48:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:48:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:48:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:48:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:48:46 Europe/Berlin] Session role: not set
[23-Dec-2025 09:48:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:48:46 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:48:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:49:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:49:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:49:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:49:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:49:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:49:17 Europe/Berlin] Session role: not set
[23-Dec-2025 09:49:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:49:17 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:49:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:49:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:49:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:49:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:49:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:49:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:49:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:49:46 Europe/Berlin] Session role: not set
[23-Dec-2025 09:49:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:49:46 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:49:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:50:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:50:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:50:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:50:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:50:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:50:17 Europe/Berlin] Session role: not set
[23-Dec-2025 09:50:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:50:17 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:50:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:50:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:50:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:50:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:50:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:50:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:50:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:50:47 Europe/Berlin] Session role: not set
[23-Dec-2025 09:50:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:50:47 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:50:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:51:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:51:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:51:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:51:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:51:17 Europe/Berlin] Session role: not set
[23-Dec-2025 09:51:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:51:17 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:51:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:51:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:51:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:51:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:51:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:51:48 Europe/Berlin] Session role: not set
[23-Dec-2025 09:51:48 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:51:48 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:51:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:52:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:52:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:52:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:52:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:52:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:52:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:52:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:52:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:52:42 Europe/Berlin] Session role: not set
[23-Dec-2025 09:52:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:52:42 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:52:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:53:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:53:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:53:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:53:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:53:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:53:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:53:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:53:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:53:56 Europe/Berlin] Session role: not set
[23-Dec-2025 09:53:56 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:53:56 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:53:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:54:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:54:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:54:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:54:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:54:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:54:42 Europe/Berlin] Session role: not set
[23-Dec-2025 09:54:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:54:42 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:54:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:54:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:54:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:54:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:58 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:54:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:58 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:54:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:54:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:54:58 Europe/Berlin] Session role: not set
[23-Dec-2025 09:54:58 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:54:58 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:54:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:55:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:55:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:55:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:55:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:55:17 Europe/Berlin] Session role: not set
[23-Dec-2025 09:55:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:55:17 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:55:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:55:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:55:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:55:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:55:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:55:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:55:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:55:47 Europe/Berlin] Session role: not set
[23-Dec-2025 09:55:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:55:47 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:55:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:56:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:56:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:56:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:56:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:56:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:56:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:56:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:56:17 Europe/Berlin] Session role: not set
[23-Dec-2025 09:56:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:56:17 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:56:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:57:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:57:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:57:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:57:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:57:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:57:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:57:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:57:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:57:18 Europe/Berlin] Session role: not set
[23-Dec-2025 09:57:18 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:57:18 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:57:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:58:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:58:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:58:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:58:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:58:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:58:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:58:19 Europe/Berlin] Session role: not set
[23-Dec-2025 09:58:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:58:19 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:58:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 09:59:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 09:59:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 09:59:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:59:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:59:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 09:59:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 09:59:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 09:59:20 Europe/Berlin] Session role: not set
[23-Dec-2025 09:59:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 08:59:20 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 08:59:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:00:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:00:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:00:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 10:00:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:00:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 10:00:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:00:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766479688
    [last_regeneration] => 1766479688
    [user_id] => 50
    [username] => kitumain
    [email] => alexdelpher@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766479688
    [session_started_at] => 2025-12-23 09:48:08
    [login_redirect_count] => 0
)

[23-Dec-2025 10:00:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:00:21 Europe/Berlin] Session role: not set
[23-Dec-2025 10:00:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:00:21 UTC] 🔔 Navbar Debug - User ID: 50, Count: 0
[23-Dec-2025 09:00:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:04:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:04:33 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 10:04:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
)

[23-Dec-2025 10:04:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
)

[23-Dec-2025 10:04:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
)

[23-Dec-2025 10:04:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:04:33 Europe/Berlin] Session role: not set
[23-Dec-2025 10:04:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:04:33 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:04:33 UTC] Fetching videos for teacher_id: 51
[23-Dec-2025 09:04:33 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 09:04:33 UTC] Found 0 videos for teacher 51
[23-Dec-2025 10:04:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:04:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:04:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:04:36 Europe/Berlin] Session role: not set
[23-Dec-2025 10:04:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:04:36 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:04:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:04:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:04:41 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 10:04:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:04:41 Europe/Berlin] Session role: not set
[23-Dec-2025 10:04:41 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:04:41 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 10:04:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:04:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:04:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:04:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:04:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:04:42 Europe/Berlin] Session role: not set
[23-Dec-2025 10:04:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:04:42 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:04:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:05:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:05:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:05:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:05:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:05:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:05:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:05:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:05:12 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:05:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:05:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:05:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:05:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:05:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:05:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:05:42 Europe/Berlin] Session role: not set
[23-Dec-2025 10:05:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:05:42 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:05:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:06:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:06:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:06:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:06:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:06:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:06:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:06:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:06:12 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:06:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:06:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:06:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:06:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:06:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:06:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:06:42 Europe/Berlin] Session role: not set
[23-Dec-2025 10:06:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:06:42 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:06:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:07:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:07:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:07:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:07:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:07:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:07:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:07:12 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:07:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:07:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:07:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:07:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:07:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:07:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:07:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:07:42 Europe/Berlin] Session role: not set
[23-Dec-2025 10:07:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:07:42 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:07:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:08:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:08:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:08:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:08:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:08:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:08:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:08:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:08:12 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:08:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:08:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:08:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:08:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:08:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:08:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:08:42 Europe/Berlin] Session role: not set
[23-Dec-2025 10:08:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:08:42 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:08:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:09:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:09:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:09:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:09:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:09:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:09:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:09:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:09:12 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:09:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766480671
    [last_regeneration] => 1766480671
    [session_started_at] => 2025-12-23 10:02:20
    [user_id] => 51
    [username] => lukati
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766480671
    [login_redirect_count] => 0
)

[23-Dec-2025 10:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:09:48 Europe/Berlin] Session role: not set
[23-Dec-2025 10:09:48 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:09:48 UTC] 🔔 Navbar Debug - User ID: 51, Count: 0
[23-Dec-2025 09:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:10:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 10:15:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
)

[23-Dec-2025 10:15:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
)

[23-Dec-2025 10:15:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
)

[23-Dec-2025 10:15:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:15:10 Europe/Berlin] Session role: not set
[23-Dec-2025 10:15:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:15:10 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:15:10 UTC] Fetching videos for teacher_id: 52
[23-Dec-2025 09:15:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 09:15:10 UTC] Found 0 videos for teacher 52
[23-Dec-2025 10:15:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:15:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:15:11 Europe/Berlin] Session role: not set
[23-Dec-2025 10:15:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:15:11 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:15:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:15:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:15 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 10:15:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:15:15 Europe/Berlin] Session role: not set
[23-Dec-2025 10:15:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:15:15 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 10:15:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:15:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:15:15 Europe/Berlin] Session role: not set
[23-Dec-2025 10:15:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:15:15 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:15:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:15:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:15:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:15:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:45 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:15:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:15:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:15:45 Europe/Berlin] Session role: not set
[23-Dec-2025 10:15:45 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:15:45 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:15:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:16:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:16:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:16:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:16:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:16:16 Europe/Berlin] Session role: not set
[23-Dec-2025 10:16:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:16:16 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:16:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:16:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:16:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:16:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:16:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:16:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481309
    [last_regeneration] => 1766481309
    [session_started_at] => 2025-12-23 10:11:40
    [user_id] => 52
    [username] => kitumai
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Kan
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481309
    [login_redirect_count] => 0
)

[23-Dec-2025 10:16:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:16:46 Europe/Berlin] Session role: not set
[23-Dec-2025 10:16:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:16:46 UTC] 🔔 Navbar Debug - User ID: 52, Count: 0
[23-Dec-2025 09:16:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:22:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:22:12 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 10:22:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
)

[23-Dec-2025 10:22:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
)

[23-Dec-2025 10:22:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
)

[23-Dec-2025 10:22:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:22:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:22:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:22:12 UTC] 🔔 Navbar Debug - User ID: 53, Count: 0
[23-Dec-2025 09:22:12 UTC] Fetching videos for teacher_id: 53
[23-Dec-2025 09:22:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 09:22:12 UTC] Found 0 videos for teacher 53
[23-Dec-2025 10:22:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:22:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:22:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:22:12 Europe/Berlin] Session role: not set
[23-Dec-2025 10:22:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:22:12 UTC] 🔔 Navbar Debug - User ID: 53, Count: 0
[23-Dec-2025 09:22:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 10:22:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:22:16 Europe/Berlin] Teacher Auth Check - Script: profile.php
[23-Dec-2025 10:22:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:22:16 Europe/Berlin] Session role: not set
[23-Dec-2025 10:22:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:22:16 UTC] 🔔 Navbar Debug - User ID: 53, Count: 0
[23-Dec-2025 10:22:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 10:22:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 10:22:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 10:22:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766481731
    [last_regeneration] => 1766481731
    [session_started_at] => 2025-12-23 10:20:15
    [user_id] => 53
    [username] => lukito
    [email] => alexdelpher@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766481731
    [login_redirect_count] => 0
)

[23-Dec-2025 10:22:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 10:22:16 Europe/Berlin] Session role: not set
[23-Dec-2025 10:22:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 09:22:16 UTC] 🔔 Navbar Debug - User ID: 53, Count: 0
[23-Dec-2025 09:22:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:04:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 12:04:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
)

[23-Dec-2025 12:04:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
)

[23-Dec-2025 12:04:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
)

[23-Dec-2025 12:04:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:15 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:16 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 11:04:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 11:04:16 UTC] Found 0 videos for teacher 44
[23-Dec-2025 12:04:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:04:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:17 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:04:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:32 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:04:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:32 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:32 UTC] isLoggedIn check result: true
[23-Dec-2025 11:04:32 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:04:32 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:04:32 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:04:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:04:32 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:04:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:04:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:32 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:04:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:53 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:04:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:53 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:53 UTC] isLoggedIn check result: true
[23-Dec-2025 11:04:53 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:04:53 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:04:53 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:04:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:04:53 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:04:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:04:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:53 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:04:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:55 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:04:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:55 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:55 UTC] isLoggedIn check result: true
[23-Dec-2025 11:04:55 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:04:55 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:04:55 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:04:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:04:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:04:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:04:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:04:55 Europe/Berlin] Session role: not set
[23-Dec-2025 12:04:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:04:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:04:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:02 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:05:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:02 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:02 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:02 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:02 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:02 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:02 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:06 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:05:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:06 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:07 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:07 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:07 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:07 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:07 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:08 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:16 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:05:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:16 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:16 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:16 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:16 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:16 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:16 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:05:16 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:05:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:17 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:21 Europe/Berlin] Teacher Auth Check - Script: edit_quiz.php
[23-Dec-2025 12:05:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:21 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:21 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:21 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:21 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:21 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:21 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:29 Europe/Berlin] Teacher Auth Check - Script: edit_quiz.php
[23-Dec-2025 12:05:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:29 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:29 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:29 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:29 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:29 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:29 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:29 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:29 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:05:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:34 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:05:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:34 UTC] isLoggedIn check result: true
[23-Dec-2025 11:05:34 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:34 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:05:34 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:05:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:05:34 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:05:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:05:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:05:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:05:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:05:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:05:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:05:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:05:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:05:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:06:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:06:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:06:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:06:04 Europe/Berlin] Session role: not set
[23-Dec-2025 12:06:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:06:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:06:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:06:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:06:11 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:06:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:06:11 Europe/Berlin] Session role: not set
[23-Dec-2025 12:06:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:06:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:06:11 UTC] isLoggedIn check result: true
[23-Dec-2025 11:06:11 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:06:11 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:06:11 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:06:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:06:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:12 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:06:12 Europe/Berlin] Session role: not set
[23-Dec-2025 12:06:12 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:06:12 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:06:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:06:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:06:37 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:06:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:06:37 Europe/Berlin] Session role: not set
[23-Dec-2025 12:06:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:06:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:06:37 UTC] isLoggedIn check result: true
[23-Dec-2025 11:06:37 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:06:37 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:06:37 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:06:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:06:37 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:06:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:06:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:06:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:06:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:06:37 Europe/Berlin] Session role: not set
[23-Dec-2025 12:06:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:06:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:06:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:07:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:07:08 Europe/Berlin] Session role: not set
[23-Dec-2025 12:07:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:07:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:07:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:07:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:07:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:07:38 Europe/Berlin] Session role: not set
[23-Dec-2025 12:07:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:07:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:07:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:07:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:07:56 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:07:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:56 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:07:56 Europe/Berlin] Session role: not set
[23-Dec-2025 12:07:56 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:07:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:07:56 UTC] isLoggedIn check result: true
[23-Dec-2025 11:07:56 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:07:56 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:07:56 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:07:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:07:56 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:07:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:07:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:07:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:07:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:07:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:07:57 Europe/Berlin] Session role: not set
[23-Dec-2025 12:07:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:07:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:07:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:08:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:08:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:08:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:08:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:08:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:08:27 Europe/Berlin] Session role: not set
[23-Dec-2025 12:08:27 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:08:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:08:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:08:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:08:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:08:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:08:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:08:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:08:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:08:57 Europe/Berlin] Session role: not set
[23-Dec-2025 12:08:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:08:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:08:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:09:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:09:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:09:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:09:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:09:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:09:27 Europe/Berlin] Session role: not set
[23-Dec-2025 12:09:27 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:09:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:09:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:09:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:09:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:09:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:58 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:09:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:58 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:09:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:09:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:09:58 Europe/Berlin] Session role: not set
[23-Dec-2025 12:09:58 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:09:58 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:09:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:10:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:10:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:10:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:10:28 Europe/Berlin] Session role: not set
[23-Dec-2025 12:10:28 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:10:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:10:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:10:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:10:46 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:10:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:10:46 Europe/Berlin] Session role: not set
[23-Dec-2025 12:10:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:10:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:10:46 UTC] isLoggedIn check result: true
[23-Dec-2025 11:10:46 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:10:46 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:10:46 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:10:47 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:10:47 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:10:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:10:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:10:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:10:47 Europe/Berlin] Session role: not set
[23-Dec-2025 12:10:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:10:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:10:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:10:53 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:10:53 Europe/Berlin] Session role: not set
[23-Dec-2025 12:10:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:10:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:10:53 UTC] isLoggedIn check result: true
[23-Dec-2025 11:10:53 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:10:53 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:10:53 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:10:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:10:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:10:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:10:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:10:53 Europe/Berlin] Session role: not set
[23-Dec-2025 12:10:53 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:10:53 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:10:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:11:02 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:11:02 Europe/Berlin] Session role: not set
[23-Dec-2025 12:11:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:11:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:11:03 UTC] isLoggedIn check result: true
[23-Dec-2025 11:11:03 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:11:03 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:11:03 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:11:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:11:03 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:11:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:11:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:11:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:11:03 Europe/Berlin] Session role: not set
[23-Dec-2025 12:11:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:11:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:11:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:11:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:11:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:11:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:11:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:11:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:11:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:11:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:11:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:11:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:12:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:12:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:12:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:12:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:12:04 Europe/Berlin] Session role: not set
[23-Dec-2025 12:12:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:12:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:12:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:12:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:12:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:12:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:12:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:12:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:12:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:12:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:12:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:12:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:12:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:13:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:13:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:13:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:13:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:13:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:13:04 Europe/Berlin] Session role: not set
[23-Dec-2025 12:13:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:13:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:13:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:13:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:13:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:13:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:13:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:13:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:13:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:13:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:13:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:13:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:14:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:14:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:14:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:14:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:14:04 Europe/Berlin] Session role: not set
[23-Dec-2025 12:14:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:14:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:14:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:14:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:14:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:14:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:14:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:14:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:14:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:14:34 Europe/Berlin] Session role: not set
[23-Dec-2025 12:14:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:14:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:14:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:15:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:02 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:15:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:02 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:03 UTC] isLoggedIn check result: true
[23-Dec-2025 11:15:03 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:15:03 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:15:03 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:15:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:15:05 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:15:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:15:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:06 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:15:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:15:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:35 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:15:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:55 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 12:15:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:55 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:55 UTC] isLoggedIn check result: true
[23-Dec-2025 11:15:55 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:15:55 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:15:55 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:15:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:57 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:15:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:15:59 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:15:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:15:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:15:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:15:59 Europe/Berlin] Session role: not set
[23-Dec-2025 12:15:59 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:15:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:15:59 UTC] isLoggedIn check result: true
[23-Dec-2025 11:15:59 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:15:59 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:15:59 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:15:59 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 11:15:59 UTC] Error 8: Undefined index: course_id in /home/twpurnyc/public_html/teacher/quizzes.php on line 663
[23-Dec-2025 12:16:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:16:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:16:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:16:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:16:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:16:00 Europe/Berlin] Session role: not set
[23-Dec-2025 12:16:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:16:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:16:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:16:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:16:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:16:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:16:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:16:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:16:30 Europe/Berlin] Session role: not set
[23-Dec-2025 12:16:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:16:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:16:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:17:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:17:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:17:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:17:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:17:00 Europe/Berlin] Session role: not set
[23-Dec-2025 12:17:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:17:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:17:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:17:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:17:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:17:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:17:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:17:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:17:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:17:30 Europe/Berlin] Session role: not set
[23-Dec-2025 12:17:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:17:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:17:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:18:00 Europe/Berlin] Session role: not set
[23-Dec-2025 12:18:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:18:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:18:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 12:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 12:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:18:00 Europe/Berlin] Session role: not set
[23-Dec-2025 12:18:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:18:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:18:01 UTC] isLoggedIn check result: true
[23-Dec-2025 11:18:01 UTC] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 11:18:01 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 11:18:01 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 12:18:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 12:18:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 12:18:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766487854
    [last_regeneration] => 1766487854
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766487854
    [session_started_at] => 2025-12-23 12:04:15
    [login_redirect_count] => 0
)

[23-Dec-2025 12:18:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 12:18:01 Europe/Berlin] Session role: not set
[23-Dec-2025 12:18:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 11:18:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 11:18:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:46:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 17:46:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
)

[23-Dec-2025 17:46:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
)

[23-Dec-2025 17:46:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
)

[23-Dec-2025 17:46:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:13 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:13 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 16:46:13 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 16:46:13 UTC] Found 0 videos for teacher 44
[23-Dec-2025 17:46:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:46:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:15 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:15 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:15 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:15 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:44 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:44 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:44 UTC] isLoggedIn check result: true
[23-Dec-2025 16:46:44 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:46:44 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:46:44 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:46:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:44 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:45 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:46:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:54 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 17:46:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:54 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:54 UTC] isLoggedIn check result: true
[23-Dec-2025 16:46:54 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:46:54 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:46:54 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:46:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:46:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:46:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:46:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:46:55 Europe/Berlin] Session role: not set
[23-Dec-2025 17:46:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:46:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:46:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:47:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 17:47:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:22 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:22 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:22 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:23 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:23 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 16:47:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 16:47:23 UTC] Found 0 videos for teacher 44
[23-Dec-2025 17:47:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:47:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:23 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:23 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:23 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:24 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:47:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:47:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:27 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:27 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:27 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:47:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:28 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:47:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:28 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:28 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:28 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:28 UTC] isLoggedIn check result: true
[23-Dec-2025 16:47:28 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:47:28 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:47:28 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:47:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:29 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:29 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:29 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:29 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:47:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:33 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 17:47:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:33 UTC] isLoggedIn check result: true
[23-Dec-2025 16:47:33 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:47:33 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:47:33 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:47:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:47:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:47:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:47:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:47:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:47:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:47:57 Europe/Berlin] Session role: not set
[23-Dec-2025 17:47:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:47:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:47:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:48:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:48:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:48:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:19 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 17:48:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:19 UTC] isLoggedIn check result: true
[23-Dec-2025 16:48:19 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:48:19 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:48:19 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:48:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:48:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:48:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:25 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:25 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:25 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:48:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:48:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:49 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:48:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:48:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:48:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:48:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:48:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:48:55 Europe/Berlin] Session role: not set
[23-Dec-2025 17:48:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:48:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:48:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:49:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:49:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 17:49:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:49:01 Europe/Berlin] Session role: not set
[23-Dec-2025 17:49:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:49:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:49:02 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 16:49:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 16:49:02 UTC] Found 0 videos for teacher 44
[23-Dec-2025 17:49:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:49:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:49:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:49:02 Europe/Berlin] Session role: not set
[23-Dec-2025 17:49:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:49:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:49:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:49:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:49:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:49:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:49:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:49:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:49:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:49:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:49:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:49:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:49:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:49:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:49:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:49:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:49:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:49:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:49:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:49:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:49:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:49:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:49:49 Europe/Berlin] Session role: not set
[23-Dec-2025 17:49:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:49:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:49:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:50:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:50:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:50:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:50:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:50:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:50:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:50:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:50:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:50:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:50:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:50:20 Europe/Berlin] Session role: not set
[23-Dec-2025 17:50:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:50:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:50:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:50:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:50:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:50:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:50:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:50:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:50:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:50:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:50:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:50:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:50:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:50:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:50:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:50:49 Europe/Berlin] Session role: not set
[23-Dec-2025 17:50:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:50:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:50:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:51:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:51:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:51:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:51:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:51:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:51:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:51:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:51:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:51:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:51:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:51:20 Europe/Berlin] Session role: not set
[23-Dec-2025 17:51:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:51:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:51:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:51:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:51:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:51:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:51:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:51:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:51:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:51:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:51:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:51:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:51:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:51:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:51:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:51:49 Europe/Berlin] Session role: not set
[23-Dec-2025 17:51:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:51:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:51:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:52:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:52:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:52:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:52:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:52:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:52:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:52:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:52:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:52:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:52:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:52:20 Europe/Berlin] Session role: not set
[23-Dec-2025 17:52:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:52:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:52:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:52:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:52:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:52:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:52:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:52:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:52:34 Europe/Berlin] Session role: not set
[23-Dec-2025 17:52:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:52:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:52:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:32 Europe/Berlin] Teacher Auth Check - Script: courses.php
[23-Dec-2025 17:53:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:32 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:32 UTC] DB Connection Status: Connected
[23-Dec-2025 16:53:32 UTC] User with ID 44 found
[23-Dec-2025 16:53:32 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 17:53:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:33 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:33 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:33 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:37 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[23-Dec-2025 17:53:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:37 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:53:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:38 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:47 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[23-Dec-2025 17:53:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:47 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:53:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:48 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:48 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:53:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 16:53:50 UTC] Teacher Auth Check - Script: manage-course-materials.php
[23-Dec-2025 16:53:50 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:53:50 UTC] isLoggedIn check result: true
[23-Dec-2025 16:53:50 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:53:50 UTC] isLoggedIn check result: true
[23-Dec-2025 16:53:50 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:53:50 UTC] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 16:53:50 UTC] Session role: not set
[23-Dec-2025 16:53:50 UTC] Session user_role: teacher
[23-Dec-2025 16:53:50 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:53:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:53:51 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:53:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:51 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:53:51 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:53:51 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:53:51 Europe/Berlin] Session role: not set
[23-Dec-2025 17:53:51 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:53:51 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:53:51 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:54:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 16:54:09 UTC] Teacher Auth Check - Script: publish_to_library.php
[23-Dec-2025 16:54:09 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:54:09 UTC] isLoggedIn check result: true
[23-Dec-2025 16:54:09 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:54:09 UTC] isLoggedIn check result: true
[23-Dec-2025 16:54:09 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:54:09 UTC] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 16:54:09 UTC] Session role: not set
[23-Dec-2025 16:54:09 UTC] Session user_role: teacher
[23-Dec-2025 16:54:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:54:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:54:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:54:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:09 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:54:09 Europe/Berlin] Session role: not set
[23-Dec-2025 17:54:09 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:54:09 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:54:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:54:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:54:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:54:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:54:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:54:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:54:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:54:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:54:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:54:30 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[23-Dec-2025 17:54:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:54:30 Europe/Berlin] Session role: not set
[23-Dec-2025 17:54:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:54:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:54:31 UTC] Analytics: Looking for courses for teacher ID: 44
[23-Dec-2025 16:54:31 UTC] Analytics: No courses found for teacher 44
[23-Dec-2025 16:54:31 UTC] Analytics: Teacher has 3 total courses in database
[23-Dec-2025 16:54:31 UTC] Analytics: Final top_courses count: 0
[23-Dec-2025 16:54:31 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[23-Dec-2025 16:54:31 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[23-Dec-2025 17:54:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:54:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:54:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:54:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:54:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:54:32 Europe/Berlin] Session role: not set
[23-Dec-2025 17:54:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:54:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:54:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:02 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:55:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 16:55:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:02 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:55:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:02 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:02 UTC] isLoggedIn check result: true
[23-Dec-2025 16:55:02 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:55:02 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:55:02 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:06 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[23-Dec-2025 17:55:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:06 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:06 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:06 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:55:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:08 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:08 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:08 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:08 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:20 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:32 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[23-Dec-2025 17:55:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:32 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:55:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:32 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:33 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:55:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:55 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:55 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:55 UTC] isLoggedIn check result: true
[23-Dec-2025 16:55:55 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:55:55 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:55:55 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:55:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:55:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:55:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:55:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:55:55 Europe/Berlin] Session role: not set
[23-Dec-2025 17:55:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:55:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:55:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:56:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:56:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:56:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:56:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:56:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:56:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:56:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:56:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:56:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:56:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:56:25 Europe/Berlin] Session role: not set
[23-Dec-2025 17:56:25 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:56:26 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:56:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:56:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:56:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:56:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:56:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:56:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:56:55 Europe/Berlin] Session role: not set
[23-Dec-2025 17:56:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:56:56 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:56:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:10 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 17:57:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:10 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:10 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:10 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:10 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:10 UTC] isLoggedIn check result: true
[23-Dec-2025 16:57:10 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:57:10 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:57:10 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:57:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:11 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:11 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:11 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:57:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:41 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:41 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:41 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:57:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:41 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:41 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:41 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:41 UTC] isLoggedIn check result: true
[23-Dec-2025 16:57:41 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:57:41 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:57:41 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:57:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:42 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:42 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:42 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:42 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:44 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[23-Dec-2025 17:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:44 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:44 UTC] isLoggedIn check result: true
[23-Dec-2025 16:57:44 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:57:44 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:57:44 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:57:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:44 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:44 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:44 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:57:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:57:59 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[23-Dec-2025 17:57:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:59 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:57:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:57:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:57:59 Europe/Berlin] Session role: not set
[23-Dec-2025 17:57:59 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:57:59 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:57:59 UTC] isLoggedIn check result: true
[23-Dec-2025 16:57:59 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:57:59 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:57:59 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:58:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:58:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:58:01 Europe/Berlin] Session role: not set
[23-Dec-2025 17:58:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:58:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:58:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:58:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:58:03 Europe/Berlin] Teacher Auth Check - Script: edit_quiz.php
[23-Dec-2025 17:58:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:03 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:58:03 Europe/Berlin] Session role: not set
[23-Dec-2025 17:58:03 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:58:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:58:03 UTC] isLoggedIn check result: true
[23-Dec-2025 16:58:03 UTC] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 16:58:03 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[23-Dec-2025 16:58:03 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:58:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:58:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:04 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:58:04 Europe/Berlin] Session role: not set
[23-Dec-2025 17:58:04 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:58:04 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:58:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:58:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:58:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:58:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:58:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:58:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:58:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:58:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:58:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:58:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:58:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:58:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:58:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:58:34 Europe/Berlin] Session role: not set
[23-Dec-2025 17:58:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:58:34 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:58:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:59:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:59:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:59:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:59:05 Europe/Berlin] Session role: not set
[23-Dec-2025 17:59:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:59:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:59:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:59:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:59:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:59:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:59:19 Europe/Berlin] Session role: not set
[23-Dec-2025 17:59:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:59:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:59:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 17:59:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:59:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 17:59:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:34 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 17:59:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 17:59:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:59:34 Europe/Berlin] Session role: not set
[23-Dec-2025 17:59:34 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 16:59:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 16:59:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:00:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:00:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:00:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:13 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:00:13 Europe/Berlin] Session role: not set
[23-Dec-2025 18:00:13 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:00:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:00:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:00:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:00:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:00:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:00:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:00:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:00:22 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:00:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:00:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:00:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:00:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:00:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:00:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:00:35 Europe/Berlin] Session role: not set
[23-Dec-2025 18:00:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:00:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:00:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:01:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:01:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:01:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:01:05 Europe/Berlin] Session role: not set
[23-Dec-2025 18:01:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:01:05 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:01:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:01:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:01:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:01:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:01:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:01:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:01:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:01:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:01:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:01:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:01:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:35 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:01:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:01:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:01:35 Europe/Berlin] Session role: not set
[23-Dec-2025 18:01:35 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:01:35 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:01:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:02:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:02:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:02:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:02:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:02:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:02:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:02:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:02:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:02:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:02:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:02:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:02:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:03:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:03:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:03:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:03:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:03:21 Europe/Berlin] Session role: not set
[23-Dec-2025 18:03:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:03:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:03:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:03:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:03:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:03:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:03:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:03:21 Europe/Berlin] Session role: not set
[23-Dec-2025 18:03:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:03:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:03:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:04:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:04:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:04:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:04:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:04:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:04:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:04:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:04:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:04:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:04:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:04:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766508372
    [last_regeneration] => 1766508372
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766508372
    [session_started_at] => 2025-12-23 17:46:13
    [login_redirect_count] => 0
)

[23-Dec-2025 18:04:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:04:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:04:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:04:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:04:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:05:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 18:05:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-23 18:05:08
)

[23-Dec-2025 18:05:08 Europe/Berlin] isLoggedIn check result: false
[23-Dec-2025 18:05:08 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-23 18:05:08
)

[23-Dec-2025 18:05:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:14 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 18:05:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
)

[23-Dec-2025 18:05:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
)

[23-Dec-2025 18:05:14 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
)

[23-Dec-2025 18:05:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:05:14 Europe/Berlin] Session role: not set
[23-Dec-2025 18:05:14 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:05:14 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:05:14 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 17:05:14 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 17:05:14 UTC] Found 0 videos for teacher 44
[23-Dec-2025 18:05:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:05:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:05:17 Europe/Berlin] Session role: not set
[23-Dec-2025 18:05:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:05:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:05:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:05:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:05:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:05:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:05:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:05:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:05:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:05:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:05:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:05:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:05:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:05:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:05:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:05:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:05:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:05:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:47 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:05:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:05:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:05:47 Europe/Berlin] Session role: not set
[23-Dec-2025 18:05:47 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:05:47 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:05:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:17 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:30 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[23-Dec-2025 18:06:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:30 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:30 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:30 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:31 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:31 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:31 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[23-Dec-2025 18:06:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:37 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:37 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:37 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:37 UTC] Fetching videos for teacher_id: 44
[23-Dec-2025 17:06:37 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[23-Dec-2025 17:06:37 UTC] Found 0 videos for teacher 44
[23-Dec-2025 18:06:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:38 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:43 Europe/Berlin] Teacher Auth Check - Script: courses.php
[23-Dec-2025 18:06:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:43 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:43 UTC] DB Connection Status: Connected
[23-Dec-2025 17:06:43 UTC] User with ID 44 found
[23-Dec-2025 17:06:43 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:06:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:43 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:43 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:43 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:46 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[23-Dec-2025 18:06:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:46 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:46 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:06:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:06:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:06:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:06:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:06:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:06:46 Europe/Berlin] Session role: not set
[23-Dec-2025 18:06:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:06:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:06:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:07:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:07:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:07:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:07:16 Europe/Berlin] Session role: not set
[23-Dec-2025 18:07:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:07:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:07:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:07:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:07:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:07:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:07:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:07:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:07:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:07:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:07:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:07:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:07:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:07:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:07:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:07:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:07:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:07:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:07:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:07:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:07:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:07:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:07:46 Europe/Berlin] Session role: not set
[23-Dec-2025 18:07:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:07:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:07:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:08:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:08:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:08:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:18 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:08:18 Europe/Berlin] Session role: not set
[23-Dec-2025 18:08:18 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:08:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:08:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:08:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:08:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:08:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:08:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:08:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 18:08:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:08:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:08:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:08:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:08:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:08:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:08:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:08:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:08:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:08:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:08:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:46 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:08:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:08:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:08:46 Europe/Berlin] Session role: not set
[23-Dec-2025 18:08:46 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:08:46 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:08:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:16 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:16 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:16 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:48 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:48 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:48 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:48 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:54 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:54 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:54 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:54 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:55 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:55 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:55 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:55 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:09:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:57 Europe/Berlin] Teacher Auth Check - Script: courses.php
[23-Dec-2025 18:09:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:57 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:57 UTC] DB Connection Status: Connected
[23-Dec-2025 17:09:57 UTC] User with ID 44 found
[23-Dec-2025 17:09:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:09:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:09:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:09:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:09:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:09:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:09:57 Europe/Berlin] Session role: not set
[23-Dec-2025 18:09:57 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:09:57 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:09:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:10:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:00 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[23-Dec-2025 18:10:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:00 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:00 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:00 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:00 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:00 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:10:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:10:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:01 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:01 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:01 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:10:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:10:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:17 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:10:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:10:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:32 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:10:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:10:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:10:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:49 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:10:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:10:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:10:49 Europe/Berlin] Session role: not set
[23-Dec-2025 18:10:49 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:10:49 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:10:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:11:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:11:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:11:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:11:02 Europe/Berlin] Session role: not set
[23-Dec-2025 18:11:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:11:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:11:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:11:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:11:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:11:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:17 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:11:17 Europe/Berlin] Session role: not set
[23-Dec-2025 18:11:17 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:11:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:11:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:11:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:11:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:11:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:11:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:11:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:11:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:11:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:11:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:11:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:11:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:11:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:11:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:11:32 Europe/Berlin] Session role: not set
[23-Dec-2025 18:11:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:11:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:11:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:12:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:12:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:02 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:02 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:02 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:02 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:12:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:20 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:20 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:20 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:20 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:12:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:12:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:21 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:12:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:12:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:32 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:32 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:32 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:32 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:12:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:36 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[23-Dec-2025 18:12:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:36 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:36 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:36 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:37 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[23-Dec-2025 18:12:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:12:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:12:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:12:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:12:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:12:38 Europe/Berlin] Session role: not set
[23-Dec-2025 18:12:38 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:12:38 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:12:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:13:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 17:13:03 UTC] Teacher Auth Check - Script: library_submissions.php
[23-Dec-2025 17:13:03 UTC] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 17:13:03 UTC] isLoggedIn check result: true
[23-Dec-2025 17:13:03 UTC] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 17:13:03 UTC] isLoggedIn check result: true
[23-Dec-2025 17:13:03 UTC] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 17:13:03 UTC] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 17:13:03 UTC] Session role: not set
[23-Dec-2025 17:13:03 UTC] Session user_role: teacher
[23-Dec-2025 17:13:03 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 18:13:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:13:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:13:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:05 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:13:05 Europe/Berlin] Session role: not set
[23-Dec-2025 18:13:05 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:13:06 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:13:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:13:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:13:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:13:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:13:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:19 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:13:19 Europe/Berlin] Session role: not set
[23-Dec-2025 18:13:19 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:13:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:13:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:13:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:13:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:21 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:13:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766509513
    [last_regeneration] => 1766509513
    [stored_redirect] => /teacher/dashboard.php
    [redirect_to_cart] => 
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766509513
    [session_started_at] => 2025-12-23 18:05:14
    [login_redirect_count] => 0
)

[23-Dec-2025 18:13:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[23-Dec-2025 18:13:21 Europe/Berlin] Session role: not set
[23-Dec-2025 18:13:21 Europe/Berlin] Session user_role: teacher
[23-Dec-2025 17:13:21 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[23-Dec-2025 17:13:21 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[23-Dec-2025 18:14:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:14:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766510001
    [last_regeneration] => 1766510001
    [session_started_at] => 2025-12-23 18:14:18
)

[23-Dec-2025 18:14:18 Europe/Berlin] isLoggedIn check result: false
[23-Dec-2025 18:14:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510001
    [last_regeneration] => 1766510001
    [session_started_at] => 2025-12-23 18:14:18
)

[23-Dec-2025 18:14:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:14:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766510001
    [last_regeneration] => 1766510001
    [session_started_at] => 2025-12-23 18:14:18
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[23-Dec-2025 18:14:19 Europe/Berlin] isLoggedIn check result: false
[23-Dec-2025 18:14:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510001
    [last_regeneration] => 1766510001
    [session_started_at] => 2025-12-23 18:14:18
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
)

[23-Dec-2025 18:14:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:14:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:15:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766510118
    [last_regeneration] => 1766510118
    [session_started_at] => 2025-12-23 18:15:20
)

[23-Dec-2025 18:15:20 Europe/Berlin] isLoggedIn check result: false
[23-Dec-2025 18:15:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510118
    [last_regeneration] => 1766510118
    [session_started_at] => 2025-12-23 18:15:20
)

[23-Dec-2025 18:15:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[23-Dec-2025 18:15:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:25 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:15:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:25 Europe/Berlin] hasPermission check - Required: teacher, User: student
[23-Dec-2025 18:15:25 Europe/Berlin] Session role: not set
[23-Dec-2025 18:15:25 Europe/Berlin] Session user_role: student
[23-Dec-2025 18:15:25 Europe/Berlin] Teacher Auth - Access denied for user role: student
[23-Dec-2025 18:15:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[23-Dec-2025 18:15:38 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[23-Dec-2025 18:15:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:38 Europe/Berlin] isLoggedIn check result: true
[23-Dec-2025 18:15:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766510124
    [last_regeneration] => 1766510124
    [session_started_at] => 2025-12-23 18:15:20
    [login_redirect_count] => 1
    [last_page] => /teacher/notifications.php
    [stored_redirect] => /teacher/notifications.php
    [redirect_to_cart] => 
    [user_id] => 45
    [username] => kanicl
    [email] => swususan0@gmail.com
    [first_name] => Brian
    [last_name] => Kan
    [user_role] => student
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766510124
)

[23-Dec-2025 18:15:38 Europe/Berlin] hasPermission check - Required: teacher, User: student
[23-Dec-2025 18:15:38 Europe/Berlin] Session role: not set
[23-Dec-2025 18:15:38 Europe/Berlin] Session user_role: student
[23-Dec-2025 18:15:38 Europe/Berlin] Teacher Auth - Access denied for user role: student
[24-Dec-2025 07:10:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 07:10:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
)

[24-Dec-2025 07:10:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
)

[24-Dec-2025 07:10:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
)

[24-Dec-2025 07:10:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:10 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:10 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:11 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:12 UTC] Fetching videos for teacher_id: 44
[24-Dec-2025 06:10:12 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 06:10:12 UTC] Found 0 videos for teacher 44
[24-Dec-2025 07:10:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:10:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:13 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:13 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:13 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:13 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:13 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:10:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:16 Europe/Berlin] Teacher Auth Check - Script: courses.php
[24-Dec-2025 07:10:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:16 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:16 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:16 UTC] DB Connection Status: Connected
[24-Dec-2025 06:10:16 UTC] User with ID 44 found
[24-Dec-2025 06:10:16 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 07:10:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:10:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:17 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:17 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:17 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:10:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:18 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 07:10:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:18 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:18 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:18 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:18 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 07:10:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:10:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:19 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:19 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:19 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:10:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:27 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[24-Dec-2025 07:10:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:27 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:27 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:27 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:27 UTC] isLoggedIn check result: true
[24-Dec-2025 06:10:27 UTC] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 06:10:27 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 06:10:27 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:10:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:28 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:28 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:28 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:10:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:30 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[24-Dec-2025 07:10:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:30 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:30 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:30 UTC] isLoggedIn check result: true
[24-Dec-2025 06:10:30 UTC] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 06:10:30 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 06:10:30 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:10:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:10:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:10:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:10:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:10:31 Europe/Berlin] Session role: not set
[24-Dec-2025 07:10:31 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:10:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:10:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:11:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:11:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:11:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:01 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:01 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:11:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:11:01 Europe/Berlin] Session role: not set
[24-Dec-2025 07:11:01 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:11:01 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:11:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:11:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:11:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:11:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:11:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:11:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766556609
    [last_regeneration] => 1766556609
    [user_id] => 44
    [username] => Braining
    [email] => jacobsjames7890@gmail.com
    [first_name] => Jonnie
    [last_name] => Ngwenya
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766556609
    [session_started_at] => 2025-12-24 07:10:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:11:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:11:31 Europe/Berlin] Session role: not set
[24-Dec-2025 07:11:31 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:11:31 UTC] 🔔 Navbar Debug - User ID: 44, Count: 4
[24-Dec-2025 06:11:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:58:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:58:38 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 07:58:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
)

[24-Dec-2025 07:58:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
)

[24-Dec-2025 07:58:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
)

[24-Dec-2025 07:58:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:58:38 Europe/Berlin] Session role: not set
[24-Dec-2025 07:58:38 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:58:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 06:58:41 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 06:58:41 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 06:58:41 UTC] Found 0 videos for teacher 28
[24-Dec-2025 07:58:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:58:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:58:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:58:42 Europe/Berlin] Session role: not set
[24-Dec-2025 07:58:42 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:58:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 06:58:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:58:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:58:53 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[24-Dec-2025 07:58:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:53 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:53 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:53 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:58:53 Europe/Berlin] Session role: not set
[24-Dec-2025 07:58:53 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:58:54 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:58:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:58:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:58:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:56 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:56 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:58:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:58:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:58:56 Europe/Berlin] Session role: not set
[24-Dec-2025 07:58:56 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:58:56 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 06:58:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:59:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:59:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:59:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:59:26 Europe/Berlin] Session role: not set
[24-Dec-2025 07:59:26 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:59:26 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 06:59:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 07:59:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 07:59:56 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 07:59:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:56 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:59:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:56 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 07:59:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766559510
    [last_regeneration] => 1766559510
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766559510
    [session_started_at] => 2025-12-24 07:58:38
    [login_redirect_count] => 0
)

[24-Dec-2025 07:59:56 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 07:59:56 Europe/Berlin] Session role: not set
[24-Dec-2025 07:59:56 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 06:59:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 06:59:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:27:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:10 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 08:27:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
)

[24-Dec-2025 08:27:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
)

[24-Dec-2025 08:27:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
)

[24-Dec-2025 08:27:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:10 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:10 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:10 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:10 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 07:27:10 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 07:27:10 UTC] Found 0 videos for teacher 28
[24-Dec-2025 08:27:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:27:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:12 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:12 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:27:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:18 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[24-Dec-2025 08:27:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:18 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:18 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 08:27:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:27:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:19 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:19 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:19 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:27:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:27 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[24-Dec-2025 08:27:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:27 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:27 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:27 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:27 UTC] isLoggedIn check result: true
[24-Dec-2025 07:27:27 UTC] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:27:27 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 07:27:27 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:27:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:28 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:28 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:27:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:33 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[24-Dec-2025 08:27:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:33 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:33 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:33 UTC] isLoggedIn check result: true
[24-Dec-2025 07:27:33 UTC] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:27:33 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 07:27:33 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:27:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:27:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:27:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:27:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:27:33 Europe/Berlin] Session role: not set
[24-Dec-2025 08:27:33 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:27:33 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:27:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:28:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:28:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:28:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:04 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:28:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:04 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:28:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:28:04 Europe/Berlin] Session role: not set
[24-Dec-2025 08:28:04 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:28:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:28:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:28:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:28:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:28:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:35 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:35 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:28:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:28:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:28:35 Europe/Berlin] Session role: not set
[24-Dec-2025 08:28:35 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:28:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:28:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:29:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:29:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:04 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:04 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:04 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:04 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:04 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:29:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:09 Europe/Berlin] Teacher Auth Check - Script: quiz_submissions.php
[24-Dec-2025 08:29:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:09 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:09 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:09 UTC] isLoggedIn check result: true
[24-Dec-2025 07:29:09 UTC] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 07:29:09 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 07:29:09 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:29:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:09 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:09 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:09 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:29:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:22 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 08:29:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:22 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:22 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:22 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:22 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 08:29:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:29:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:23 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:23 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:23 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:29:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:28 Europe/Berlin] Teacher Auth Check - Script: courses.php
[24-Dec-2025 08:29:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:28 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:28 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:28 UTC] DB Connection Status: Connected
[24-Dec-2025 07:29:28 UTC] User with ID 28 found
[24-Dec-2025 07:29:28 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 08:29:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:29:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:29 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:29 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:29 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:29 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:29 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:29:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:29:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:29:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:59 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:59 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:29:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:29:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:29:59 Europe/Berlin] Session role: not set
[24-Dec-2025 08:29:59 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:29:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:29:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:30:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:30:11 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[24-Dec-2025 08:30:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:30:11 Europe/Berlin] Session role: not set
[24-Dec-2025 08:30:11 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:30:11 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:30:11 UTC] Analytics: Looking for courses for teacher ID: 28
[24-Dec-2025 07:30:11 UTC] Analytics: No courses found for teacher 28
[24-Dec-2025 07:30:11 UTC] Analytics: Teacher has 0 total courses in database
[24-Dec-2025 07:30:11 UTC] Analytics: Final top_courses count: 1
[24-Dec-2025 07:30:11 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[24-Dec-2025 07:30:11 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[24-Dec-2025 08:30:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:30:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:30:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:30:12 Europe/Berlin] Session role: not set
[24-Dec-2025 08:30:12 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:30:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:30:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:30:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:30:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:30:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:30:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:30:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:30:43 Europe/Berlin] Session role: not set
[24-Dec-2025 08:30:43 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:30:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:30:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:31:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:31:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:31:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:31:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:31:12 Europe/Berlin] Session role: not set
[24-Dec-2025 08:31:12 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:31:12 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:31:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:31:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:31:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:31:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:31:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:31:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:31:42 Europe/Berlin] Session role: not set
[24-Dec-2025 08:31:42 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:31:42 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:31:42 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:32:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:32:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:32:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:32:16 Europe/Berlin] Session role: not set
[24-Dec-2025 08:32:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:32:16 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:32:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:32:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:32:42 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:32:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:42 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:32:42 Europe/Berlin] Session role: not set
[24-Dec-2025 08:32:42 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:32:43 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:32:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:32:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:32:49 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[24-Dec-2025 08:32:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:49 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:49 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:49 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:32:49 Europe/Berlin] Session role: not set
[24-Dec-2025 08:32:49 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:32:49 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:32:50 UTC] Analytics: Looking for courses for teacher ID: 28
[24-Dec-2025 07:32:50 UTC] Analytics: No courses found for teacher 28
[24-Dec-2025 07:32:50 UTC] Analytics: Teacher has 0 total courses in database
[24-Dec-2025 07:32:50 UTC] Analytics: Final top_courses count: 1
[24-Dec-2025 07:32:50 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[24-Dec-2025 07:32:50 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[24-Dec-2025 08:32:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:32:50 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:32:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:50 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:50 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:50 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:32:50 Europe/Berlin] Session role: not set
[24-Dec-2025 08:32:50 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:32:50 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:32:50 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:32:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:32:59 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 08:32:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:59 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:59 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:32:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:32:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:32:59 Europe/Berlin] Session role: not set
[24-Dec-2025 08:32:59 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:32:59 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:32:59 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 07:32:59 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 07:32:59 UTC] Found 0 videos for teacher 28
[24-Dec-2025 08:33:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:33:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:33:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:33:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:33:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:33:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:33:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:33:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:33:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:33:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:33:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:33:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:33:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:33:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:33:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:33:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:33:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:33:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:34:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:34:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:34:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:34:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:34:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:34:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:34:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:34:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:34:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:34:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:34:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:34:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:34:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:34:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:34:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:34:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:34:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:34:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:35:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:35:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:35:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:35:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:35:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:35:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:35:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:35:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:35:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:35:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:35:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:35:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:35:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:35:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:35:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:35:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:35:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:35:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:36:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:36:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:36:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:36:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:36:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:36:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:36:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:36:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:36:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:36:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:36:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:36:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:36:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:36:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:36:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:36:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:36:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:36:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:37:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:37:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:37:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:37:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:37:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:37:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:37:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:37:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:37:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:37:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:37:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:37:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:37:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:37:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:37:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:37:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:37:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:37:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:37:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:38:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:38:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:38:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:38:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:38:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:38:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:38:02 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:38:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:38:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:38:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:38:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:38:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:38:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:38:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:38:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:38:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:38:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:38:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:39:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:39:01 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:39:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:01 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:39:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:01 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:39:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:39:01 Europe/Berlin] Session role: not set
[24-Dec-2025 08:39:01 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:39:01 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:39:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:39:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:39:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:39:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:39:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:39:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:39:31 Europe/Berlin] Session role: not set
[24-Dec-2025 08:39:31 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:39:31 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:39:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:40:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:40:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:40:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:40:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:40:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:40:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:40:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:40:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:40:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:40:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:40:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:40:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:40:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:40:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:40:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:40:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:40:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:41:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:41:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:41:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:41:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:41:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:41:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:41:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:41:37 Europe/Berlin] Session role: not set
[24-Dec-2025 08:41:37 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:41:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:41:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:42:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:42:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:42:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:42:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:42:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:42:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:42:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:42:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:42:36 Europe/Berlin] Session role: not set
[24-Dec-2025 08:42:36 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:42:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:42:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:43:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:43:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:43:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:27 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:27 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:43:27 Europe/Berlin] Session role: not set
[24-Dec-2025 08:43:27 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:43:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:43:28 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:43:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:43:28 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 08:43:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:43:28 Europe/Berlin] Session role: not set
[24-Dec-2025 08:43:28 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:43:28 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:43:28 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 07:43:28 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 07:43:28 UTC] Found 0 videos for teacher 28
[24-Dec-2025 08:43:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:43:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:43:30 Europe/Berlin] Session role: not set
[24-Dec-2025 08:43:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:43:30 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:43:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:43:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:43:35 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[24-Dec-2025 08:43:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:35 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:35 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:43:35 Europe/Berlin] Session role: not set
[24-Dec-2025 08:43:35 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:43:35 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 08:43:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:43:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:43:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:43:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:43:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:43:36 Europe/Berlin] Session role: not set
[24-Dec-2025 08:43:36 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:43:36 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:43:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:44:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:44:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:06 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:06 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:06 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:06 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:07 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:44:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 08:44:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:17 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:17 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:17 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:17 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 07:44:17 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 07:44:17 UTC] Found 0 videos for teacher 28
[24-Dec-2025 08:44:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:44:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:18 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:18 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:18 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:18 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:44:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:37 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[24-Dec-2025 08:44:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:37 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:37 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:37 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:37 UTC] Analytics: Looking for courses for teacher ID: 28
[24-Dec-2025 07:44:37 UTC] Analytics: No courses found for teacher 28
[24-Dec-2025 07:44:37 UTC] Analytics: Teacher has 0 total courses in database
[24-Dec-2025 07:44:37 UTC] Analytics: Final top_courses count: 1
[24-Dec-2025 07:44:37 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[24-Dec-2025 07:44:37 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[24-Dec-2025 08:44:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:44:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:39 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:39 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:39 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:44:56 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:56 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:56 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:56 Europe/Berlin] 🔐 ROLE CHECK - Required: teacher, User: teacher
[24-Dec-2025 08:44:56 Europe/Berlin] 🔐 SESSION DATA: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:44:57 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:44:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:57 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:57 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:44:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:44:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:44:57 Europe/Berlin] Session role: not set
[24-Dec-2025 08:44:57 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:44:57 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:44:57 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 08:45:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:45:00 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 08:45:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:45:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:00 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:45:00 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:45:00 Europe/Berlin] Session role: not set
[24-Dec-2025 08:45:00 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:45:00 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:45:04 UTC] Fetching videos for teacher_id: 28
[24-Dec-2025 07:45:04 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 07:45:04 UTC] Found 0 videos for teacher 28
[24-Dec-2025 08:45:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 08:45:05 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 08:45:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:05 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:05 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 08:45:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1766561230
    [last_regeneration] => 1766561230
    [user_id] => 28
    [username] => benoni
    [email] => kendricknick56@gmail.com
    [first_name] => jas
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766561230
    [session_started_at] => 2025-12-24 08:27:10
    [login_redirect_count] => 0
)

[24-Dec-2025 08:45:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 08:45:05 Europe/Berlin] Session role: not set
[24-Dec-2025 08:45:05 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 07:45:05 UTC] 🔔 Navbar Debug - User ID: 28, Count: 0
[24-Dec-2025 07:45:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:51:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:24 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 09:51:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
)

[24-Dec-2025 09:51:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
)

[24-Dec-2025 09:51:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
)

[24-Dec-2025 09:51:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:24 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:24 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:25 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:25 UTC] Fetching videos for teacher_id: 55
[24-Dec-2025 08:51:25 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 08:51:25 UTC] Found 0 videos for teacher 55
[24-Dec-2025 09:51:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:51:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:26 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:26 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:27 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:51:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:30 Europe/Berlin] Teacher Auth Check - Script: courses.php
[24-Dec-2025 09:51:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:30 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:30 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:30 UTC] DB Connection Status: Connected
[24-Dec-2025 08:51:30 UTC] User with ID 55 found
[24-Dec-2025 08:51:30 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 09:51:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:51:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:30 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:30 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:51:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:34 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 09:51:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:34 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:34 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:34 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:34 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 09:51:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:51:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:34 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:34 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:34 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:51:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:36 Europe/Berlin] Teacher Auth Check - Script: videos.php
[24-Dec-2025 09:51:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:36 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:36 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:36 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:51:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:36 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:51:36 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:36 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:36 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:36 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:36 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:36 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:36 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:51:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:37 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 09:51:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:37 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:37 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:37 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:37 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:37 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 09:51:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:51:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:51:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:51:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:51:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:51:38 Europe/Berlin] Session role: not set
[24-Dec-2025 09:51:38 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:51:38 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:51:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:52:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:52:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:08 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:08 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:08 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:52:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:52:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:09 Europe/Berlin] Teacher Auth Check - Script: videos.php
[24-Dec-2025 09:52:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:09 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:09 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:09 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:52:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:52:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:10 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:10 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:10 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:10 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:52:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:52:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:11 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[24-Dec-2025 09:52:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:11 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:11 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:11 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:52:12 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:12 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:52:12 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:12 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:12 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:12 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:12 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:12 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:12 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:52:12 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:52:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:15 Europe/Berlin] Teacher Auth Check - Script: videos.php
[24-Dec-2025 09:52:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:15 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:15 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:15 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:52:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:52:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:15 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:15 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:15 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:52:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:52:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:52:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:52:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:52:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:52:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:52:46 Europe/Berlin] Session role: not set
[24-Dec-2025 09:52:46 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:52:46 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:52:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:53:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:53:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:53:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:53:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:53:16 Europe/Berlin] Session role: not set
[24-Dec-2025 09:53:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:53:17 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:53:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:53:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:53:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:53:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:53:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:53:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:53:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:53:46 Europe/Berlin] Session role: not set
[24-Dec-2025 09:53:46 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:53:47 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:53:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:54:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:54:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:54:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:54:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:54:16 Europe/Berlin] Session role: not set
[24-Dec-2025 09:54:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:54:16 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:54:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:54:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:54:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:54:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:54:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:46 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:54:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:54:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:54:46 Europe/Berlin] Session role: not set
[24-Dec-2025 09:54:46 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:54:46 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:54:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:55:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:55:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:55:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:55:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:55:16 Europe/Berlin] Session role: not set
[24-Dec-2025 09:55:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:55:17 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:55:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:55:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:55:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:55:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:47 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:55:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:47 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:55:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:55:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:55:47 Europe/Berlin] Session role: not set
[24-Dec-2025 09:55:47 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:55:47 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:55:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:56:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:56:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:56:48 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:56:48 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:56:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:56:48 Europe/Berlin] Session role: not set
[24-Dec-2025 09:56:48 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:56:48 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:56:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:16 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:16 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:57:16 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Script: videos.php
[24-Dec-2025 09:57:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:16 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:16 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:57:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:57:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:17 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:17 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:17 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:57:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:57:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:22 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 09:57:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:22 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:22 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:22 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:22 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:22 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:22 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:57:23 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 09:57:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:57:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:23 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:23 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:23 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:57:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:57:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:57:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:57:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:57:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:57:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:57:55 Europe/Berlin] Session role: not set
[24-Dec-2025 09:57:55 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:57:55 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:57:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:58:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:58:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:58:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:58:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:58:24 Europe/Berlin] Session role: not set
[24-Dec-2025 09:58:24 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:58:24 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:58:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:58:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:58:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:58:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:58:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:58:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:58:55 Europe/Berlin] Session role: not set
[24-Dec-2025 09:58:55 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:58:55 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:58:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:59:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:59:26 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:59:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:26 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:59:26 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:59:26 Europe/Berlin] Session role: not set
[24-Dec-2025 09:59:26 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:59:26 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:59:26 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 09:59:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 09:59:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 09:59:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 09:59:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 09:59:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 09:59:55 Europe/Berlin] Session role: not set
[24-Dec-2025 09:59:55 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 08:59:55 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 08:59:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:00:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:00:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:00:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:00:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:00:24 Europe/Berlin] Session role: not set
[24-Dec-2025 10:00:24 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:00:24 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:00:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:00:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:00:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:00:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:00:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:55 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:00:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:00:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:00:55 Europe/Berlin] Session role: not set
[24-Dec-2025 10:00:55 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:00:55 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:00:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:01:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:01:52 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:01:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:01:52 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:01:52 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:01:52 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:01:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:01:52 Europe/Berlin] Session role: not set
[24-Dec-2025 10:01:52 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:01:52 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:01:52 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:02:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:02:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:02:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:25 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:25 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:02:25 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:02:25 Europe/Berlin] Session role: not set
[24-Dec-2025 10:02:25 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:02:25 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:02:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:02:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:02:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:02:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:54 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:54 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:02:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:02:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:02:54 Europe/Berlin] Session role: not set
[24-Dec-2025 10:02:54 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:02:54 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:02:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:03:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:03:28 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:03:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:28 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:28 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:03:28 Europe/Berlin] Session role: not set
[24-Dec-2025 10:03:28 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:03:29 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:03:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:03:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:03:29 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 10:03:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:29 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:29 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:03:29 Europe/Berlin] Session role: not set
[24-Dec-2025 10:03:29 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:03:29 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:03:29 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 10:03:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:03:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:03:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:30 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:03:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:03:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:03:30 Europe/Berlin] Session role: not set
[24-Dec-2025 10:03:30 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:03:30 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:03:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:04:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:04:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:04:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:04:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:04:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:04:02 Europe/Berlin] Session role: not set
[24-Dec-2025 10:04:02 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:04:02 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:04:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:04:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:04:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:04:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:32 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:32 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:04:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:04:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:04:32 Europe/Berlin] Session role: not set
[24-Dec-2025 10:04:32 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:04:32 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:04:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:05:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:05:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:05:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:05:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:05:02 Europe/Berlin] Session role: not set
[24-Dec-2025 10:05:02 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:05:03 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:05:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:05:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:05:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:05:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:05:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:05:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:05:31 Europe/Berlin] Session role: not set
[24-Dec-2025 10:05:31 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:05:31 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:05:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:06:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:06:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:06:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:02 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:06:02 Europe/Berlin] Session role: not set
[24-Dec-2025 10:06:02 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:06:02 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:06:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:06:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:06:31 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:06:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:31 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:06:31 Europe/Berlin] Session role: not set
[24-Dec-2025 10:06:31 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:06:31 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:06:31 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:06:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:06:57 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[24-Dec-2025 10:06:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:57 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:57 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:57 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:57 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:06:57 Europe/Berlin] Session role: not set
[24-Dec-2025 10:06:57 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:06:57 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:06:57 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[24-Dec-2025 10:06:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:06:58 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:06:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:58 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:58 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:06:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:06:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:06:58 Europe/Berlin] Session role: not set
[24-Dec-2025 10:06:58 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:06:58 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:06:58 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:07:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:07:07 Europe/Berlin] Teacher Auth Check - Script: profile.php
[24-Dec-2025 10:07:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:07 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:07 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:07:07 Europe/Berlin] Session role: not set
[24-Dec-2025 10:07:07 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:07:07 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 10:07:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:07:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:07:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:07:08 Europe/Berlin] Session role: not set
[24-Dec-2025 10:07:08 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:07:08 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:07:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:07:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:07:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:07:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:07:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:07:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:07:38 Europe/Berlin] Session role: not set
[24-Dec-2025 10:07:38 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:07:38 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:07:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:08:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:08:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:08:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:08:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:08:08 Europe/Berlin] Session role: not set
[24-Dec-2025 10:08:08 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:08:08 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:08:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:08:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:08:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:08:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:08:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:08:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:08:38 Europe/Berlin] Session role: not set
[24-Dec-2025 10:08:38 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:08:38 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:08:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:09:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:09:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:09:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:09:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:09 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:09:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:09:09 Europe/Berlin] Session role: not set
[24-Dec-2025 10:09:09 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:09:09 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:09:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:09:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:09:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:09:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:09:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:09:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:09:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:09:39 Europe/Berlin] Session role: not set
[24-Dec-2025 10:09:39 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:09:39 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:09:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:10:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:10:08 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:10:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:10:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:08 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:10:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:10:08 Europe/Berlin] Session role: not set
[24-Dec-2025 10:10:08 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:10:08 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:10:08 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:10:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:10:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:10:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:10:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:39 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:10:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:10:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:10:39 Europe/Berlin] Session role: not set
[24-Dec-2025 10:10:39 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:10:39 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:10:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:11:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:11:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:11:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:11:40 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:11:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:11:40 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:11:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:11:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:11:40 Europe/Berlin] Session role: not set
[24-Dec-2025 10:11:40 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:11:40 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:11:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:12:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:12:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:12:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:19 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:12:19 Europe/Berlin] Session role: not set
[24-Dec-2025 10:12:19 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:12:19 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:12:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:12:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:12:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:12:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:38 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:12:38 Europe/Berlin] Session role: not set
[24-Dec-2025 10:12:38 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:12:38 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:12:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:12:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:12:43 Europe/Berlin] Teacher Auth Check - Script: profile.php
[24-Dec-2025 10:12:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:12:43 Europe/Berlin] Session role: not set
[24-Dec-2025 10:12:43 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:12:43 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 10:12:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:12:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:12:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:12:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:12:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:12:43 Europe/Berlin] Session role: not set
[24-Dec-2025 10:12:43 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:12:44 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:12:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:13:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:13:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:13:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:14 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:14 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:13:14 Europe/Berlin] Session role: not set
[24-Dec-2025 10:13:14 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:13:14 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:13:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:13:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:13:40 Europe/Berlin] Teacher Auth Check - Script: profile.php
[24-Dec-2025 10:13:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:40 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:40 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:13:40 Europe/Berlin] Session role: not set
[24-Dec-2025 10:13:40 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:13:40 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 10:13:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:13:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:13:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:41 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:41 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:13:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:13:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:13:41 Europe/Berlin] Session role: not set
[24-Dec-2025 10:13:41 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:13:41 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:13:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:14:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:14:11 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:14:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:11 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:11 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:14:11 Europe/Berlin] Session role: not set
[24-Dec-2025 10:14:11 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:14:11 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:14:11 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:14:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:14:16 Europe/Berlin] Teacher Auth Check - Script: profile.php
[24-Dec-2025 10:14:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:16 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:14:16 Europe/Berlin] Session role: not set
[24-Dec-2025 10:14:16 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:14:16 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:14:16 UTC] Profile picture upload triggered for user 55
[24-Dec-2025 09:14:16 UTC] File error: 0
[24-Dec-2025 09:14:16 UTC] File type: image/jpeg
[24-Dec-2025 09:14:16 UTC] File size: 178825
[24-Dec-2025 10:14:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:14:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:14:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:17 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:14:17 Europe/Berlin] Session role: not set
[24-Dec-2025 10:14:17 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:14:17 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:14:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Dec-2025 10:14:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:14:23 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Dec-2025 10:14:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:23 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:23 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:14:23 Europe/Berlin] Session role: not set
[24-Dec-2025 10:14:23 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:14:23 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:14:23 UTC] Fetching videos for teacher_id: 55
[24-Dec-2025 09:14:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[24-Dec-2025 09:14:23 UTC] Found 0 videos for teacher 55
[24-Dec-2025 10:14:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Dec-2025 10:14:24 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[24-Dec-2025 10:14:24 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:24 Europe/Berlin] isLoggedIn check result: true
[24-Dec-2025 10:14:24 Europe/Berlin] Session data: Array
(
    [created_at] => 1766566283
    [last_regeneration] => 1766566283
    [session_started_at] => 2025-12-24 08:48:00
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766566283
    [login_redirect_count] => 0
)

[24-Dec-2025 10:14:24 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[24-Dec-2025 10:14:24 Europe/Berlin] Session role: not set
[24-Dec-2025 10:14:24 Europe/Berlin] Session user_role: teacher
[24-Dec-2025 09:14:24 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[24-Dec-2025 09:14:24 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[25-Dec-2025 21:41:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Dec-2025 21:41:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Dec-2025 21:41:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-25 21:41:40
)

[25-Dec-2025 21:41:40 Europe/Berlin] isLoggedIn check result: false
[25-Dec-2025 21:41:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-25 21:41:40
)

[27-Dec-2025 05:19:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Dec-2025 05:19:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Dec-2025 05:19:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-27 05:19:42
)

[27-Dec-2025 05:19:43 Europe/Berlin] isLoggedIn check result: false
[27-Dec-2025 05:19:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-27 05:19:42
)

[27-Dec-2025 13:04:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Dec-2025 13:04:09 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Dec-2025 13:04:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-27 13:03:35
    [created_at] => 1766837027
    [last_regeneration] => 1766837027
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[27-Dec-2025 13:04:09 Europe/Berlin] isLoggedIn check result: false
[27-Dec-2025 13:04:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-27 13:03:35
    [created_at] => 1766837027
    [last_regeneration] => 1766837027
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[27-Dec-2025 13:04:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Dec-2025 13:04:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Dec-2025 13:04:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-27 13:03:39
    [created_at] => 1766837036
    [last_regeneration] => 1766837036
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[27-Dec-2025 13:04:20 Europe/Berlin] isLoggedIn check result: false
[27-Dec-2025 13:04:20 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-27 13:03:39
    [created_at] => 1766837036
    [last_regeneration] => 1766837036
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[28-Dec-2025 06:32:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 06:32:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Dec-2025 06:32:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 06:32:06
)

[28-Dec-2025 06:32:06 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 06:32:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 06:32:06
)

[28-Dec-2025 13:46:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 13:46:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Dec-2025 13:46:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:46:17
)

[28-Dec-2025 13:46:17 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 13:46:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:46:17
)

[28-Dec-2025 14:13:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[28-Dec-2025 14:13:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
)

[28-Dec-2025 14:13:17 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
)

[28-Dec-2025 14:13:17 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
)

[28-Dec-2025 14:13:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:17 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:17 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:17 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:18 UTC] Fetching videos for teacher_id: 55
[28-Dec-2025 13:13:18 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[28-Dec-2025 13:13:18 UTC] Found 0 videos for teacher 55
[28-Dec-2025 14:13:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:20 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:13:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:20 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:20 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:20 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:20 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:20 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:20 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:20 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:20 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:13:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:42 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Dec-2025 14:13:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:42 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:42 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:42 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:42 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:42 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:42 UTC] DB Connection Status: Connected
[28-Dec-2025 13:13:42 UTC] User with ID 55 found
[28-Dec-2025 13:13:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Dec-2025 14:13:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:13:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:43 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:43 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:43 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:43 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:43 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:43 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:13:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:45 Europe/Berlin] Teacher Auth Check - Script: courses.php
[28-Dec-2025 14:13:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 14:13:45
)

[28-Dec-2025 14:13:45 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 14:13:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 14:13:45
)

[28-Dec-2025 14:13:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:52 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Dec-2025 14:13:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:52 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:52 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:52 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:52 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:52 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:52 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[28-Dec-2025 14:13:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:13:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:53 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:53 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:53 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:53 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:53 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:13:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:13:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:56 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[28-Dec-2025 14:13:56 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 14:13:55
)

[28-Dec-2025 14:13:56 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 14:13:56 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 14:13:55
)

[28-Dec-2025 14:13:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:13:59 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Dec-2025 14:13:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:59 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:59 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:13:59 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:13:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:13:59 Europe/Berlin] Session role: not set
[28-Dec-2025 14:13:59 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:13:59 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 14:14:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:14:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:14:00 Europe/Berlin] Session role: not set
[28-Dec-2025 14:14:00 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:14:01 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:14:01 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:14:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:02 Europe/Berlin] Teacher Auth Check - Script: videos.php
[28-Dec-2025 14:14:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 14:14:02
)

[28-Dec-2025 14:14:02 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 14:14:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 14:14:02
)

[28-Dec-2025 14:14:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:05 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[28-Dec-2025 14:14:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:05 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:05 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:14:05 Europe/Berlin] Session role: not set
[28-Dec-2025 14:14:05 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:14:05 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 14:14:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:14:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:06 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:06 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:06 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:14:06 Europe/Berlin] Session role: not set
[28-Dec-2025 14:14:06 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:14:06 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:14:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:14:28 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:28 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[28-Dec-2025 14:14:28 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:28 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:28 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:28 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:28 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:14:28 Europe/Berlin] Session role: not set
[28-Dec-2025 14:14:28 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:14:28 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 14:14:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:14:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:29 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:29 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:14:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:14:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:14:29 Europe/Berlin] Session role: not set
[28-Dec-2025 14:14:29 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:14:30 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:14:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:14:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:14:32 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[28-Dec-2025 14:14:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 14:14:32
)

[28-Dec-2025 14:14:32 Europe/Berlin] isLoggedIn check result: false
[28-Dec-2025 14:14:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 14:14:32
)

[28-Dec-2025 14:15:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:15:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:15:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:15:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:15:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:15:00 Europe/Berlin] Session role: not set
[28-Dec-2025 14:15:00 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:15:00 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:15:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:15:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:15:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:15:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:30 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:15:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:30 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:15:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:15:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:15:30 Europe/Berlin] Session role: not set
[28-Dec-2025 14:15:30 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:15:30 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:15:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:17:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:17:38 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:17:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:17:38 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:17:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:17:38 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:17:38 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:17:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:17:38 Europe/Berlin] Session role: not set
[28-Dec-2025 14:17:38 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:17:38 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:17:38 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:18:00 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:18:00 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:18:00 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:18:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:00 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:18:00 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:00 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:18:00 Europe/Berlin] Session role: not set
[28-Dec-2025 14:18:00 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:18:00 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:18:00 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:18:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:18:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:18:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:29 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:18:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:29 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:18:29 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:18:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:18:29 Europe/Berlin] Session role: not set
[28-Dec-2025 14:18:29 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:18:29 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:18:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[28-Dec-2025 14:24:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[28-Dec-2025 14:24:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[28-Dec-2025 14:24:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:24:39 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:24:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:24:39 Europe/Berlin] isLoggedIn check result: true
[28-Dec-2025 14:24:39 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-28 13:12:33
    [created_at] => 1766927596
    [last_regeneration] => 1766927596
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766927596
    [login_redirect_count] => 0
)

[28-Dec-2025 14:24:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[28-Dec-2025 14:24:39 Europe/Berlin] Session role: not set
[28-Dec-2025 14:24:39 Europe/Berlin] Session user_role: teacher
[28-Dec-2025 13:24:39 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[28-Dec-2025 13:24:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[29-Dec-2025 08:08:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Dec-2025 08:08:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[29-Dec-2025 08:08:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
)

[29-Dec-2025 08:08:20 Europe/Berlin] isLoggedIn check result: true
[29-Dec-2025 08:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
)

[29-Dec-2025 08:08:20 Europe/Berlin] isLoggedIn check result: true
[29-Dec-2025 08:08:20 Europe/Berlin] Session data: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
)

[29-Dec-2025 08:08:20 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Dec-2025 08:08:20 Europe/Berlin] Session role: not set
[29-Dec-2025 08:08:20 Europe/Berlin] Session user_role: teacher
[29-Dec-2025 07:08:20 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[29-Dec-2025 07:08:21 UTC] Fetching videos for teacher_id: 55
[29-Dec-2025 07:08:21 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[29-Dec-2025 07:08:21 UTC] Found 0 videos for teacher 55
[29-Dec-2025 08:08:21 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[29-Dec-2025 08:08:21 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[29-Dec-2025 08:08:21 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
    [login_redirect_count] => 0
)

[29-Dec-2025 08:08:21 Europe/Berlin] isLoggedIn check result: true
[29-Dec-2025 08:08:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
    [login_redirect_count] => 0
)

[29-Dec-2025 08:08:21 Europe/Berlin] isLoggedIn check result: true
[29-Dec-2025 08:08:21 Europe/Berlin] Session data: Array
(
    [created_at] => 1766992100
    [last_regeneration] => 1766992100
    [user_id] => 55
    [username] => nioani
    [email] => kanbrandan@gmail.com
    [first_name] => breaking
    [last_name] => luna
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1766992100
    [session_started_at] => 2025-12-29 08:08:20
    [login_redirect_count] => 0
)

[29-Dec-2025 08:08:21 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[29-Dec-2025 08:08:21 Europe/Berlin] Session role: not set
[29-Dec-2025 08:08:21 Europe/Berlin] Session user_role: teacher
[29-Dec-2025 07:08:22 UTC] 🔔 Navbar Debug - User ID: 55, Count: 0
[29-Dec-2025 07:08:22 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[31-Dec-2025 03:50:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[31-Dec-2025 03:50:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[31-Dec-2025 03:50:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-31 03:50:54
)

[31-Dec-2025 03:50:54 Europe/Berlin] isLoggedIn check result: false
[31-Dec-2025 03:50:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-31 03:50:54
)

[31-Dec-2025 14:10:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[31-Dec-2025 14:10:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[31-Dec-2025 14:10:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-31 14:10:51
)

[31-Dec-2025 14:10:51 Europe/Berlin] isLoggedIn check result: false
[31-Dec-2025 14:10:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-31 14:10:51
)

[31-Dec-2025 14:11:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[31-Dec-2025 14:11:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[31-Dec-2025 14:11:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2025-12-31 14:11:44
)

[31-Dec-2025 14:11:44 Europe/Berlin] isLoggedIn check result: false
[31-Dec-2025 14:11:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2025-12-31 14:11:44
)

[03-Jan-2026 22:00:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[03-Jan-2026 22:00:55 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[03-Jan-2026 22:00:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-03 22:00:55
)

[03-Jan-2026 22:00:55 Europe/Berlin] isLoggedIn check result: false
[03-Jan-2026 22:00:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-03 22:00:55
)

[05-Jan-2026 02:24:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Jan-2026 02:24:45 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[05-Jan-2026 02:24:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-05 02:24:45
)

[05-Jan-2026 02:24:45 Europe/Berlin] isLoggedIn check result: false
[05-Jan-2026 02:24:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-05 02:24:45
)

[05-Jan-2026 10:48:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Jan-2026 10:48:37 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[05-Jan-2026 10:48:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-05 10:48:37
)

[05-Jan-2026 10:48:37 Europe/Berlin] isLoggedIn check result: false
[05-Jan-2026 10:48:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-05 10:48:37
)

[08-Jan-2026 07:56:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 07:56:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Jan-2026 07:56:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 07:56:45
)

[08-Jan-2026 07:56:46 Europe/Berlin] isLoggedIn check result: false
[08-Jan-2026 07:56:46 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 07:56:45
)

[08-Jan-2026 18:32:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:32:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Jan-2026 18:32:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
)

[08-Jan-2026 18:32:22 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
)

[08-Jan-2026 18:32:22 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
)

[08-Jan-2026 18:32:22 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:32:22 Europe/Berlin] Session role: not set
[08-Jan-2026 18:32:22 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:32:22 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:32:23 UTC] Fetching videos for teacher_id: 5
[08-Jan-2026 17:32:23 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Jan-2026 17:32:23 UTC] Found 0 videos for teacher 5
[08-Jan-2026 18:32:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:32:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:32:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:32:25 Europe/Berlin] Session role: not set
[08-Jan-2026 18:32:25 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:32:25 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:32:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:32:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:32:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:32:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:55 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:55 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:32:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:32:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:32:55 Europe/Berlin] Session role: not set
[08-Jan-2026 18:32:55 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:32:56 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:32:56 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:33:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:33:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:33:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:33:25 Europe/Berlin] Session role: not set
[08-Jan-2026 18:33:25 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:33:25 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:33:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:33:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:33:26 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Jan-2026 18:33:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:26 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:26 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:33:26 Europe/Berlin] Session role: not set
[08-Jan-2026 18:33:26 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:33:26 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:33:26 UTC] DB Connection Status: Connected
[08-Jan-2026 17:33:26 UTC] User with ID 5 found
[08-Jan-2026 17:33:26 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Jan-2026 18:33:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:33:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:33:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:27 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:27 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:33:27 Europe/Berlin] Session role: not set
[08-Jan-2026 18:33:27 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:33:27 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:33:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:33:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:33:30 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Jan-2026 18:33:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:30 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:30 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:30 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:33:30 Europe/Berlin] Session role: not set
[08-Jan-2026 18:33:30 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:33:31 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:33:31 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Jan-2026 18:33:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:33:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:33:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:32 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:32 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:33:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:33:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:33:32 Europe/Berlin] Session role: not set
[08-Jan-2026 18:33:32 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:33:32 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:33:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:34:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:34:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:34:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:03 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:34:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:03 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:34:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:34:03 Europe/Berlin] Session role: not set
[08-Jan-2026 18:34:03 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:34:03 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:34:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:34:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:34:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:34:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:32 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:34:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:32 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:34:32 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:34:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:34:32 Europe/Berlin] Session role: not set
[08-Jan-2026 18:34:32 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:34:33 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:34:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:02 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:02 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:02 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[08-Jan-2026 18:35:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:02 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:02 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:03 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:03 UTC] Fetching videos for teacher_id: 5
[08-Jan-2026 17:35:03 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[08-Jan-2026 17:35:03 UTC] Found 0 videos for teacher 5
[08-Jan-2026 18:35:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:04 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:04 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:04 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:04 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:05 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:05 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:05 Europe/Berlin] Teacher Auth Check - Script: courses.php
[08-Jan-2026 18:35:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:05 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:05 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:05 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:05 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:05 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:06 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:06 UTC] DB Connection Status: Connected
[08-Jan-2026 17:35:06 UTC] User with ID 5 found
[08-Jan-2026 17:35:06 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Jan-2026 18:35:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:07 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:07 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:07 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:07 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:07 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:07 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:07 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:07 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:09 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[08-Jan-2026 18:35:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:09 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:09 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:09 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:09 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:09 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:09 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[08-Jan-2026 18:35:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:10 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:10 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:10 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:10 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:10 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:10 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:10 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:17 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Jan-2026 18:35:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:17 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:17 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:17 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:17 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:17 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:35:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:18 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:18 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:18 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:35:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:35:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:35:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:48 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:48 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:35:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:35:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:35:48 Europe/Berlin] Session role: not set
[08-Jan-2026 18:35:48 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:35:48 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:35:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:36:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:36:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:36:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:36:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:36:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:36:18 Europe/Berlin] Session role: not set
[08-Jan-2026 18:36:18 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:36:18 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:36:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:36:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:36:48 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:36:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:48 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:36:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:48 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:36:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:36:48 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:36:48 Europe/Berlin] Session role: not set
[08-Jan-2026 18:36:48 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:36:48 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:36:48 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:37:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:11 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[08-Jan-2026 18:37:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:11 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:11 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:11 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:11 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:11 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:37:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:13 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:37:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:13 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:13 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:13 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:13 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:13 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:13 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:37:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:16 Europe/Berlin] Teacher Auth Check - Script: enrolled_students.php
[08-Jan-2026 18:37:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:16 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:16 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:16 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:16 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:16 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:17 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:37:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:37:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:18 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:18 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:18 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:37:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 17:37:22 UTC] Teacher Auth Check - Script: manage-course-materials.php
[08-Jan-2026 17:37:22 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:22 UTC] isLoggedIn check result: true
[08-Jan-2026 17:37:22 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:22 UTC] isLoggedIn check result: true
[08-Jan-2026 17:37:22 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:22 UTC] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 17:37:22 UTC] Session role: not set
[08-Jan-2026 17:37:22 UTC] Session user_role: teacher
[08-Jan-2026 17:37:22 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:37:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:23 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:37:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:23 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:23 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:23 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:23 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:23 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:23 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:23 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:37:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 17:37:32 UTC] Teacher Auth Check - Script: library_submissions.php
[08-Jan-2026 17:37:32 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:32 UTC] isLoggedIn check result: true
[08-Jan-2026 17:37:32 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:32 UTC] isLoggedIn check result: true
[08-Jan-2026 17:37:32 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:37:32 UTC] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 17:37:32 UTC] Session role: not set
[08-Jan-2026 17:37:32 UTC] Session user_role: teacher
[08-Jan-2026 17:37:33 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:37:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:37:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:33 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:33 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:33 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:33 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:33 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:33 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:37:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:52 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[08-Jan-2026 18:37:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:52 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:52 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:52 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:52 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:52 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:52 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:52 UTC] Analytics: Looking for courses for teacher ID: 5
[08-Jan-2026 17:37:52 UTC] Analytics: No courses found for teacher 5
[08-Jan-2026 17:37:52 UTC] Analytics: Teacher has 4 total courses in database
[08-Jan-2026 17:37:52 UTC] Analytics: Final top_courses count: 0
[08-Jan-2026 17:37:52 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[08-Jan-2026 17:37:52 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[08-Jan-2026 18:37:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:37:53 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:37:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:53 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:37:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:37:53 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:37:53 Europe/Berlin] Session role: not set
[08-Jan-2026 18:37:53 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:37:53 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:37:53 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:38:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:03 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[08-Jan-2026 18:38:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:03 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:03 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:03 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:03 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:03 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:38:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:38:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:04 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:04 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:04 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:04 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:04 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:04 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:38:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:09 Europe/Berlin] Teacher Auth Check - Script: referrals.php
[08-Jan-2026 18:38:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:09 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:09 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:09 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:09 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:09 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:09 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:38:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:38:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:10 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:10 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:10 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:10 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:10 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:10 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:10 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:38:26 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:26 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Jan-2026 18:38:26 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:26 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:26 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:26 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:26 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:26 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:26 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:26 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:26 UTC] isLoggedIn check result: true
[08-Jan-2026 17:38:26 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:38:26 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[08-Jan-2026 17:38:26 UTC] 🔐 SESSION DATA: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:27 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:27 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:38:27 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:27 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:27 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:27 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:27 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:27 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:27 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:27 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:27 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:38:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:44 Europe/Berlin] Teacher Auth Check - Script: profile.php
[08-Jan-2026 18:38:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:44 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:44 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:44 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:44 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:44 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:38:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:38:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:45 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:45 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:45 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:45 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:45 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:45 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:49 Europe/Berlin] Teacher Auth Check - Script: settings.php
[08-Jan-2026 18:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:49 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:49 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:49 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:49 UTC] Failed to prepare statement in get_teacher: Unknown column 'tp.profile_image' in 'field list'
[08-Jan-2026 18:38:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:38:49 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:38:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:38:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:38:49 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:38:49 Europe/Berlin] Session role: not set
[08-Jan-2026 18:38:49 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:38:49 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:38:49 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:01 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Jan-2026 18:39:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:01 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:01 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:01 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:01 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:01 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:01 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:01 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:01 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:01 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[08-Jan-2026 17:39:01 UTC] 🔐 SESSION DATA: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:02 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:02 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:02 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:02 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:02 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:17 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[08-Jan-2026 18:39:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:17 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:17 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:17 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:17 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:17 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:17 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:17 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:17 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[08-Jan-2026 17:39:17 UTC] 🔐 SESSION DATA: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:18 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:18 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:18 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:18 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:18 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:18 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:18 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 17:39:24 UTC] Teacher Auth Check - Script: publish_to_library.php
[08-Jan-2026 17:39:24 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:24 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:24 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:24 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:24 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:24 UTC] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 17:39:24 UTC] Session role: not set
[08-Jan-2026 17:39:24 UTC] Session user_role: teacher
[08-Jan-2026 17:39:24 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:39:24 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:25 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:25 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:25 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 17:39:33 UTC] Teacher Auth Check - Script: library_submissions.php
[08-Jan-2026 17:39:33 UTC] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:33 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:33 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:33 UTC] isLoggedIn check result: true
[08-Jan-2026 17:39:33 UTC] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 17:39:33 UTC] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 17:39:33 UTC] Session role: not set
[08-Jan-2026 17:39:33 UTC] Session user_role: teacher
[08-Jan-2026 17:39:33 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 18:39:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:34 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:34 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:34 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:34 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:34 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:34 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:36 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:37 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:37 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:37 Europe/Berlin] 🔐 ROLE CHECK - Required: teacher, User: teacher
[08-Jan-2026 18:39:37 Europe/Berlin] 🔐 SESSION DATA: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:40 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:40 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:40 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:40 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:40 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:40 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:39:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:54 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:54 Europe/Berlin] 🔐 ROLE CHECK - Required: teacher, User: teacher
[08-Jan-2026 18:39:54 Europe/Berlin] 🔐 SESSION DATA: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:39:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:39:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:55 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:55 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:39:55 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:39:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:39:55 Europe/Berlin] Session role: not set
[08-Jan-2026 18:39:55 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:39:55 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:39:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[08-Jan-2026 18:40:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[08-Jan-2026 18:40:25 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[08-Jan-2026 18:40:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:40:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:40:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:40:25 Europe/Berlin] isLoggedIn check result: true
[08-Jan-2026 18:40:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-08 17:18:38
    [created_at] => 1767893540
    [last_regeneration] => 1767893540
    [stored_redirect] => /student/checkout.php?from_guest_cart=1
    [redirect_to_cart] => 
    [user_id] => 5
    [username] => JoyChikomo
    [email] => mercypraise09@gmail.com
    [first_name] => Joy
    [last_name] => Chikomo
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1767893540
    [login_redirect_count] => 0
)

[08-Jan-2026 18:40:25 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[08-Jan-2026 18:40:25 Europe/Berlin] Session role: not set
[08-Jan-2026 18:40:25 Europe/Berlin] Session user_role: teacher
[08-Jan-2026 17:40:25 UTC] 🔔 Navbar Debug - User ID: 5, Count: 0
[08-Jan-2026 17:40:25 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[11-Jan-2026 16:05:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Jan-2026 16:05:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Jan-2026 16:05:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-11 16:05:49
)

[11-Jan-2026 16:05:49 Europe/Berlin] isLoggedIn check result: false
[11-Jan-2026 16:05:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-11 16:05:49
)

[11-Jan-2026 16:05:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Jan-2026 16:05:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Jan-2026 16:05:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-11 16:05:50
)

[11-Jan-2026 16:05:50 Europe/Berlin] isLoggedIn check result: false
[11-Jan-2026 16:05:50 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-11 16:05:50
)

[11-Jan-2026 16:05:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Jan-2026 16:05:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Jan-2026 16:05:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-11 16:05:53
)

[11-Jan-2026 16:05:53 Europe/Berlin] isLoggedIn check result: false
[11-Jan-2026 16:05:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-11 16:05:53
)

[11-Jan-2026 16:05:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Jan-2026 16:05:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Jan-2026 16:05:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-11 16:05:53
)

[11-Jan-2026 16:05:53 Europe/Berlin] isLoggedIn check result: false
[11-Jan-2026 16:05:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-11 16:05:53
)

[15-Jan-2026 06:51:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Jan-2026 06:51:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Jan-2026 06:51:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-15 06:51:58
)

[15-Jan-2026 06:51:58 Europe/Berlin] isLoggedIn check result: false
[15-Jan-2026 06:51:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-15 06:51:58
)

[15-Jan-2026 14:15:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Jan-2026 14:15:15 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Jan-2026 14:15:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-15 14:15:15
)

[15-Jan-2026 14:15:15 Europe/Berlin] isLoggedIn check result: false
[15-Jan-2026 14:15:15 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-15 14:15:15
)

[15-Jan-2026 20:53:49 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Jan-2026 20:53:49 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Jan-2026 20:53:49 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-15 20:53:49
)

[15-Jan-2026 20:53:49 Europe/Berlin] isLoggedIn check result: false
[15-Jan-2026 20:53:49 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-15 20:53:49
)

[16-Jan-2026 14:26:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[16-Jan-2026 14:26:13 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[16-Jan-2026 14:26:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-16 14:26:13
)

[16-Jan-2026 14:26:13 Europe/Berlin] isLoggedIn check result: false
[16-Jan-2026 14:26:13 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-16 14:26:13
)

[20-Jan-2026 15:19:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:06 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:19:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
)

[20-Jan-2026 15:19:06 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
)

[20-Jan-2026 15:19:06 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
)

[20-Jan-2026 15:19:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:06 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:06 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:06 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:06 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:19:06 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:19:06 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:19:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:19:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:19:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:39 Europe/Berlin] Teacher Auth Check - Script: videos.php
[20-Jan-2026 15:19:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:39 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:39 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:39 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:39 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:39 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 15:19:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:19:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:40 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:40 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:40 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:19:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:42 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[20-Jan-2026 15:19:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:42 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:42 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:42 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:42 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:42 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:42 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:42 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:42 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[20-Jan-2026 15:19:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:43 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:19:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:43 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:43 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:43 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:43 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:43 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:43 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:19:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:54 Europe/Berlin] Teacher Auth Check - Script: profile.php
[20-Jan-2026 15:19:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:54 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:54 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:54 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 15:19:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:19:54 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:19:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:19:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:19:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:19:54 Europe/Berlin] Session role: not set
[20-Jan-2026 15:19:54 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:19:54 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:19:54 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:20:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:20:10 Europe/Berlin] Teacher Auth Check - Script: profile.php
[20-Jan-2026 15:20:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:20:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:20:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:20:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:20:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:20:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 15:20:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:20:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:20:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:20:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:20:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768918745
    [last_regeneration] => 1768918745
    [session_started_at] => 2026-01-20 15:16:51
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768918745
    [login_redirect_count] => 0
)

[20-Jan-2026 15:20:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:20:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:20:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:20:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:20:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:23:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:43 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:23:43 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
)

[20-Jan-2026 15:23:43 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
)

[20-Jan-2026 15:23:43 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:43 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
)

[20-Jan-2026 15:23:43 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:43 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:43 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:43 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:43 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:23:43 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:23:43 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:23:47 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:47 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:23:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:47 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:47 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:47 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:47 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:47 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:47 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:47 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:47 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:23:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:54 Europe/Berlin] Teacher Auth Check - Script: courses.php
[20-Jan-2026 15:23:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:54 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:54 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:54 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:54 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:54 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:54 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:54 UTC] DB Connection Status: Connected
[20-Jan-2026 14:23:54 UTC] User with ID 58 found
[20-Jan-2026 14:23:54 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[20-Jan-2026 15:23:55 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:55 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:23:55 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:55 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:55 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:55 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:55 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:55 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:55 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:55 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:55 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:23:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:58 Europe/Berlin] Teacher Auth Check - Script: create-course.php
[20-Jan-2026 15:23:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:58 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:58 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:58 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:58 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:58 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:58 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:58 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:58 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[20-Jan-2026 15:23:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:23:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:23:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:59 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:59 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:23:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:23:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:23:59 Europe/Berlin] Session role: not set
[20-Jan-2026 15:23:59 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:23:59 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:23:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:24:30 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:24:30 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:24:30 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:30 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:30 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:24:30 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:30 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:24:30 Europe/Berlin] Session role: not set
[20-Jan-2026 15:24:30 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:24:30 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:24:30 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:24:59 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:24:59 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:24:59 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:59 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:59 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:24:59 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:24:59 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:24:59 Europe/Berlin] Session role: not set
[20-Jan-2026 15:24:59 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:24:59 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:24:59 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:25:29 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:25:29 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:25:29 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:25:29 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:25:29 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:29 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
)

[20-Jan-2026 15:25:29 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:25:29 Europe/Berlin] Session role: not set
[20-Jan-2026 15:25:29 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:25:29 UTC] 🔔 Navbar Debug - User ID: 58, Count: 0
[20-Jan-2026 14:25:29 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:25:43 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:25:43 Europe/Berlin] PDO connection created successfully for email service
[20-Jan-2026 15:25:43 Europe/Berlin] Email logged successfully: alainkitumaini8@gmail.com - 🎓 Course Created: "Computer science" - Awaiting Approval - failed
[20-Jan-2026 15:25:43 Europe/Berlin] Email logged successfully: alainkitumaini8@gmail.com - 🎓 Course Created: "Computer science" - Awaiting Approval - sent
[20-Jan-2026 15:25:43 Europe/Berlin] Email logged successfully: alainkitumaini8@gmail.com - 🎓 Course Created: "Computer science" - Awaiting Approval - sent
[20-Jan-2026 15:25:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:25:44 Europe/Berlin] Teacher Auth Check - Script: courses.php
[20-Jan-2026 15:25:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:25:44 Europe/Berlin] Session role: not set
[20-Jan-2026 15:25:44 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:25:44 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:25:44 UTC] DB Connection Status: Connected
[20-Jan-2026 14:25:44 UTC] User with ID 58 found
[20-Jan-2026 14:25:44 UTC] Prepare failed: (1054) Unknown column 'tp.status' in 'field list'
[20-Jan-2026 15:25:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:25:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:25:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:25:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919022
    [last_regeneration] => 1768919022
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919022
    [session_started_at] => 2026-01-20 15:23:43
    [login_redirect_count] => 0
    [flash_message] => Course created successfully! ✉️ Confirmation email sent to you. Your course is awaiting admin approval.
    [flash_type] => success
)

[20-Jan-2026 15:25:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:25:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:25:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:25:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:25:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:27:16 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:16 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:27:16 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
)

[20-Jan-2026 15:27:16 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
)

[20-Jan-2026 15:27:16 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:16 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
)

[20-Jan-2026 15:27:16 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:16 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:16 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:16 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:27:16 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:27:16 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:27:16 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:27:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:17 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:27:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:17 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:17 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:17 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:17 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:17 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:17 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:17 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:27:17 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:27:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:31 Europe/Berlin] Teacher Auth Check - Script: videos.php
[20-Jan-2026 15:27:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:31 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:31 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:31 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:31 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:31 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 15:27:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:27:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:32 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:32 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:32 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:27:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:27:38 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:38 Europe/Berlin] Teacher Auth Check - Script: upload-video.php
[20-Jan-2026 15:27:38 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:38 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:38 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:38 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:38 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:38 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:38 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:38 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 15:27:39 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:27:39 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:27:39 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:39 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:39 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:27:39 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:27:39 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:27:39 Europe/Berlin] Session role: not set
[20-Jan-2026 15:27:39 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:27:39 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:27:39 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:28:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:28:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:28:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:28:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:28:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:28:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:28:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:28:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:28:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:28:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:28:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:28:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:41 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:41 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:28:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:28:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:28:41 Europe/Berlin] Session role: not set
[20-Jan-2026 15:28:41 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:28:41 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:28:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:29:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:29:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:29:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:29:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:29:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:29:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:29:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:29:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:29:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:29:41 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:29:41 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:29:41 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:41 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:41 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:29:41 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:29:41 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:29:41 Europe/Berlin] Session role: not set
[20-Jan-2026 15:29:41 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:29:41 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:29:41 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:30:10 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:10 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:30:10 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:10 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:10 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:10 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:10 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:10 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:10 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:10 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 SESSION DEBUG: Array
(
)

[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 USER ID: NOT SET
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 USER ROLE: NOT SET
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 SESSION STATUS: 1
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 SESSION ID: 
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 AUTH CHECK - USER ID: , ROLE: 
[20-Jan-2026 15:30:15 Europe/Berlin] Process Video: Session user_id not set, defaulting to Teacher 14
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 RECEIVED POST DATA: Array
(
    [form_type] => video_upload
    [teacher_id] => 58
    [video_url] => https://youtu.be/DgGvpcO_Ng0?si=FutaYROXZYfKk1ok
    [detected_platform] => youtube
    [video_id_external] => DgGvpcO_Ng0
    [embed_code] => <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&modestbranding=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
    [detected_duration] => 0:42
    [video_type] => url
    [manual_duration] => 
    [title] => Add Bootstrap 5 To Rails 7 In 1 Minute
    [course_id] => 22
    [description] => this is a computer course...
    [category_name] => Data Science
    [is_published] => 1
    [content_types] => Array
        (
            [0] => quiz
        )

    [ajax] => 1
)

[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 RECEIVED FILES: Array
(
    [video] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

    [thumbnail] => Array
        (
            [name] => 
            [type] => 
            [tmp_name] => 
            [error] => 4
            [size] => 0
        )

)

[20-Jan-2026 15:30:15 Europe/Berlin] 🚀 === VIDEO UPLOAD PROCESS STARTED ===
[20-Jan-2026 15:30:15 Europe/Berlin] 📥 REQUEST METHOD: POST
[20-Jan-2026 15:30:15 Europe/Berlin] 📥 POST DATA SIZE: 16 fields
[20-Jan-2026 15:30:15 Europe/Berlin] 📂 FILES DATA SIZE: 2 files
[20-Jan-2026 15:30:15 Europe/Berlin] 📋 ALL POST DATA:
[20-Jan-2026 15:30:15 Europe/Berlin]   form_type: video_upload
[20-Jan-2026 15:30:15 Europe/Berlin]   teacher_id: 58
[20-Jan-2026 15:30:15 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=FutaYROXZYfKk1ok
[20-Jan-2026 15:30:15 Europe/Berlin]   detected_platform: youtube
[20-Jan-2026 15:30:15 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[20-Jan-2026 15:30:15 Europe/Berlin]   embed_code: <iframe width="100%" height="315" src="https://www.youtube.com/embed/DgGvpcO_Ng0?rel=0&showinfo=0&mo...
[20-Jan-2026 15:30:15 Europe/Berlin]   detected_duration: 0:42
[20-Jan-2026 15:30:15 Europe/Berlin]   video_type: url
[20-Jan-2026 15:30:15 Europe/Berlin]   manual_duration: 
[20-Jan-2026 15:30:15 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[20-Jan-2026 15:30:15 Europe/Berlin]   course_id: 22
[20-Jan-2026 15:30:15 Europe/Berlin]   description: this is a computer course...
[20-Jan-2026 15:30:15 Europe/Berlin]   category_name: Data Science
[20-Jan-2026 15:30:15 Europe/Berlin]   is_published: 1
[20-Jan-2026 15:30:15 Europe/Berlin]   content_types: [quiz]
[20-Jan-2026 15:30:15 Europe/Berlin]   ajax: 1
[20-Jan-2026 15:30:15 Europe/Berlin] 📂 ALL FILES DATA:
[20-Jan-2026 15:30:15 Europe/Berlin]   video:  (0 bytes, error: 4)
[20-Jan-2026 15:30:15 Europe/Berlin]   thumbnail:  (0 bytes, error: 4)
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 MAIN VIDEO VARIABLES:
[20-Jan-2026 15:30:15 Europe/Berlin]   video_type: url
[20-Jan-2026 15:30:15 Europe/Berlin]   video_url: https://youtu.be/DgGvpcO_Ng0?si=FutaYROXZYfKk1ok
[20-Jan-2026 15:30:15 Europe/Berlin]   detected_platform: youtube
[20-Jan-2026 15:30:15 Europe/Berlin]   video_id_external: DgGvpcO_Ng0
[20-Jan-2026 15:30:15 Europe/Berlin]   embed_code: HAS_VALUE
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 FORM PROCESSING - Teacher ID: 14
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 STARTING FILE/URL PROCESSING
[20-Jan-2026 15:30:15 Europe/Berlin]   video_type: url
[20-Jan-2026 15:30:15 Europe/Berlin]   $_FILES available: YES
[20-Jan-2026 15:30:15 Europe/Berlin]   $_FILES keys: video, thumbnail
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 THUMBNAIL EXTRACTION:
[20-Jan-2026 15:30:15 Europe/Berlin]   platform: youtube
[20-Jan-2026 15:30:15 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[20-Jan-2026 15:30:15 Europe/Berlin]   ✅ FORCED YouTube thumbnail: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 DURATION DEBUG - POST DATA:
[20-Jan-2026 15:30:15 Europe/Berlin]   detected_duration: 0:42
[20-Jan-2026 15:30:15 Europe/Berlin]   manual_duration: 
[20-Jan-2026 15:30:15 Europe/Berlin]   All POST keys: form_type, teacher_id, video_url, detected_platform, video_id_external, embed_code, detected_duration, video_type, manual_duration, title, course_id, description, category_name, is_published, content_types, ajax
[20-Jan-2026 15:30:15 Europe/Berlin] 🎯 FOUND detected_duration field: 0:42
[20-Jan-2026 15:30:15 Europe/Berlin] ✅ Using API-detected duration (PRIORITY 1): 0:42
[20-Jan-2026 15:30:15 Europe/Berlin] 🔍 URL EMBED BIND PARAMS:
[20-Jan-2026 15:30:15 Europe/Berlin]   teacher_id: 14
[20-Jan-2026 15:30:15 Europe/Berlin]   course_id: 22
[20-Jan-2026 15:30:15 Europe/Berlin]   title: Add Bootstrap 5 To Rails 7 In 1 Minute
[20-Jan-2026 15:30:15 Europe/Berlin]   description: this is a computer course...
[20-Jan-2026 15:30:15 Europe/Berlin]   video_type: url
[20-Jan-2026 15:30:15 Europe/Berlin]   thumbnailPath: https://img.youtube.com/vi/DgGvpcO_Ng0/maxresdefault.jpg
[20-Jan-2026 15:30:15 Europe/Berlin]   external_url: https://youtu.be/DgGvpcO_Ng0?si=FutaYROXZYfKk1ok
[20-Jan-2026 15:30:15 Europe/Berlin]   platform: youtube
[20-Jan-2026 15:30:15 Europe/Berlin]   video_id_ext: DgGvpcO_Ng0
[20-Jan-2026 15:30:15 Europe/Berlin]   duration: 0:42
[20-Jan-2026 15:30:15 Europe/Berlin]   is_published: 1
[20-Jan-2026 15:30:15 Europe/Berlin] 🎯 EXECUTING SQL QUERY...
[20-Jan-2026 15:30:15 Europe/Berlin]   SQL prepared successfully
[20-Jan-2026 15:30:15 Europe/Berlin]   About to execute with bound parameters
[20-Jan-2026 15:30:15 Europe/Berlin] ✅ SQL EXECUTION SUCCESS!
[20-Jan-2026 15:30:15 Europe/Berlin]   Generated video_id: 57
[20-Jan-2026 15:30:18 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:18 Europe/Berlin] Teacher Auth Check - Script: videos.php
[20-Jan-2026 15:30:18 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:18 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:18 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:18 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:18 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:18 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:18 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:18 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 15:30:19 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:19 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:30:19 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:19 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:19 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:19 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:19 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:19 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:19 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:19 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:19 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:30:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:34 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[20-Jan-2026 15:30:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:34 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:34 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:34 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:34 UTC] isLoggedIn check result: true
[20-Jan-2026 14:30:34 UTC] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 14:30:34 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[20-Jan-2026 14:30:34 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:37 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:37 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:30:37 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:37 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:37 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:37 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:37 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:37 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:37 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:37 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:37 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:30:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:45 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[20-Jan-2026 15:30:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:45 UTC] isLoggedIn check result: true
[20-Jan-2026 14:30:45 UTC] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 14:30:45 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[20-Jan-2026 14:30:45 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:30:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:30:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:30:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:30:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:30:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:30:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:30:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:30:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:31:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:31:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:31:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:31:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:31:15 Europe/Berlin] Session role: not set
[20-Jan-2026 15:31:15 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:31:15 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:31:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:31:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:31:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:31:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:31:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:31:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:31:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:31:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:31:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:31:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:31:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:32:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:32:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:15 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:15 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:15 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:32:31 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:31 Europe/Berlin] Teacher Auth Check - Script: create_quiz.php
[20-Jan-2026 15:32:31 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:31 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:31 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:31 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:31 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:31 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:31 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:31 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:31 UTC] isLoggedIn check result: true
[20-Jan-2026 14:32:31 UTC] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 14:32:31 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[20-Jan-2026 14:32:31 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:32:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:32 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:32 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:32 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:32:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:34 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[20-Jan-2026 15:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:34 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:34 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:34 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:34 UTC] isLoggedIn check result: true
[20-Jan-2026 14:32:34 UTC] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 14:32:34 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[20-Jan-2026 14:32:34 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:32:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:34 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:34 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:34 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:32:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:44 Europe/Berlin] Teacher Auth Check - Script: quizzes.php
[20-Jan-2026 15:32:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:44 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:44 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:44 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:44 UTC] isLoggedIn check result: true
[20-Jan-2026 14:32:44 UTC] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 14:32:44 UTC] 🔐 ROLE CHECK - Required: teacher, User: teacher
[20-Jan-2026 14:32:44 UTC] 🔐 SESSION DATA: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:32:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:32:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:32:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768919235
    [last_regeneration] => 1768919235
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768919235
    [session_started_at] => 2026-01-20 15:27:16
    [login_redirect_count] => 0
)

[20-Jan-2026 15:32:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:32:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:32:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:32:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:32:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:50:01 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:50:01 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:50:01 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
)

[20-Jan-2026 15:50:01 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
)

[20-Jan-2026 15:50:01 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:01 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
)

[20-Jan-2026 15:50:01 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:50:01 Europe/Berlin] Session role: not set
[20-Jan-2026 15:50:01 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:50:01 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:50:01 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:50:01 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:50:01 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:50:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:50:02 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:50:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:02 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:02 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:50:02 Europe/Berlin] Session role: not set
[20-Jan-2026 15:50:02 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:50:02 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:50:02 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:50:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:50:32 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:50:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:32 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:50:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920600
    [last_regeneration] => 1768920600
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920600
    [session_started_at] => 2026-01-20 15:50:01
    [login_redirect_count] => 0
)

[20-Jan-2026 15:50:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:50:32 Europe/Berlin] Session role: not set
[20-Jan-2026 15:50:32 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:50:32 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:50:32 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:51:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:51:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:51:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-20 15:51:03
)

[20-Jan-2026 15:51:03 Europe/Berlin] isLoggedIn check result: false
[20-Jan-2026 15:51:03 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-20 15:51:03
)

[20-Jan-2026 15:53:08 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:53:08 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:53:08 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
)

[20-Jan-2026 15:53:08 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
)

[20-Jan-2026 15:53:08 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:08 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
)

[20-Jan-2026 15:53:08 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:53:08 Europe/Berlin] Session role: not set
[20-Jan-2026 15:53:08 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:53:08 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:53:08 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:53:08 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:53:08 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:53:09 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:53:09 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:53:09 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:09 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:09 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:09 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:09 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:53:09 Europe/Berlin] Session role: not set
[20-Jan-2026 15:53:09 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:53:09 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:53:09 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:53:13 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:53:13 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[20-Jan-2026 15:53:13 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:13 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:13 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:13 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:13 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:53:13 Europe/Berlin] Session role: not set
[20-Jan-2026 15:53:13 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:53:13 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 15:53:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:53:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:53:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:14 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:14 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:53:14 Europe/Berlin] Session role: not set
[20-Jan-2026 15:53:14 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:53:14 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:53:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:53:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:53:44 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:53:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:44 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:53:44 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:53:44 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:53:44 Europe/Berlin] Session role: not set
[20-Jan-2026 15:53:44 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:53:44 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:53:44 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:54:15 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:54:15 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:54:15 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:54:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:15 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:54:15 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:15 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:54:15 Europe/Berlin] Session role: not set
[20-Jan-2026 15:54:15 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:54:15 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:54:15 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:54:45 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:54:45 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:54:45 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:45 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:54:45 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:54:45 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:54:45 Europe/Berlin] Session role: not set
[20-Jan-2026 15:54:45 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:54:45 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:54:45 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:55:07 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:55:07 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[20-Jan-2026 15:55:07 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:07 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:07 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:07 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:07 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:55:07 Europe/Berlin] Session role: not set
[20-Jan-2026 15:55:07 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:55:07 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:55:07 UTC] Analytics: Looking for courses for teacher ID: 58
[20-Jan-2026 14:55:07 UTC] Analytics: No courses found for teacher 58
[20-Jan-2026 14:55:07 UTC] Analytics: Teacher has 1 total courses in database
[20-Jan-2026 14:55:07 UTC] Analytics: Final top_courses count: 0
[20-Jan-2026 14:55:07 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[20-Jan-2026 14:55:07 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[20-Jan-2026 15:55:14 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:55:14 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:55:14 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:14 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:14 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:14 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:14 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:55:14 Europe/Berlin] Session role: not set
[20-Jan-2026 15:55:14 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:55:14 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:55:14 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:55:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:55:40 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:55:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:55:40 Europe/Berlin] Session role: not set
[20-Jan-2026 15:55:40 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:55:40 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:55:40 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:55:40 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:55:40 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:55:40 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:55:40 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:55:40 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:55:40 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:55:40 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:55:40 Europe/Berlin] Session role: not set
[20-Jan-2026 15:55:40 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:55:40 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:55:40 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:56:02 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:56:02 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:56:02 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:02 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:02 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:02 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:02 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:56:02 Europe/Berlin] Session role: not set
[20-Jan-2026 15:56:02 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:56:02 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:56:02 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:56:02 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:56:02 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:56:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:56:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:56:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:03 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:03 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:56:03 Europe/Berlin] Session role: not set
[20-Jan-2026 15:56:03 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:56:03 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:56:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:56:33 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:56:33 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:56:33 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:33 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:33 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:56:33 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:56:33 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:56:33 Europe/Berlin] Session role: not set
[20-Jan-2026 15:56:33 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:56:33 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:56:33 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:57:03 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:03 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:57:03 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:03 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:03 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:03 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:03 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:03 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:03 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:03 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:03 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:57:05 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:05 Europe/Berlin] Teacher Auth Check - Script: analytics.php
[20-Jan-2026 15:57:05 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:05 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:05 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:05 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:05 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:05 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:05 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:05 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:05 UTC] Analytics: Looking for courses for teacher ID: 58
[20-Jan-2026 14:57:05 UTC] Analytics: No courses found for teacher 58
[20-Jan-2026 14:57:05 UTC] Analytics: Teacher has 1 total courses in database
[20-Jan-2026 14:57:05 UTC] Analytics: Final top_courses count: 0
[20-Jan-2026 14:57:05 UTC] Prepare statement failed in analytics.php: Unknown column 'c.views' in 'field list'
[20-Jan-2026 14:57:05 UTC] Prepare statement failed in analytics.php geo distribution query: Unknown column 'u.country' in 'field list'
[20-Jan-2026 15:57:06 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:06 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:57:06 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:06 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:06 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:06 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:06 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:06 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:06 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:06 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:06 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:57:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:35 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:57:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:35 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:35 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:35 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:35 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:35 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:35 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:35 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:35 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[20-Jan-2026 15:57:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:46 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[20-Jan-2026 15:57:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:46 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:46 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:46 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:46 UTC] Fetching videos for teacher_id: 58
[20-Jan-2026 14:57:46 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[20-Jan-2026 14:57:46 UTC] Found 0 videos for teacher 58
[20-Jan-2026 15:57:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[20-Jan-2026 15:57:46 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[20-Jan-2026 15:57:46 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] isLoggedIn check result: true
[20-Jan-2026 15:57:46 Europe/Berlin] Session data: Array
(
    [created_at] => 1768920788
    [last_regeneration] => 1768920788
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1768920788
    [session_started_at] => 2026-01-20 15:53:08
    [login_redirect_count] => 0
)

[20-Jan-2026 15:57:46 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[20-Jan-2026 15:57:46 Europe/Berlin] Session role: not set
[20-Jan-2026 15:57:46 Europe/Berlin] Session user_role: teacher
[20-Jan-2026 14:57:46 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[20-Jan-2026 14:57:46 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[24-Jan-2026 14:52:58 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[24-Jan-2026 14:52:58 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[24-Jan-2026 14:52:58 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-24 14:52:58
)

[24-Jan-2026 14:52:58 Europe/Berlin] isLoggedIn check result: false
[24-Jan-2026 14:52:58 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-24 14:52:58
)

[25-Jan-2026 11:40:25 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[25-Jan-2026 11:40:25 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[25-Jan-2026 11:40:25 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-01-25 11:40:25
)

[25-Jan-2026 11:40:25 Europe/Berlin] isLoggedIn check result: false
[25-Jan-2026 11:40:25 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-01-25 11:40:25
)

[01-Feb-2026 15:08:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[01-Feb-2026 15:08:17 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[01-Feb-2026 15:08:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-01 15:08:17
)

[01-Feb-2026 15:08:17 Europe/Berlin] isLoggedIn check result: false
[01-Feb-2026 15:08:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-01 15:08:17
)

[02-Feb-2026 18:17:50 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[02-Feb-2026 18:17:50 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[02-Feb-2026 18:17:50 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1770052641
    [last_regeneration] => 1770052641
    [session_started_at] => 2026-02-02 18:17:50
)

[02-Feb-2026 18:17:50 Europe/Berlin] isLoggedIn check result: false
[02-Feb-2026 18:17:50 Europe/Berlin] Session data: Array
(
    [created_at] => 1770052641
    [last_regeneration] => 1770052641
    [session_started_at] => 2026-02-02 18:17:50
)

[04-Feb-2026 21:03:57 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[04-Feb-2026 21:03:57 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[04-Feb-2026 21:03:57 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-04 21:03:57
)

[04-Feb-2026 21:03:57 Europe/Berlin] isLoggedIn check result: false
[04-Feb-2026 21:03:57 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-04 21:03:57
)

[05-Feb-2026 08:15:52 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[05-Feb-2026 08:15:52 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[05-Feb-2026 08:15:52 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-05 08:15:52
)

[05-Feb-2026 08:15:52 Europe/Berlin] isLoggedIn check result: false
[05-Feb-2026 08:15:52 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-05 08:15:52
)

[06-Feb-2026 23:15:48 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[06-Feb-2026 23:15:48 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[06-Feb-2026 23:15:48 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-06 23:14:48
    [created_at] => 1770416093
    [last_regeneration] => 1770416093
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[06-Feb-2026 23:15:48 Europe/Berlin] isLoggedIn check result: false
[06-Feb-2026 23:15:48 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-06 23:14:48
    [created_at] => 1770416093
    [last_regeneration] => 1770416093
    [stored_redirect] => ../student/library.php
    [redirect_to_cart] => 
)

[09-Feb-2026 00:47:42 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[09-Feb-2026 00:47:42 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[09-Feb-2026 00:47:42 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-09 00:44:42
    [created_at] => 1770594282
    [last_regeneration] => 1770594282
    [stored_redirect] => /student/library.php
    [redirect_to_cart] => 
)

[09-Feb-2026 00:47:42 Europe/Berlin] isLoggedIn check result: false
[09-Feb-2026 00:47:42 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-09 00:44:42
    [created_at] => 1770594282
    [last_regeneration] => 1770594282
    [stored_redirect] => /student/library.php
    [redirect_to_cart] => 
)

[11-Feb-2026 04:16:23 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Feb-2026 04:16:23 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[11-Feb-2026 04:16:23 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-11 04:16:23
)

[11-Feb-2026 04:16:23 Europe/Berlin] isLoggedIn check result: false
[11-Feb-2026 04:16:23 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-11 04:16:23
)

[11-Feb-2026 21:19:53 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[11-Feb-2026 21:19:53 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[11-Feb-2026 21:19:53 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-11 21:19:53
)

[11-Feb-2026 21:19:53 Europe/Berlin] isLoggedIn check result: false
[11-Feb-2026 21:19:53 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-11 21:19:53
)

[15-Feb-2026 12:55:22 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Feb-2026 12:55:22 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[15-Feb-2026 12:55:22 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-15 12:55:22
)

[15-Feb-2026 12:55:22 Europe/Berlin] isLoggedIn check result: false
[15-Feb-2026 12:55:22 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-15 12:55:22
)

[15-Feb-2026 18:02:17 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Feb-2026 18:02:17 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[15-Feb-2026 18:02:17 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-15 18:02:17
)

[15-Feb-2026 18:02:17 Europe/Berlin] isLoggedIn check result: false
[15-Feb-2026 18:02:17 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-15 18:02:17
)

[15-Feb-2026 18:02:35 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[15-Feb-2026 18:02:35 Europe/Berlin] Teacher Auth Check - Script: request-withdrawal.php
[15-Feb-2026 18:02:35 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-15 18:02:35
)

[15-Feb-2026 18:02:35 Europe/Berlin] isLoggedIn check result: false
[15-Feb-2026 18:02:35 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-15 18:02:35
)

[17-Feb-2026 06:44:11 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[17-Feb-2026 06:44:11 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[17-Feb-2026 06:44:11 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-17 06:44:11
)

[17-Feb-2026 06:44:11 Europe/Berlin] isLoggedIn check result: false
[17-Feb-2026 06:44:11 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-17 06:44:11
)

[21-Feb-2026 00:42:44 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Feb-2026 00:42:44 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Feb-2026 00:42:44 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-21 00:42:44
)

[21-Feb-2026 00:42:44 Europe/Berlin] isLoggedIn check result: false
[21-Feb-2026 00:42:44 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-21 00:42:44
)

[21-Feb-2026 01:15:46 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Feb-2026 01:15:47 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Feb-2026 01:15:47 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-21 01:15:46
)

[21-Feb-2026 01:15:47 Europe/Berlin] isLoggedIn check result: false
[21-Feb-2026 01:15:47 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-21 01:15:46
)

[21-Feb-2026 01:15:51 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Feb-2026 01:15:51 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Feb-2026 01:15:51 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-21 01:15:51
)

[21-Feb-2026 01:15:51 Europe/Berlin] isLoggedIn check result: false
[21-Feb-2026 01:15:51 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-21 01:15:51
)

[21-Feb-2026 01:15:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Feb-2026 01:15:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Feb-2026 01:15:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-21 01:15:54
)

[21-Feb-2026 01:15:54 Europe/Berlin] isLoggedIn check result: false
[21-Feb-2026 01:15:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-21 01:15:54
)

[21-Feb-2026 01:15:54 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[21-Feb-2026 01:15:54 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[21-Feb-2026 01:15:54 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-21 01:15:54
)

[21-Feb-2026 01:15:54 Europe/Berlin] isLoggedIn check result: false
[21-Feb-2026 01:15:54 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-21 01:15:54
)

[26-Feb-2026 04:33:20 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[26-Feb-2026 04:33:20 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[26-Feb-2026 04:33:20 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [session_started_at] => 2026-02-26 04:33:20
)

[26-Feb-2026 04:33:20 Europe/Berlin] isLoggedIn check result: false
[26-Feb-2026 04:33:20 Europe/Berlin] Session data: Array
(
    [session_started_at] => 2026-02-26 04:33:20
)

[27-Feb-2026 17:25:32 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Feb-2026 17:25:32 Europe/Berlin] Teacher Auth Check - Script: dashboard.php
[27-Feb-2026 17:25:32 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
)

[27-Feb-2026 17:25:32 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
)

[27-Feb-2026 17:25:32 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:25:32 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
)

[27-Feb-2026 17:25:32 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Feb-2026 17:25:32 Europe/Berlin] Session role: not set
[27-Feb-2026 17:25:32 Europe/Berlin] Session user_role: teacher
[27-Feb-2026 16:25:32 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[27-Feb-2026 16:25:32 UTC] Fetching videos for teacher_id: 58
[27-Feb-2026 16:25:32 UTC] Videos query: SELECT * FROM videos WHERE teacher_id = ? ORDER BY created_at DESC LIMIT ?
[27-Feb-2026 16:25:32 UTC] Found 0 videos for teacher 58
[27-Feb-2026 17:25:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Feb-2026 17:25:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[27-Feb-2026 17:25:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:25:34 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:25:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:25:34 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:25:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:25:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Feb-2026 17:25:34 Europe/Berlin] Session role: not set
[27-Feb-2026 17:25:34 Europe/Berlin] Session user_role: teacher
[27-Feb-2026 16:25:34 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[27-Feb-2026 16:25:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[27-Feb-2026 17:26:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Feb-2026 17:26:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[27-Feb-2026 17:26:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:04 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:04 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:26:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Feb-2026 17:26:04 Europe/Berlin] Session role: not set
[27-Feb-2026 17:26:04 Europe/Berlin] Session user_role: teacher
[27-Feb-2026 16:26:04 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[27-Feb-2026 16:26:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[27-Feb-2026 17:26:34 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Feb-2026 17:26:34 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[27-Feb-2026 17:26:34 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:34 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:34 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:26:34 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:26:34 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Feb-2026 17:26:34 Europe/Berlin] Session role: not set
[27-Feb-2026 17:26:34 Europe/Berlin] Session user_role: teacher
[27-Feb-2026 16:26:34 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[27-Feb-2026 16:26:34 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
[27-Feb-2026 17:27:04 Europe/Berlin] DEBUG - Dashboard session save path set to: /tmp
[27-Feb-2026 17:27:04 Europe/Berlin] Teacher Auth Check - Script: notifications.php
[27-Feb-2026 17:27:04 Europe/Berlin] Teacher Auth Check - Session: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:27:04 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:27:04 Europe/Berlin] isLoggedIn check result: true
[27-Feb-2026 17:27:04 Europe/Berlin] Session data: Array
(
    [created_at] => 1772209521
    [last_regeneration] => 1772209521
    [user_id] => 58
    [username] => webectaklink
    [email] => alainkitumaini8@gmail.com
    [first_name] => Delpher
    [last_name] => Hope
    [user_role] => teacher
    [logged_in] => 1
    [is_logged_in] => 1
    [login_time] => 1772209521
    [session_started_at] => 2026-02-27 17:25:32
    [login_redirect_count] => 0
)

[27-Feb-2026 17:27:04 Europe/Berlin] hasPermission check - Required: teacher, User: teacher
[27-Feb-2026 17:27:04 Europe/Berlin] Session role: not set
[27-Feb-2026 17:27:04 Europe/Berlin] Session user_role: teacher
[27-Feb-2026 16:27:04 UTC] 🔔 Navbar Debug - User ID: 58, Count: 1
[27-Feb-2026 16:27:04 UTC] Error 2: Cannot modify header information - headers already sent by (output started at /home/twpurnyc/public_html/teacher/components/teacher_layout.php:67) in /home/twpurnyc/public_html/teacher/notifications.php on line 30
